Home
last modified time | relevance | path

Searched refs:readByte (Results 1 – 25 of 107) sorted by relevance

12345

/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/bsdiff/
DRandomAccessObjectTest.java72 Assert.assertEquals(x + 1, obj.readByte()); in fileReadByteTest()
76 obj.readByte(); in fileReadByteTest()
91 Assert.assertEquals(bytes[x], obj.readByte()); in byteArrayReadByteTest()
95 obj.readByte(); in byteArrayReadByteTest()
127 Assert.assertEquals(x + 1, obj.readByte()); in mmapReadByteTest()
131 obj.readByte(); in mmapReadByteTest()
158 Assert.assertEquals(5 - x, obj.readByte()); in fileWriteByteTest()
162 Assert.assertEquals((byte) 243, obj.readByte()); in fileWriteByteTest()
165 obj.readByte(); in fileWriteByteTest()
185 Assert.assertEquals(5 - x, obj.readByte()); in fileWriteByteToEmptyFileTest()
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DSerializedGrammar.java110 int version = in.readByte(); in readFile()
111 char grammarType = (char)in.readByte(); in readFile()
131 byte R = in.readByte(); in readRule()
135 byte B = in.readByte(); in readRule()
137 byte period = in.readByte(); in readRule()
157 byte A = in.readByte(); in readAlt()
159 byte cmd = in.readByte(); in readAlt()
186 cmd = in.readByte(); in readAlt()
193 byte c = in.readByte(); in readString()
197 c = in.readByte(); in readString()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DBsDiffPatchWriter.java82 outputStream.write(newData.readByte()); in writeEntry()
132 if (oldData.readByte() == newData.readByte()) { in generatePatchWithMatcher()
157 if (oldData.readByte() == newData.readByte()) { in generatePatchWithMatcher()
179 if (newData.readByte() == oldData.readByte()) { in generatePatchWithMatcher()
185 if (newData.readByte() == oldData.readByte()) { in generatePatchWithMatcher()
DBsDiffMatcher.java126 if (oldData.readByte() == newData.readByte()) { in next()
156 if (oldData.readByte() == newData.readByte()) { in next()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java115 int version = fromSource.readByte() & 0xff; in hello()
116 int methodCount = fromSource.readByte() & 0xff; in hello()
124 int candidateMethod = fromSource.readByte() & 0xff; in hello()
145 int version = fromSource.readByte() & 0xff; in acceptCommand()
147 int command = fromSource.readByte() & 0xff; in acceptCommand()
148 int reserved = fromSource.readByte() & 0xff; in acceptCommand()
151 int addressType = fromSource.readByte() & 0xff; in acceptCommand()
159 int domainNameLength = fromSource.readByte() & 0xff; in acceptCommand()
/external/autotest/client/common_lib/
Dsmogcheck_pca9555.py97 byte_read = self.readByte(PCA_REG['OUT0'])
145 if PCA_BIT_ONE[key] & self.readByte(PCA_REG['OUT0']):
192 byte_read = self.readByte(PCA_REG['OUT1'])
216 byte_read = self.readByte(PCA_REG['IN1'])
242 byte_read = self.readByte(PCA_REG['OUT1'])
/external/okhttp/okio/okio/src/test/java/okio/
DGzipSourceTest.java160 assertEquals('a', gunzippedSource.readByte()); in gunzipExhaustsSource()
161 assertEquals('b', gunzippedSource.readByte()); in gunzipExhaustsSource()
162 assertEquals('c', gunzippedSource.readByte()); in gunzipExhaustsSource()
175 assertEquals('a', gunzippedSource.readByte()); in gunzipThrowsIfSourceIsNotExhausted()
176 assertEquals('b', gunzippedSource.readByte()); in gunzipThrowsIfSourceIsNotExhausted()
177 assertEquals('c', gunzippedSource.readByte()); in gunzipThrowsIfSourceIsNotExhausted()
179 gunzippedSource.readByte(); in gunzipThrowsIfSourceIsNotExhausted()
/external/turbine/java/com/google/turbine/bytecode/
DConstantPoolReader.java108 byte tag = reader.readByte(); in classInfo()
119 byte tag = reader.readByte(); in utf8()
129 byte tag = reader.readByte(); in moduleInfo()
140 byte tag = reader.readByte(); in packageInfo()
154 byte tag = reader.readByte(); in constant()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DPacketStream.java296 byte readByte() { in readByte() method in PacketStream
306 byte ret = readByte(); in readBoolean()
426 byte typeKey = readByte(); in readTaggedObjectReference()
465 byte tag = readByte(); in readReferenceType()
504 byte typeKey = readByte(); in readValue()
516 val = new ByteValueImpl(vm, readByte()); in readUntaggedValue()
559 byte tag = readByte(); in readLocation()
581 byte typeKey = readByte(); in readArrayRegion()
593 typeKey = readByte(); in readArrayRegion()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/
DSerialization.java45 int tag = readByte(input) & DER_TAG_MASK; in readDEROctetString()
139 result = (result << 8) | (readByte(input) & 0xFF); in readNumber()
159 result = (result << 8) | (readByte(input) & 0xFF); in readLong()
169 public static byte readByte(InputStream input) throws SerializationException { in readByte() method in Serialization
/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DSerialization.java41 int tag = readByte(input) & DER_TAG_MASK; in readDEROctetString()
135 result = (result << 8) | (readByte(input) & 0xFF); in readNumber()
155 result = (result << 8) | (readByte(input) & 0xFF); in readLong()
165 public static byte readByte(InputStream input) throws SerializationException { in readByte() method in Serialization
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DHttp2.java136 byte type = (byte) (source.readByte() & 0xff); in nextFrame()
137 byte flags = (byte) (source.readByte() & 0xff); in nextFrame()
191 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readHeaders()
227 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readData()
245 int weight = (source.readByte() & 0xff) + 1; in readPriority()
316 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readPushPromise()
634 byte type = (byte) (source.readByte() & 0xff); in readContinuationHeader()
635 flags = (byte) (source.readByte() & 0xff); in readContinuationHeader()
763 return (source.readByte() & 0xff) << 16
764 | (source.readByte() & 0xff) << 8
[all …]
DHpack.java194 int b = source.readByte() & 0xff; in readHeaders()
318 private int readByte() throws IOException { in readByte() method in Hpack.Reader
319 return source.readByte() & 0xff; in readByte()
332 int b = readByte(); in readInt()
346 int firstByte = readByte(); in readByteString()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHttp2.java134 byte type = (byte) (source.readByte() & 0xff); in nextFrame()
135 byte flags = (byte) (source.readByte() & 0xff); in nextFrame()
189 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readHeaders()
225 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readData()
243 int weight = (source.readByte() & 0xff) + 1; in readPriority()
314 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readPushPromise()
632 byte type = (byte) (source.readByte() & 0xff); in readContinuationHeader()
633 flags = (byte) (source.readByte() & 0xff); in readContinuationHeader()
761 return (source.readByte() & 0xff) << 16
762 | (source.readByte() & 0xff) << 8
[all …]
DHpack.java193 int b = source.readByte() & 0xff; in readHeaders()
317 private int readByte() throws IOException { in readByte() method in Hpack.Reader
318 return source.readByte() & 0xff; in readByte()
331 int b = readByte(); in readInt()
345 int firstByte = readByte(); in readByteString()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DHttp2.java139 byte type = (byte) (source.readByte() & 0xff); in nextFrame()
140 byte flags = (byte) (source.readByte() & 0xff); in nextFrame()
194 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readHeaders()
230 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readData()
248 int weight = (source.readByte() & 0xff) + 1; in readPriority()
320 short padding = (flags & FLAG_PADDED) != 0 ? (short) (source.readByte() & 0xff) : 0; in readPushPromise()
638 byte type = (byte) (source.readByte() & 0xff); in readContinuationHeader()
639 flags = (byte) (source.readByte() & 0xff); in readContinuationHeader()
767 return (source.readByte() & 0xff) << 16
768 | (source.readByte() & 0xff) << 8
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/data/
DCompactDataInput.java44 final int value = 0xFF & readByte(); in readVarInt()
63 buffer = readByte(); in readBooleanArray()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedInstruction11n.java50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterA()
55 return NibbleUtils.extractHighSignedNibble(dexFile.readByte(instructionStart + 1)); in getNarrowLiteral()
DDexBackedInstruction12x.java50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterA()
55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterB()
DDexBackedInstruction22cs.java50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterA()
55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterB()
DDexBackedInstruction22t.java50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterA()
55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterB()
DDexBackedInstruction22s.java50 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterA()
55 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterB()
DDexBackedInstruction22c.java52 return NibbleUtils.extractLowUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterA()
57 return NibbleUtils.extractHighUnsignedNibble(dexFile.readByte(instructionStart + 1)); in getRegisterB()
/external/guava/guava/src/com/google/common/io/
DGwtWorkarounds.java124 int readByte = read();
125 if (readByte == -1) {
128 b[off + dst] = (byte) readByte;
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/brotli/
DBrotliCompressorInputStreamTest.java53 int readByte = -1; in testBrotliDecode() local
54 while((readByte = brotliInputStream.read()) != -1) { in testBrotliDecode()
55 bos.write(readByte); in testBrotliDecode()

12345