OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:bytesToWrite
(Results
1 - 4
of
4
) sorted by null
/external/clang/lib/Basic/
ConvertUTF.c
229
unsigned short
bytesToWrite
= 0;
263
if (ch < (UTF32)0x80) {
bytesToWrite
= 1;
264
} else if (ch < (UTF32)0x800) {
bytesToWrite
= 2;
265
} else if (ch < (UTF32)0x10000) {
bytesToWrite
= 3;
266
} else if (ch < (UTF32)0x110000) {
bytesToWrite
= 4;
267
} else {
bytesToWrite
= 3;
271
target +=
bytesToWrite
;
274
target -=
bytesToWrite
; result = targetExhausted; break;
276
switch (
bytesToWrite
) { /* note: everything falls through. */
280
case 1: *--target = (UTF8)(ch | firstByteMark[
bytesToWrite
]);
[
all
...]
/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
...]
/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/clang/lib/Lex/
LiteralSupport.cpp
271
unsigned short
bytesToWrite
= 0;
273
bytesToWrite
= 1;
275
bytesToWrite
= 2;
277
bytesToWrite
= 3;
279
bytesToWrite
= 4;
290
ResultBuf +=
bytesToWrite
;
291
switch (
bytesToWrite
) { // note: everything falls through.
295
case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[
bytesToWrite
]);
298
ResultBuf +=
bytesToWrite
;
[
all
...]
Completed in 1938 milliseconds