HomeSort by relevance Sort by last modified time
    Searched defs:bytesToWrite (Results 1 - 7 of 7) 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/chromium_org/third_party/WebKit/Source/wtf/unicode/
UTF8.cpp 137 unsigned short bytesToWrite = 0;
145 bytesToWrite = 1;
147 bytesToWrite = 2;
149 target += bytesToWrite;
152 target -= bytesToWrite;
156 switch (bytesToWrite) { // note: everything falls through.
161 *--target = (char)(ch | firstByteMark[bytesToWrite]);
163 target += bytesToWrite;
179 unsigned short bytesToWrite = 0;
213 bytesToWrite = 1
    [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...]
  /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 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...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapObexServer.java 453 int maxChunkSize, bytesToWrite, bytesWritten = 0, listSize;
518 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten);
519 outStream.write(outBytes, bytesWritten, bytesToWrite);
520 bytesWritten += bytesToWrite;
565 int bytesToWrite, maxListCount, listStartOffset;
608 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten);
609 outStream.write(outBytes, bytesWritten, bytesToWrite);
610 bytesWritten += bytesToWrite;
650 int maxChunkSize, bytesToWrite, bytesWritten = 0;
670 bytesToWrite = Math.min(maxChunkSize, outBytes.length - bytesWritten)
    [all...]
BluetoothMnsObexClient.java 266 int maxChunkSize, bytesToWrite, bytesWritten = 0;
325 bytesToWrite = Math.min(maxChunkSize, eventBytes.length - bytesWritten);
326 outputStream.write(eventBytes, bytesWritten, bytesToWrite);
327 bytesWritten += bytesToWrite;

Completed in 290 milliseconds