/external/google-breakpad/src/common/ |
D | convert_UTF.c | 240 unsigned short bytesToWrite = 0; in ConvertUTF16toUTF8() local 274 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF16toUTF8() 275 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF16toUTF8() 276 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF16toUTF8() 277 } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; in ConvertUTF16toUTF8() 278 } else { bytesToWrite = 3; in ConvertUTF16toUTF8() 282 target += bytesToWrite; in ConvertUTF16toUTF8() 285 target -= bytesToWrite; result = targetExhausted; break; in ConvertUTF16toUTF8() 287 switch (bytesToWrite) { /* note: everything falls through. */ in ConvertUTF16toUTF8() 291 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8() [all …]
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3convertutf.c | 213 unsigned short bytesToWrite = 0; in ConvertUTF16toUTF8() local 247 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF16toUTF8() 248 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF16toUTF8() 249 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF16toUTF8() 250 } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; in ConvertUTF16toUTF8() 251 } else { bytesToWrite = 3; in ConvertUTF16toUTF8() 255 target += bytesToWrite; in ConvertUTF16toUTF8() 258 target -= bytesToWrite; result = targetExhausted; break; in ConvertUTF16toUTF8() 260 switch (bytesToWrite) { /* note: everything falls through. */ in ConvertUTF16toUTF8() 264 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8() [all …]
|
/external/unicode/ |
D | ConvertUTF.c | 222 unsigned short bytesToWrite = 0; in ConvertUTF16toUTF8() local 266 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF16toUTF8() 267 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF16toUTF8() 268 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF16toUTF8() 269 } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; in ConvertUTF16toUTF8() 270 } else { bytesToWrite = 3; in ConvertUTF16toUTF8() 274 target += bytesToWrite; in ConvertUTF16toUTF8() 277 target -= bytesToWrite; result = targetExhausted; break; in ConvertUTF16toUTF8() 279 switch (bytesToWrite) { /* note: everything falls through. */ in ConvertUTF16toUTF8() 283 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8() [all …]
|
/external/llvm/lib/Support/ |
D | ConvertUTF.c | 229 unsigned short bytesToWrite = 0; in ConvertUTF16toUTF8() local 263 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF16toUTF8() 264 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF16toUTF8() 265 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF16toUTF8() 266 } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; in ConvertUTF16toUTF8() 267 } else { bytesToWrite = 3; in ConvertUTF16toUTF8() 271 target += bytesToWrite; in ConvertUTF16toUTF8() 274 target -= bytesToWrite; result = targetExhausted; break; in ConvertUTF16toUTF8() 276 switch (bytesToWrite) { /* note: everything falls through. */ in ConvertUTF16toUTF8() 280 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | ConvertUTF.cpp | 229 unsigned short bytesToWrite = 0; in ConvertUTF16toUTF8() local 263 if (ch < (UTF32)0x80) { bytesToWrite = 1; in ConvertUTF16toUTF8() 264 } else if (ch < (UTF32)0x800) { bytesToWrite = 2; in ConvertUTF16toUTF8() 265 } else if (ch < (UTF32)0x10000) { bytesToWrite = 3; in ConvertUTF16toUTF8() 266 } else if (ch < (UTF32)0x110000) { bytesToWrite = 4; in ConvertUTF16toUTF8() 267 } else { bytesToWrite = 3; in ConvertUTF16toUTF8() 271 target += bytesToWrite; in ConvertUTF16toUTF8() 274 target -= bytesToWrite; result = targetExhausted; break; in ConvertUTF16toUTF8() 276 switch (bytesToWrite) { /* note: everything falls through. */ in ConvertUTF16toUTF8() 280 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8() [all …]
|
/external/rappor/client/java/com/google/android/rappor/ |
D | HmacDrbg.java | 191 int bytesToWrite = Math.min(count - bytesWritten, DIGEST_NUM_BYTES); in hmacDrbgGenerate() local 192 System.arraycopy(value, 0, out, start + bytesWritten, bytesToWrite); in hmacDrbgGenerate() 193 bytesWritten += bytesToWrite; in hmacDrbgGenerate() 240 int bytesToWrite = Math.min(count - bytesWritten, MAX_BYTES_PER_REQUEST); in nextBytes() local 241 hmacDrbgGenerate(out, start + bytesWritten, bytesToWrite); in nextBytes() 242 bytesWritten += bytesToWrite; in nextBytes()
|
/external/v8/src/inspector/ |
D | string-16.cc | 88 uint32_t bytesToWrite = 0; in convertUTF16ToUTF8() local 123 bytesToWrite = 1; in convertUTF16ToUTF8() 125 bytesToWrite = 2; in convertUTF16ToUTF8() 127 bytesToWrite = 3; in convertUTF16ToUTF8() 129 bytesToWrite = 4; in convertUTF16ToUTF8() 131 bytesToWrite = 3; in convertUTF16ToUTF8() 135 target += bytesToWrite; in convertUTF16ToUTF8() 138 target -= bytesToWrite; in convertUTF16ToUTF8() 142 switch (bytesToWrite) { // note: everything falls through. in convertUTF16ToUTF8() 153 *--target = static_cast<char>(ch | firstByteMark[bytesToWrite]); in convertUTF16ToUTF8() [all …]
|
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
D | BufferPerformanceBench.java | 296 int bytesToWrite = Math.min(remaining, chunkSize); in writeChunked() local 297 buffer.write(bytes, offset, bytesToWrite); in writeChunked() 298 remaining -= bytesToWrite; in writeChunked() 299 offset += bytesToWrite; in writeChunked()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 425 unsigned short bytesToWrite = 0; in EncodeUCNEscape() local 427 bytesToWrite = 1; in EncodeUCNEscape() 429 bytesToWrite = 2; in EncodeUCNEscape() 431 bytesToWrite = 3; in EncodeUCNEscape() 433 bytesToWrite = 4; in EncodeUCNEscape() 444 ResultBuf += bytesToWrite; in EncodeUCNEscape() 445 switch (bytesToWrite) { // note: everything falls through. in EncodeUCNEscape() 449 case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); in EncodeUCNEscape() 452 ResultBuf += bytesToWrite; in EncodeUCNEscape()
|
/external/brotli/java/org/brotli/dec/ |
D | Decode.java | 553 s.bytesToWrite = s.pos; in readNextMetablockHeader() 677 s.bytesToWrite = s.ringBufferSize; in copyUncompressedData() 689 s.bytesToWrite - s.bytesWritten); in writeRingBuffer() 793 s.bytesToWrite = s.ringBufferSize; in decompress() 819 s.bytesToWrite = s.ringBufferSize; in decompress() 913 s.bytesToWrite = s.ringBufferSize; in decompress() 943 s.bytesToWrite = s.ringBufferSize; in decompress()
|
D | State.java | 75 int bytesToWrite; field in State
|
/external/brotli/csharp/org/brotli/dec/ |
D | Decode.cs | 508 state.bytesToWrite = state.pos; in ReadMetablockInfo() 628 state.bytesToWrite = state.ringBufferSize; in CopyUncompressedData() 645 …int toWrite = System.Math.Min(state.outputLength - state.outputUsed, state.bytesToWrite - state.by… in WriteRingBuffer() 750 state.bytesToWrite = state.ringBufferSize; in Decompress() 778 state.bytesToWrite = state.ringBufferSize; in Decompress() 878 state.bytesToWrite = state.ringBufferSize; in Decompress() 912 state.bytesToWrite = state.ringBufferSize; in Decompress()
|
D | State.cs | 110 internal int bytesToWrite; field in Org.Brotli.Dec.State
|
/external/brotli/js/ |
D | decode.js | 581 s.bytesToWrite = s.pos; 708 s.bytesToWrite = s.ringBufferSize; 721 … var /** !number */ toWrite = min(s.outputLength - s.outputUsed, s.bytesToWrite - s.bytesWritten); 834 s.bytesToWrite = s.ringBufferSize; 862 s.bytesToWrite = s.ringBufferSize; 954 s.bytesToWrite = s.ringBufferSize; 981 s.bytesToWrite = s.ringBufferSize; 1590 this.bytesToWrite = 0;
|
/external/curl/tests/python_dependencies/impacket/ |
D | smb3.py | 1027 def write(self, treeId, fileId, data, offset = 0, bytesToWrite = 0, waitAnswer = True): argument 1042 if self._Connection['MaxWriteSize'] < bytesToWrite: 1045 maxBytesToWrite = bytesToWrite 1050 maxBytesToWrite = min(65536,bytesToWrite) 1069 if bytesWritten < bytesToWrite: 1070 … self.write(treeId, fileId, data[bytesWritten:], offset+bytesWritten, bytesToWrite-bytesWritten, w…
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ConscryptEngine.java | 1057 int bytesToWrite = min(len, buffer.remaining()); 1058 src.limit(pos + bytesToWrite); 1065 return writePlaintextDataDirect(buffer, 0, bytesToWrite);
|
/external/expat/lib/ |
D | xmlparse.c | 690 const size_t bytesToWrite = count - bytesWrittenTotal; in writeRandomBytes_getrandom_nonblock() local 694 getrandom(currentTarget, bytesToWrite, getrandomFlags); in writeRandomBytes_getrandom_nonblock() 696 syscall(SYS_getrandom, currentTarget, bytesToWrite, getrandomFlags); in writeRandomBytes_getrandom_nonblock() 727 const size_t bytesToWrite = count - bytesWrittenTotal; in writeRandomBytes_dev_urandom() local 729 const ssize_t bytesWrittenMore = read(fd, currentTarget, bytesToWrite); in writeRandomBytes_dev_urandom()
|
/external/v8/tools/profviz/ |
D | gnuplot-4.6.3-emscripten.js | 1551 var bytesToWrite = nitems * size; 1552 if (bytesToWrite == 0) return 0; 1553 var bytesWritten = _write(stream, ptr, bytesToWrite);
|