Home
last modified time | relevance | path

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

12

/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/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/lzma/Java/Tukaani/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java162 int curByte = lz.getByte(0); in getNextSymbol()
163 int matchByte = lz.getByte(reps[0] + 1); in getNextSymbol()
178 int prevByte = lz.getByte(1); in getNextSymbol()
376 int curByte = lz.getByte(0);
377 int matchByte = lz.getByte(opts[optCur].reps[0] + 1);
381 + literalEncoder.getPrice(curByte, matchByte, lz.getByte(1),
465 int curByte = lz.getByte(len, 0);
466 int matchByte = lz.getByte(0); // lz.getByte(len, len)
467 int prevByte = lz.getByte(len, 1);
540 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()
DLZMAEncoder.java522 int i = getSubcoderIndex(lz.getByte(1 + readAhead), in encode()
542 int symbol = lz.getByte(readAhead) | 0x100; in encode()
556 int matchByte = lz.getByte(reps[0] + 1 + readAhead); in encode()
/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/libunwind_llvm/src/
DUnwind-EHABI.cpp35 uint8_t getByte(const uint32_t* data, size_t offset) { in getByte() function
255 uint8_t byte = getByte(data, offset++); in _Unwind_VRS_Interpret()
271 (((uint32_t)getByte(data, offset++)) << 4); in _Unwind_VRS_Interpret()
305 uint8_t registers = getByte(data, offset++); in _Unwind_VRS_Interpret()
318 uint32_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
333 uint8_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
364 uint8_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
375 uint8_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
384 uint8_t v = getByte(data, offset++); in _Unwind_VRS_Interpret()
/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)) {
DGzipSource.java115 byte flags = source.buffer().getByte(3); in consumeHeader()
/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/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
DLZEncoder.java306 public int getByte(int backward) {
315 public int getByte(int forward, int backward) {
DLZDecoder.java64 public int getByte(int dist) { in getByte() method in LZDecoder
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DBundleTest.java71 assertEquals((byte) 0xA, bundle.getByte("foo")); in testByte()
72 assertEquals((byte) 0x0, bundle.getByte("bar")); in testByte()
73 assertEquals((byte) 0x37, bundle.getByte("bar", (byte) 0x37).byteValue()); in testByte()
/external/javassist/src/test/test/javassist/convert/
DArrayAccessReplaceTest.java56 assertEquals(i, simple.getByte(i)); in testByte()
249 public byte getByte(int pos); in getByte() method
301 public byte getByte(int pos) { in getByte() method in ArrayAccessReplaceTest.Simple
/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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBundle.java117 public byte getByte(String key) { in getByte() method in ShadowBundle
118 return getByte(key, (byte) 0); in getByte()
122 public Byte getByte(String key, byte defaultValue) { in getByte() method in ShadowBundle
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/stock/
DProxyBuilderTest.java288 public byte getByte() { return 2; } in getByte() method in ProxyBuilderTest.AllReturnTypes
306 assertEquals(9, proxy.getByte()); in testAllReturnTypes()
326 public byte getByte(byte input) { return input; } in getByte() method in ProxyBuilderTest.PassThroughAllTypes
352 assertEquals((byte) 2, proxy.getByte((byte) 2)); in testPassThroughWorksForAllTypes()
353 assertEquals((byte) 3, proxy.getByte((byte) 3)); in testPassThroughWorksForAllTypes()
/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;

12