/external/flatbuffers/java/com/google/flatbuffers/ |
D | Utf8Safe.java | 75 int utf16Length = sequence.length(); in computeEncodedLength() local 76 int utf8Length = utf16Length; in computeEncodedLength() 80 while (i < utf16Length && sequence.charAt(i) < 0x80) { in computeEncodedLength() 85 for (; i < utf16Length; i++) { in computeEncodedLength() 95 if (utf8Length < utf16Length) { in computeEncodedLength() 104 int utf16Length = sequence.length(); in encodedLengthGeneral() local 106 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral() 117 throw new Utf8Safe.UnpairedSurrogateException(i, utf16Length); in encodedLengthGeneral() 370 int utf16Length = in.length(); in encodeUtf8Array() local 376 for (char c; i < utf16Length && i + j < limit && (c = in.charAt(i)) < 0x80; i++) { in encodeUtf8Array() [all …]
|
/external/guava/android/guava/src/com/google/common/base/ |
D | Utf8.java | 52 int utf16Length = sequence.length(); in encodedLength() local 53 int utf8Length = utf16Length; in encodedLength() 57 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength() 62 for (; i < utf16Length; i++) { in encodedLength() 72 if (utf8Length < utf16Length) { in encodedLength() 81 int utf16Length = sequence.length(); in encodedLengthGeneral() local 83 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()
|
/external/guava/guava/src/com/google/common/base/ |
D | Utf8.java | 52 int utf16Length = sequence.length(); in encodedLength() local 53 int utf8Length = utf16Length; in encodedLength() 57 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength() 62 for (; i < utf16Length; i++) { in encodedLength() 72 if (utf8Length < utf16Length) { in encodedLength() 81 int utf16Length = sequence.length(); in encodedLengthGeneral() local 83 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()
|
/external/smali/dexlib2/src/main/java/org/jf/util/ |
D | Utf8Utils.java | 178 …static String utf8BytesWithUtf16LengthToString(@Nonnull byte[] bytes, int start, int utf16Length) { in utf8BytesWithUtf16LengthToString() argument 179 return utf8BytesWithUtf16LengthToString(bytes, start, utf16Length, null); in utf8BytesWithUtf16LengthToString() 191 …c static String utf8BytesWithUtf16LengthToString(@Nonnull byte[] bytes, int start, int utf16Length, in utf8BytesWithUtf16LengthToString() argument 194 if (chars == null || chars.length < utf16Length) { in utf8BytesWithUtf16LengthToString() 195 chars = new char[utf16Length]; in utf8BytesWithUtf16LengthToString() 201 for (at = start; utf16Length > 0; utf16Length--) { in utf8BytesWithUtf16LengthToString()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | StringDataItem.java | 53 int utf16Length = reader.readSmallUleb128(); in makeAnnotator() local 54 out.annotateTo(reader.getOffset(), "utf16_size = %d", utf16Length); in makeAnnotator() local 56 String value = reader.readString(utf16Length); in makeAnnotator()
|
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/ |
D | CodedOutputByteBufferNano.java | 340 int utf16Length = sequence.length(); in encodedLength() local 341 int utf8Length = utf16Length; in encodedLength() 345 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength() 350 for (; i < utf16Length; i++) { in encodedLength() 360 if (utf8Length < utf16Length) { in encodedLength() 369 int utf16Length = sequence.length(); in encodedLengthGeneral() local 371 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral() 428 int utf16Length = sequence.length(); in encodeDirect() local 429 for (int i = 0; i < utf16Length; i++) { in encodeDirect() 457 int utf16Length = sequence.length(); in encode() local [all …]
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | Murmur3_32HashFunction.java | 147 int utf16Length = input.length(); in hashString() local 153 while (i + 4 <= utf16Length) { in hashString() 171 for (; i < utf16Length; i++) { in hashString() 342 int utf16Length = input.length(); in putString() local 346 while (i + 4 <= utf16Length) { in putString() 359 for (; i < utf16Length; i++) { in putString() 371 putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset)); in putString()
|
/external/guava/guava/src/com/google/common/hash/ |
D | Murmur3_32HashFunction.java | 147 int utf16Length = input.length(); in hashString() local 153 while (i + 4 <= utf16Length) { in hashString() 171 for (; i < utf16Length; i++) { in hashString() 342 int utf16Length = input.length(); in putString() local 346 while (i + 4 <= utf16Length) { in putString() 359 for (; i < utf16Length; i++) { in putString() 371 putBytes(input.subSequence(i, utf16Length).toString().getBytes(charset)); in putString()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/ |
D | DexBackedStringReference.java | 71 int utf16Length = reader.readSmallUleb128(); in getSize() local 73 size += reader.peekStringLength(utf16Length); in getSize()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Utf8.java | 241 int utf16Length = sequence.length(); in encodedLength() local 242 int utf8Length = utf16Length; in encodedLength() 246 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength() 251 for (; i < utf16Length; i++) { in encodedLength() 261 if (utf8Length < utf16Length) { in encodedLength() 270 int utf16Length = sequence.length(); in encodedLengthGeneral() local 272 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral() 283 throw new UnpairedSurrogateException(i, utf16Length); in encodedLengthGeneral() 1039 int utf16Length = in.length(); in encodeUtf8() local 1045 for (char c; i < utf16Length && i + j < limit && (c = in.charAt(i)) < 0x80; i++) { in encodeUtf8() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
D | BaseDexReader.java | 609 public String readString(int utf16Length) { in readString() argument 612 dexBuf.buf, dexBuf.baseOffset + offset, utf16Length, ret); in readString() 617 public int peekStringLength(int utf16Length) { in peekStringLength() argument 620 dexBuf.buf, dexBuf.baseOffset + offset, utf16Length, ret); in peekStringLength()
|
D | DexBackedDexFile.java | 260 int utf16Length = reader.readSmallUleb128(); 261 return reader.readString(utf16Length);
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccapitst.c | 2467 int32_t utf16Length; in getTestChar() local 2482 utf16Length=0; in getTestChar() 2483 U16_APPEND_UNSAFE(utf16, utf16Length, c); in getTestChar() 2491 &utf16Source, utf16+utf16Length, in getTestChar() 2499 &utf16Source, utf16+utf16Length, in getTestChar()
|