Home
last modified time | relevance | path

Searched refs:outIx (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/common/
Dutrace.cpp93 static void outputChar(char c, char *outBuf, int32_t *outIx, int32_t capacity, int32_t indent) { in outputChar() argument
104 if (*outIx==0 || /* case 1. */ in outputChar()
105 (c!='\n' && c!=0 && *outIx < capacity && outBuf[(*outIx)-1]=='\n') || /* case 2. */ in outputChar()
106 (c=='\n' && *outIx>=capacity)) /* case 3 */ in outputChar()
110 if (*outIx < capacity) { in outputChar()
111 outBuf[*outIx] = ' '; in outputChar()
113 (*outIx)++; in outputChar()
117 if (*outIx < capacity) { in outputChar()
118 outBuf[*outIx] = c; in outputChar()
124 (*outIx)++; in outputChar()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java689 int outIx = out.position(); in encodeUtf8Default() local
699 out.put(outIx + inIx, (byte) c); in encodeUtf8Default()
703 out.position(outIx + inIx); in encodeUtf8Default()
707 outIx += inIx; in encodeUtf8Default()
708 for (char c; inIx < inLength; ++inIx, ++outIx) { in encodeUtf8Default()
712 out.put(outIx, (byte) c); in encodeUtf8Default()
717 out.put(outIx++, (byte) (0xC0 | (c >>> 6))); in encodeUtf8Default()
718 out.put(outIx, (byte) (0x80 | (0x3F & c))); in encodeUtf8Default()
724 out.put(outIx++, (byte) (0xE0 | (c >>> 12))); in encodeUtf8Default()
725 out.put(outIx++, (byte) (0x80 | (0x3F & (c >>> 6)))); in encodeUtf8Default()
[all …]
/external/flatbuffers/java/com/google/flatbuffers/
DUtf8Safe.java299 int outIx = out.position(); in encodeUtf8Buffer() local
309 out.put(outIx + inIx, (byte) c); in encodeUtf8Buffer()
313 out.position(outIx + inIx); in encodeUtf8Buffer()
317 outIx += inIx; in encodeUtf8Buffer()
318 for (char c; inIx < inLength; ++inIx, ++outIx) { in encodeUtf8Buffer()
322 out.put(outIx, (byte) c); in encodeUtf8Buffer()
327 out.put(outIx++, (byte) (0xC0 | (c >>> 6))); in encodeUtf8Buffer()
328 out.put(outIx, (byte) (0x80 | (0x3F & c))); in encodeUtf8Buffer()
334 out.put(outIx++, (byte) (0xE0 | (c >>> 12))); in encodeUtf8Buffer()
335 out.put(outIx++, (byte) (0x80 | (0x3F & (c >>> 6)))); in encodeUtf8Buffer()
[all …]