OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:bytestowrite
(Results
1 - 9
of
9
) sorted by null
/external/antlr/antlr-3.4/runtime/C/src/
antlr3convertutf.c
213
unsigned short
bytesToWrite
= 0;
247
if (ch < (UTF32)0x80) {
bytesToWrite
= 1;
248
} else if (ch < (UTF32)0x800) {
bytesToWrite
= 2;
249
} else if (ch < (UTF32)0x10000) {
bytesToWrite
= 3;
250
} else if (ch < (UTF32)0x110000) {
bytesToWrite
= 4;
251
} else {
bytesToWrite
= 3;
255
target +=
bytesToWrite
;
258
target -=
bytesToWrite
; result = targetExhausted; break;
260
switch (
bytesToWrite
) { /* note: everything falls through. */
264
case 1: *--target = (UTF8)(ch | firstByteMark[
bytesToWrite
]);
[
all
...]
/external/llvm/lib/Support/
ConvertUTF.c
228
unsigned short
bytesToWrite
= 0;
262
if (ch < (UTF32)0x80) {
bytesToWrite
= 1;
263
} else if (ch < (UTF32)0x800) {
bytesToWrite
= 2;
264
} else if (ch < (UTF32)0x10000) {
bytesToWrite
= 3;
265
} else if (ch < (UTF32)0x110000) {
bytesToWrite
= 4;
266
} else {
bytesToWrite
= 3;
270
target +=
bytesToWrite
;
273
target -=
bytesToWrite
; result = targetExhausted; break;
275
switch (
bytesToWrite
) { /* note: everything falls through. */
279
case 1: *--target = (UTF8)(ch | firstByteMark[
bytesToWrite
]);
[
all
...]
raw_ostream.cpp
307
size_t
BytesToWrite
= Size - (Size % NumBytes);
308
write_impl(Ptr,
BytesToWrite
);
309
size_t BytesRemaining = Size -
BytesToWrite
;
312
return write(Ptr +
BytesToWrite
, BytesRemaining);
314
copy_to_buffer(Ptr +
BytesToWrite
, BytesRemaining);
/external/webkit/Source/JavaScriptCore/wtf/unicode/
UTF8.cpp
137
unsigned short
bytesToWrite
= 0;
171
bytesToWrite
= 1;
173
bytesToWrite
= 2;
175
bytesToWrite
= 3;
177
bytesToWrite
= 4;
179
bytesToWrite
= 3;
183
target +=
bytesToWrite
;
186
target -=
bytesToWrite
;
190
switch (
bytesToWrite
) { // note: everything falls through.
194
case 1: *--target = (char)(ch | firstByteMark[
bytesToWrite
]);
[
all
...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SerializedFrame.java
70
private final void ensureFit(int
bytesToWrite
) {
71
if (mOffset +
bytesToWrite
> mBuffer.length) {
73
mBuffer = new byte[Math.max(mOffset +
bytesToWrite
, mBuffer.length * 2)];
/development/samples/TtsEngine/src/com/example/android/ttsengine/
RobotSpeakTtsService.java
283
int
bytesToWrite
= Math.min(maxBufferSize, mAudioBuffer.length - offset);
284
cb.audioAvailable(mAudioBuffer, offset,
bytesToWrite
);
285
offset +=
bytesToWrite
;
/external/libnfc-nxp/src/
phFriNfc_MifareULMap.c
[
all
...]
phFriNfc_MifareStdMap.c
[
all
...]
/external/clang/lib/Lex/
LiteralSupport.cpp
381
unsigned short
bytesToWrite
= 0;
383
bytesToWrite
= 1;
385
bytesToWrite
= 2;
387
bytesToWrite
= 3;
389
bytesToWrite
= 4;
400
ResultBuf +=
bytesToWrite
;
401
switch (
bytesToWrite
) { // note: everything falls through.
405
case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[
bytesToWrite
]);
408
ResultBuf +=
bytesToWrite
;
[
all
...]
Completed in 663 milliseconds