Home
last modified time | relevance | path

Searched refs:byteAt (Results 1 – 25 of 33) sorted by relevance

12

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatEscaper.java40 byte byteAt(int offset); in byteAt() method
52 final byte b = input.byteAt(i); in escapeBytes()
117 public byte byteAt(int offset) { in escapeBytes() method in TextFormatEscaper
118 return input.byteAt(offset); in escapeBytes()
133 public byte byteAt(int offset) {
DNioByteString.java74 public byte byteAt(int index) { in byteAt() method in NioByteString
88 return byteAt(index); in internalByteAt()
DTextFormat.java2310 byte c = input.byteAt(i); in unescapeBytes()
2314 c = input.byteAt(i); in unescapeBytes()
2318 if (i + 1 < input.size() && isOctal(input.byteAt(i + 1))) { in unescapeBytes()
2320 code = code * 8 + digitValue(input.byteAt(i)); in unescapeBytes()
2322 if (i + 1 < input.size() && isOctal(input.byteAt(i + 1))) { in unescapeBytes()
2324 code = code * 8 + digitValue(input.byteAt(i)); in unescapeBytes()
2364 if (i + 1 < input.size() && isHex(input.byteAt(i + 1))) { in unescapeBytes()
2366 code = digitValue(input.byteAt(i)); in unescapeBytes()
2371 if (i + 1 < input.size() && isHex(input.byteAt(i + 1))) { in unescapeBytes()
2373 code = code * 16 + digitValue(input.byteAt(i)); in unescapeBytes()
DByteString.java156 public abstract byte byteAt(int index); in byteAt() method in ByteString
1321 public byte byteAt(int index) { in byteAt() method in LiteralByteString
1567 public byte byteAt(int index) { in byteAt() method in BoundedByteString
DRopeByteString.java279 public byte byteAt(int index) { in byteAt() method in RopeByteString
902 return currentPiece.byteAt(currentPieceIndex++) & 0xFF; in read()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLiteralByteStringTest.java78 stillEqual = (referenceBytes[i] == stringUnderTest.byteAt(i)); in testByteAt()
311 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
323 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
DByteStringTest.java485 ok = (bigBytes[i] == concreteSubstring.byteAt(i - start)); in testSubstringParity()
514 stillEqual = referenceBytes[from + i] == compositeSubstring.byteAt(i); in testCompositeSubstring()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieMap.java565 byte b = entry.byteAt(i++); in getChars()
570 int b2 = 0xFF & entry.byteAt(i++); in getChars()
573 int b2 = entry.byteAt(i++); in getChars()
574 int b3 = 0xFF & entry.byteAt(i++); in getChars()
DBytesTrieTest.java864 bytesString.append((char)(entry.byteAt(j)&0xff)); in checkIterator()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DTrieMap.java566 byte b = entry.byteAt(i++); in getChars()
571 int b2 = 0xFF & entry.byteAt(i++); in getChars()
574 int b2 = entry.byteAt(i++); in getChars()
575 int b3 = 0xFF & entry.byteAt(i++); in getChars()
DBytesTrieTest.java830 bytesString.append((char)(entry.byteAt(j)&0xff)); in checkIterator()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java85 stillEqual = (referenceBytes[i] == stringUnderTest.byteAt(i)); in testByteAt()
528 "InputStream.skip(), read()", stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
541 "InputStream.reset(), read()", stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
DNioByteStringTest.java75 stillEqual = (BYTES[i] == testString.byteAt(i)); in testByteAt()
586 "InputStream.skip(), read()", testString.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
595 "InputStream.reset(), read()", testString.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
DByteStringTest.java637 ok = (bigBytes[i] == concreteSubstring.byteAt(i - start)); in testSubstringParity()
667 stillEqual = referenceBytes[from + i] == compositeSubstring.byteAt(i); in testCompositeSubstring()
DCodedInputStreamTest.java1218 assertEquals(0x0, byteString.byteAt(0)); in testMaliciousInputStream()
1220 assertEquals(0x0, byteString.byteAt(0)); in testMaliciousInputStream()
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DTestData.java133 byte b = entry.byteAt(i); in getTrieTable()
DTrieTest.java150 byte b = entry.byteAt(i); in getRawTrieTable()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleDistance.java571 byte b = entry.byteAt(i); in testOnlyGetDistanceTable()
DXLikelySubtags.java563 byte b = entry.byteAt(i++); in getTable()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DLocaleDistance.java576 byte b = entry.byteAt(i); in testOnlyGetDistanceTable()
DXLikelySubtags.java568 byte b = entry.byteAt(i++); in getTable()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DBytesTrie.java496 public byte byteAt(int index) { return bytes[index]; }
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java524 public byte byteAt(int index) { return bytes[index]; }
/third_party/icu/icu4j/tools/build/
Dicu4j61.api3.gz
Dicu4j60.api3.gz

12