Home
last modified time | relevance | path

Searched refs:getByte (Results 1 – 25 of 51) sorted by relevance

123

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java1041 || UNSAFE.getByte(bytes, offset++) > (byte) 0xBF) { in partialIsValidUtf8()
1050 byte2 = UNSAFE.getByte(bytes, offset++); in partialIsValidUtf8()
1061 || UNSAFE.getByte(bytes, offset++) > (byte) 0xBF) { in partialIsValidUtf8()
1071 byte2 = UNSAFE.getByte(bytes, offset++); in partialIsValidUtf8()
1079 byte3 = UNSAFE.getByte(bytes, offset++); in partialIsValidUtf8()
1098 || UNSAFE.getByte(bytes, offset++) > (byte) 0xBF) { in partialIsValidUtf8()
1137 || UNSAFE.getByte(address++) > (byte) 0xBF) { in partialIsValidUtf8Direct()
1146 byte2 = UNSAFE.getByte(address++); in partialIsValidUtf8Direct()
1157 || UNSAFE.getByte(address++) > (byte) 0xBF) { in partialIsValidUtf8Direct()
1167 byte2 = UNSAFE.getByte(address++); in partialIsValidUtf8Direct()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DTraceOptionsTest.java53 assertThat(TraceOptions.fromByte(FIRST_BYTE).getByte()).isEqualTo(FIRST_BYTE); in toFromByte()
54 assertThat(TraceOptions.fromByte(SECOND_BYTE).getByte()).isEqualTo(SECOND_BYTE); in toFromByte()
55 assertThat(TraceOptions.fromByte(THIRD_BYTE).getByte()).isEqualTo(THIRD_BYTE); in toFromByte()
61 assertThat(TraceOptions.fromBytes(new byte[] {FIRST_BYTE}).getByte()).isEqualTo(FIRST_BYTE); in deprecated_fromBytes()
62 assertThat(TraceOptions.fromBytes(new byte[] {1, FIRST_BYTE}, 1).getByte()) in deprecated_fromBytes()
/external/okhttp/okio/okio/src/test/java/okio/
DSegmentSharingTest.java47 assertEquals('x', byteString.getByte(0)); in snapshotGetByte()
48 assertEquals('x', byteString.getByte(xs.length() - 1)); in snapshotGetByte()
49 assertEquals('y', byteString.getByte(xs.length())); in snapshotGetByte()
50 assertEquals('y', byteString.getByte(xs.length() + ys.length() - 1)); in snapshotGetByte()
51 assertEquals('z', byteString.getByte(xs.length() + ys.length())); in snapshotGetByte()
52 assertEquals('z', byteString.getByte(xs.length() + ys.length() + zs.length() - 1)); in snapshotGetByte()
54 byteString.getByte(-1); in snapshotGetByte()
59 byteString.getByte(xs.length() + ys.length() + zs.length()); in snapshotGetByte()
DByteStringTest.java45 @Test public void getByte() throws Exception { in getByte() method in ByteStringTest
47 assertEquals(-85, byteString.getByte(0)); in getByte()
48 assertEquals(18, byteString.getByte(1)); in getByte()
54 byteString.getByte(2); in getByteOutOfBounds()
DTestUtil.java69 assertEquals(b, b1.getByte(i)); in assertEquivalent()
107 assertEquals(b, b1.getByte(i)); in assertEquivalent()
DBufferTest.java350 assertEquals('a', buffer.getByte(0)); in byteAt()
351 assertEquals('a', buffer.getByte(0)); // getByte doesn't mutate! in byteAt()
352 assertEquals('c', buffer.getByte(buffer.size - 1)); in byteAt()
353 assertEquals('b', buffer.getByte(buffer.size - 2)); in byteAt()
354 assertEquals('b', buffer.getByte(buffer.size - 3)); in byteAt()
360 buffer.getByte(0); in getByteOfEmptyBuffer()
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java164 int curByte = lz.getByte(0); in getNextSymbol()
165 int matchByte = lz.getByte(reps[0] + 1); in getNextSymbol()
180 int prevByte = lz.getByte(1); in getNextSymbol()
378 int curByte = lz.getByte(0);
379 int matchByte = lz.getByte(opts[optCur].reps[0] + 1);
383 + literalEncoder.getPrice(curByte, matchByte, lz.getByte(1),
467 int curByte = lz.getByte(len, 0);
468 int matchByte = lz.getByte(0); // lz.getByte(len, len)
469 int prevByte = lz.getByte(len, 1);
542 int curByte = lz.getByte(len, 0);
[all …]
DLZMADecoder.java150 int i = getSubcoderIndex(lz.getByte(0), lz.getPos()); in decode()
165 int matchByte = lz.getByte(reps[0]); in decode()
/external/protobuf/java/core/src/stubs/sun/misc/
DUnsafe.java37 public byte getByte(Object o, long offset) { /* null implementation */ return 0; } in getByte() method in Unsafe
38 public byte getByte(long address) { /* null implementation */ return 0; } in getByte() method in Unsafe
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DDistinguishedNameParser.java180 encoded[i] = (byte) getByte(p); in hexAV()
264 int res = getByte(pos); in getUTF8()
291 b = getByte(pos); in getUTF8()
311 private int getByte(int position) { in getByte() method in DistinguishedNameParser
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DDistinguishedNameParser.java184 encoded[i] = (byte) getByte(p); in hexAV()
268 int res = getByte(pos); in getUTF8()
295 b = getByte(pos); in getUTF8()
315 private int getByte(int position) { in getByte() method in DistinguishedNameParser
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DDistinguishedNameParser.java181 encoded[i] = (byte) getByte(p); in hexAV()
265 int res = getByte(pos); in getUTF8()
292 b = getByte(pos); in getUTF8()
312 private int getByte(int position) { in getByte() method in DistinguishedNameParser
/external/libunwind_llvm/src/
DUnwind-EHABI.cpp32 uint8_t getByte(const uint32_t* data, size_t offset) { in getByte() function
252 uint8_t byte = getByte(data, offset++); in _Unwind_VRS_Interpret()
268 (((uint32_t)getByte(data, offset++)) << 4); in _Unwind_VRS_Interpret()
302 uint8_t registers = getByte(data, offset++); in _Unwind_VRS_Interpret()
315 uint32_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
330 uint8_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
361 uint8_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
372 uint8_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
381 uint8_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
/external/v8/src/objects/
Dordered-hash-table.h358 int nof_elements = getByte(kNumberOfElementsOffset, 0); in NumberOfElements()
365 int nof_deleted_elements = getByte(kNumberOfDeletedElementsOffset, 0); in NumberOfDeletedElements()
371 int NumberOfBuckets() const { return getByte(kNumberOfBucketsOffset, 0); } in NumberOfBuckets()
420 return getByte(GetBucketsStartOffset(), bucket); in GetFirstEntry()
444 return getByte(GetChainTableOffset(), entry); in GetNextEntry()
511 byte getByte(Offset offset, ByteIndex index) const { in getByte() function
/external/okhttp/okio/okio/src/main/java/okio/
DRealBufferedSource.java209 byte b0 = buffer.getByte(0); in readUtf8CodePoint()
255 byte b = buffer.getByte(pos); in readDecimalLong()
273 byte b = buffer.getByte(pos); in readHexadecimalUnsignedLong()
323 fromIndex = indexOf(bytes.getByte(0), fromIndex); in indexOf()
DByteString.java275 public byte getByte(int pos) { in getByte() method in ByteString
340 int byteA = getByte(i) & 0xff; in compareTo()
341 int byteB = byteString.getByte(i) & 0xff; in compareTo()
DBuffer.java294 public byte getByte(long pos) {
616 if (newline > 0 && getByte(newline - 1) == '\r') {
633 byte b0 = getByte(0);
677 byte b = getByte(i);
1263 fromIndex = indexOf(bytes.getByte(0), fromIndex);
1311 if (getByte(offset + i) != bytes.getByte(i)) {
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DRealBufferedSource.java210 byte b0 = buffer.getByte(0); in readUtf8CodePoint()
256 byte b = buffer.getByte(pos); in readDecimalLong()
274 byte b = buffer.getByte(pos); in readHexadecimalUnsignedLong()
324 fromIndex = indexOf(bytes.getByte(0), fromIndex); in indexOf()
DByteString.java277 public byte getByte(int pos) { in getByte() method in ByteString
342 int byteA = getByte(i) & 0xff; in compareTo()
343 int byteB = byteString.getByte(i) & 0xff; in compareTo()
DBuffer.java296 public byte getByte(long pos) {
618 if (newline > 0 && getByte(newline - 1) == '\r') {
635 byte b0 = getByte(0);
679 byte b = getByte(i);
1265 fromIndex = indexOf(bytes.getByte(0), fromIndex);
1313 if (getByte(offset + i) != bytes.getByte(i)) {
/external/flatbuffers/tests/union_vector/
DMovie.php49 return $o != 0 ? $this->bb->getByte($o + $this->bb_pos) : \Character::NONE;
68 return $o != 0 ? $this->bb->getByte($this->__vector($o) + $j * 1) : \Character::NONE;
/external/xz-java/src/org/tukaani/xz/lz/
DLZEncoder.java315 public int getByte(int backward) {
324 public int getByte(int forward, int backward) {
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java100 int alpha = streamReader.getByte(); in getType()
343 public int getByte() throws IOException { in getByte() method in ImageHeaderParser.StreamReader
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
DBasicComponent.java25 byte getByte(); in getByte() method
/external/flatbuffers/tests/MyGame/Example/
DMonster.php89 return $o != 0 ? $this->bb->getByte($this->__vector($o) + $j * 1) : 0;
124 return $o != 0 ? $this->bb->getByte($o + $this->bb_pos) : \MyGame\Example\Any::NONE;
209 return $o != 0 ? $this->bb->getByte($this->__vector($o) + $j * 1) : 0;
408 return $o != 0 ? $this->bb->getByte($this->__vector($o) + $j * 1) : 0;
620 … return $o != 0 ? $this->bb->getByte($o + $this->bb_pos) : \MyGame\Example\AnyUniqueAliases::NONE;
638 …return $o != 0 ? $this->bb->getByte($o + $this->bb_pos) : \MyGame\Example\AnyAmbiguousAliases::NON…

123