Searched refs:bytesToWrite (Results 1 - 3 of 3) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3convertutf.c213 unsigned short bytesToWrite = 0; local
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]);
410 unsigned short bytesToWrite = 0; local
[all...]
/external/clang/lib/Basic/
H A DConvertUTF.c228 unsigned short bytesToWrite = 0; local
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]);
298 unsigned short bytesToWrite = 0; local
[all...]
/external/webkit/Source/JavaScriptCore/wtf/unicode/
H A DUTF8.cpp137 unsigned short bytesToWrite = 0; local
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...]

Completed in 102 milliseconds