Home
last modified time | relevance | path

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

123

/external/skia/src/images/
DSkImageDecoder_libico.cpp35 #define readByte(buffer,begin) buffer[begin] macro
116 int w = readByte(buf, 6); in onDecode()
117 int h = readByte(buf, 7); in onDecode()
119 int colorCount = readByte(buf, 8); in onDecode()
228 blue = readByte(buf, begin + 4*j); in onDecode()
229 green = readByte(buf, begin + 4*j + 1); in onDecode()
230 red = readByte(buf, begin + 4*j + 2); in onDecode()
318 int alphaByte = readByte(buf, andOffset + (andPixelNo >> 3)); in onDecode()
342 int byte = readByte(buf, xorOffset + (pixelNo >> 3)); in editPixelBit1()
370 int byte = readByte(buf, xorOffset + (pixelNo >> 1)); in editPixelBit4()
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DSerializedGrammar.java101 int version = in.readByte(); in readFile()
102 char grammarType = (char)in.readByte(); in readFile()
122 byte R = in.readByte(); in readRule()
126 byte B = in.readByte(); in readRule()
128 byte period = in.readByte(); in readRule()
147 byte A = in.readByte(); in readAlt()
149 byte cmd = in.readByte(); in readAlt()
176 cmd = in.readByte(); in readAlt()
183 byte c = in.readByte(); in readString()
187 c = in.readByte(); in readString()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java113 int version = fromSource.readByte() & 0xff; in hello()
114 int methodCount = fromSource.readByte() & 0xff; in hello()
122 int candidateMethod = fromSource.readByte() & 0xff; in hello()
143 int version = fromSource.readByte() & 0xff; in acceptCommand()
145 int command = fromSource.readByte() & 0xff; in acceptCommand()
146 int reserved = fromSource.readByte() & 0xff; in acceptCommand()
149 int addressType = fromSource.readByte() & 0xff; in acceptCommand()
157 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/dexmaker/src/dx/java/com/android/dx/util/
DMutf8.java36 char a = (char) (in.readByte() & 0xff); in decode()
44 int b = in.readByte() & 0xff; in decode()
50 int b = in.readByte() & 0xff; in decode()
51 int c = in.readByte() & 0xff; in decode()
DLeb128Utils.java89 cur = in.readByte() & 0xff; in readSignedLeb128()
116 cur = in.readByte() & 0xff; in readUnsignedLeb128()
/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/conscrypt/src/main/java/org/conscrypt/ct/
DSerialization.java39 int tag = readByte(input) & DER_TAG_MASK; in readDEROctetString()
133 result = (result << 8) | (readByte(input) & 0xFF); in readNumber()
153 result = (result << 8) | (readByte(input) & 0xFF); in readLong()
163 public static byte readByte(InputStream input) throws SerializationException { in readByte() method in Serialization
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DDataInputCompressor.java46 public byte readByte() throws IOException { in readByte() method in DataInputCompressor
47 return dataInput.readByte(); in readByte()
146 long input = readByte(); in readLong()
165 int input = readByte(); in readULong()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DDataInputCompressor.java47 public byte readByte() throws IOException { in readByte() method in DataInputCompressor
48 return dataInput.readByte(); in readByte()
147 long input = readByte(); in readLong()
166 int input = readByte(); in readULong()
/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/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/proguard/src/proguard/classfile/io/
DRuntimeDataInput.java56 public byte readByte() in readByte() method in RuntimeDataInput
60 return dataInput.readByte(); in readByte()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DBaseDexReader.java269 public int readByte() { in readByte() method in BaseDexReader
271 int result = dexBuf.readByte(offset); in readByte()
285 public int readByte(int offset) { return dexBuf.readByte(offset); } in readByte() method in BaseDexReader
/external/jetty/src/java/org/eclipse/jetty/io/nio/
DRandomAccessFileBuffer.java112 return _file.readByte(); in peek()
128 return _file.readByte(); in peek()
/external/guava/guava-tests/test/com/google/common/io/
DLittleEndianDataOutputStreamTest.java70 assertEquals(100, in.readByte()); in testWriteLittleEndian()
71 assertEquals(-100, in.readByte()); in testWriteLittleEndian()
DLittleEndianDataInputStreamTest.java114 assertEquals(100, in.readByte()); in testReadLittleEndian()
115 assertEquals(-100, in.readByte()); in testReadLittleEndian()

123