Home
last modified time | relevance | path

Searched refs:utf16Length (Results 1 – 16 of 16) sorted by relevance

/external/flatbuffers/java/com/google/flatbuffers/
DUtf8Safe.java75 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/guava/src/com/google/common/base/
DUtf8.java50 int utf16Length = sequence.length(); in encodedLength() local
51 int utf8Length = utf16Length; in encodedLength()
55 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength()
60 for (; i < utf16Length; i++) { in encodedLength()
70 if (utf8Length < utf16Length) { in encodedLength()
79 int utf16Length = sequence.length(); in encodedLengthGeneral() local
81 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()
/external/smali/util/src/main/java/org/jf/util/
DUtf8Utils.java178 …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/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java348 int utf16Length = sequence.length(); in encodedLength() local
349 int utf8Length = utf16Length; in encodedLength()
353 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength()
358 for (; i < utf16Length; i++) { in encodedLength()
368 if (utf8Length < utf16Length) { in encodedLength()
377 int utf16Length = sequence.length(); in encodedLengthGeneral() local
379 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()
436 int utf16Length = sequence.length(); in encodeDirect() local
437 for (int i = 0; i < utf16Length; i++) { in encodeDirect()
465 int utf16Length = sequence.length(); in encode() local
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DStringDataItem.java53 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/java/core/src/main/java/com/google/protobuf/
DUtf8.java255 int utf16Length = sequence.length(); in encodedLength() local
256 int utf8Length = utf16Length; in encodedLength()
260 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength()
265 for (; i < utf16Length; i++) { in encodedLength()
275 if (utf8Length < utf16Length) { in encodedLength()
284 int utf16Length = sequence.length(); in encodedLengthGeneral() local
286 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()
297 throw new UnpairedSurrogateException(i, utf16Length); in encodedLengthGeneral()
859 int utf16Length = in.length(); in encodeUtf8() local
865 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/reference/
DDexBackedStringReference.java71 int utf16Length = reader.readSmallUleb128(); in getSize() local
73 size += reader.peekStringLength(utf16Length); in getSize()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DBaseDexReader.java609 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()
DDexBackedDexFile.java218 int utf16Length = reader.readSmallUleb128();
219 return reader.readString(utf16Length);
/external/v8/src/inspector/
Dstring-16.cc554 size_t utf16Length = bufferCurrent - bufferStart; in fromUTF8() local
555 return String16(bufferStart, utf16Length); in fromUTF8()
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c2455 int32_t utf16Length; in getTestChar() local
2470 utf16Length=0; in getTestChar()
2471 U16_APPEND_UNSAFE(utf16, utf16Length, c); in getTestChar()
2479 &utf16Source, utf16+utf16Length, in getTestChar()
2487 &utf16Source, utf16+utf16Length, in getTestChar()
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...