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
/libcore/ojluni/src/main/java/java/io/
DDataInput.java335 byte readByte() throws IOException; in readByte() method
DObjectInputStream.java916 public byte readByte() throws IOException { in readByte() method in ObjectInputStream
917 return bin.readByte(); in readByte()
1320 bin.readByte(); in readObject0()
1438 if (bin.readByte() != TC_NULL) { in readNull()
1450 if (bin.readByte() != TC_REFERENCE) { in readHandle()
1481 if (bin.readByte() != TC_CLASS) { in readClass()
1541 if (bin.readByte() != TC_PROXYCLASSDESC) { in readProxyDesc()
1592 if (bin.readByte() != TC_CLASSDESC) { in readNonProxyDesc()
1636 byte tc = bin.readByte(); in readString()
1660 if (bin.readByte() != TC_ARRAY) { in readArray()
[all …]
DDataInputStream.java264 public final byte readByte() throws IOException { in readByte() method in DataInputStream
DRandomAccessFile.java676 public final byte readByte() throws IOException { in readByte() method in RandomAccessFile
/libcore/ojluni/src/main/java/java/sql/
DSQLInput.java99 byte readByte() throws SQLException; in readByte() method
/libcore/ojluni/src/main/java/java/util/logging/
DLogRecord.java495 byte major = in.readByte(); in readObject()
496 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/
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
DDataOutputStreamTest.java115 byte c = dis.readByte(); in test_writeByteI()
/libcore/luni/src/test/java/libcore/util/
DZoneInfoTest.java503 public byte readByte() { in readByte() method in ZoneInfoTest.ByteBufferIterator

12