Home
last modified time | relevance | path

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

12

/libcore/dex/src/main/java/com/android/dex/
DEncodedValueCodec.java126 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readSignedInt()
142 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readUnsignedInt()
147 result = (result >>> 8) | ((in.readByte() & 0xff) << 24); in readUnsignedInt()
161 result = (result >>> 8) | ((in.readByte() & 0xffL) << 56); in readSignedLong()
177 result = (result >>> 8) | ((in.readByte() & 0xffL) << 56); in readUnsignedLong()
182 result = (result >>> 8) | ((in.readByte() & 0xffL) << 56); in readUnsignedLong()
DMutf8.java37 char a = (char) (in.readByte() & 0xff); in decode()
45 int b = in.readByte() & 0xff; in decode()
51 int b = in.readByte() & 0xff; in decode()
52 int c = in.readByte() & 0xff; in decode()
DLeb128.java88 cur = in.readByte() & 0xff; in readSignedLeb128()
115 cur = in.readByte() & 0xff; in readUnsignedLeb128()
DEncodedValueReader.java78 int argAndType = in.readByte() & 0xff; in peek()
134 public byte readByte() { in readByte() method in EncodedValueReader
224 readByte(); in skipValue()
/libcore/dex/src/test/java/com/android/dex/
DEncodedValueReaderTest.java25 assertEquals((byte) 0x80, readerOf(0, 0x80).readByte()); in testReadByte()
26 assertEquals((byte) 0xff, readerOf(0, 0xff).readByte()); in testReadByte()
27 assertEquals((byte) 0x00, readerOf(0, 0x00).readByte()); in testReadByte()
28 assertEquals((byte) 0x01, readerOf(0, 0x01).readByte()); in testReadByte()
29 assertEquals((byte) 0x7f, readerOf(0, 0x7f).readByte()); in testReadByte()
/libcore/dex/src/main/java/com/android/dex/util/
DByteInput.java29 byte readByte(); in readByte() method
DByteArrayByteInput.java28 @Override public byte readByte() { in readByte() method in ByteArrayByteInput
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectInputOutputStreamTest.java66 (byte) 127, is.readByte()); in test_read_writeByte()
69 is.readByte(); in test_read_writeByte()
77 is.readByte(); in test_read_writeByte()
DOldDataInputOutputStreamTest.java83 (byte) 127, dis.readByte()); in test_read_writeByte()
86 dis.readByte(); in test_read_writeByte()
94 dis.readByte(); in test_read_writeByte()
DOldAndroidPipedStreamTest.java55 byte readByte; in testA()
64 readByte = (byte) readInt; in testA()
65 assertEquals(readByte, (byte) fib.next()); in testA()
DOldAndroidDataInputStreamTest.java90 assertEquals('a', g.readByte()); in testDataInputStream()
92 assertEquals('D', g.readByte()); in testDataInputStream()
DOldRandomAccessFileTest.java430 Byte.MIN_VALUE, raf.readByte()); in test_read_writeByte()
432 11, raf.readByte()); in test_read_writeByte()
434 Byte.MAX_VALUE, raf.readByte()); in test_read_writeByte()
436 127, raf.readByte()); in test_read_writeByte()
438 -128, raf.readByte()); in test_read_writeByte()
441 raf.readByte(); in test_read_writeByte()
455 raf.readByte(); in test_read_writeByte()
DOldDataInputStreamTest.java170 dis.readByte(); in test_readFully$B()
200 dis.readByte(); in test_readFully$BII()
/libcore/luni/src/main/java/libcore/io/
DBufferIterator.java45 public abstract byte readByte(); in readByte() method in BufferIterator
DNioBufferIterator.java53 public byte readByte() { in readByte() method in NioBufferIterator
DHeapBufferIterator.java55 public byte readByte() { in readByte() method in HeapBufferIterator
/libcore/luni/src/main/java/java/io/
DDataInput.java71 public abstract byte readByte() throws IOException; in readByte() method
DObjectInputStream.java505 pushbackTC = input.readByte(); in nextTC()
553 byte[] result = new byte[input.readByte() & 0xff]; in readBlockData()
598 public byte readByte() throws IOException { in readByte() method in ObjectInputStream
599 return primitiveTypes.readByte(); in readByte()
893 char typecode = (char) input.readByte(); in readFieldDescriptors()
1001 element.fieldValue = input.readByte(); in readFieldValues()
1073 byte b = input.readByte(); in readFieldValues()
1710 newClassDesc.setFlags(input.readByte()); in readClassDescriptor()
DDataInputStream.java74 public final byte readByte() throws IOException { in readByte() method in DataInputStream
DRandomAccessFile.java324 public final byte readByte() throws IOException { in readByte() method in RandomAccessFile
/libcore/luni/src/main/java/java/sql/
DSQLInput.java77 public byte readByte() throws SQLException; in readByte() method
/libcore/luni/src/main/java/java/util/logging/
DLogRecord.java482 byte major = in.readByte(); in readObject()
483 byte minor = in.readByte(); in readObject()
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DBinaryHprof.java46 byte b = in.readByte(); in readMagic()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DDataOutputStreamTest.java115 byte c = dis.readByte(); in test_writeByteI()
DDataInputStreamTest.java95 assertTrue("Incorrect byte read", dis.readByte() == (byte) 127); in test_readByte()
470 public byte readByte() throws IOException { in readByte() method in DataInputStreamTest.TestDataInputStream

12