Home
last modified time | relevance | path

Searched refs:readInt (Results 1 – 25 of 50) sorted by relevance

12

/libcore/dex/src/main/java/com/android/dex/
DTableOfContents.java83 checksum = headerIn.readInt(); in readHeader()
85 fileSize = headerIn.readInt(); in readHeader()
86 int headerSize = headerIn.readInt(); in readHeader()
90 int endianTag = headerIn.readInt(); in readHeader()
94 linkSize = headerIn.readInt(); in readHeader()
95 linkOff = headerIn.readInt(); in readHeader()
96 mapList.off = headerIn.readInt(); in readHeader()
100 stringIds.size = headerIn.readInt(); in readHeader()
101 stringIds.off = headerIn.readInt(); in readHeader()
102 typeIds.size = headerIn.readInt(); in readHeader()
[all …]
DDex.java528 public int readInt() { in readInt() method in Dex.Section
578 int size = readInt(); in readTypeList()
585 int offset = readInt(); in readString()
609 int nameIndex = readInt(); in readFieldId()
616 int nameIndex = readInt(); in readMethodId()
621 int shortyIndex = readInt(); in readProtoId()
622 int returnTypeIndex = readInt(); in readProtoId()
623 int parametersOffset = readInt(); in readProtoId()
629 int type = readInt(); in readClassDef()
630 int accessFlags = readInt(); in readClassDef()
[all …]
DEncodedValueReader.java152 public int readInt() { in readInt() method in EncodedValueReader
233 readInt(); in skipValue()
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DBinaryHprofReader.java137 int idSize = in.readInt(); in parseIdSize()
170 int timeDeltaInMicroseconds = in.readInt(); in parseRecord()
171 int recordLength = in.readInt(); in parseRecord()
238 int flags = in.readInt(); in parseControlSettings()
249 int stringId = in.readInt(); in parseStringInUtf8()
276 int classId = in.readInt(); in parseLoadClass()
280 int stackTraceSerialNumber = in.readInt(); in parseLoadClass()
295 return in.readInt(); in readId()
320 int threadId = in.readInt(); in parseStartThread()
325 int stackTraceSerialNumber = in.readInt(); in parseStartThread()
[all …]
/libcore/dex/src/test/java/com/android/dex/
DEncodedValueReaderTest.java41 assertEquals(0x80000000, readerOf(100, 0x00, 0x00, 0x00, 0x80).readInt()); in testReadInt()
42 assertEquals( 0x00, readerOf( 4, 0x00).readInt()); in testReadInt()
43 assertEquals( 0xab, readerOf( 36, 0xab, 0x00).readInt()); in testReadInt()
44 assertEquals( 0xabcd, readerOf( 68, 0xcd, 0xab, 0x00).readInt()); in testReadInt()
45 assertEquals( 0xabcdef, readerOf(100, 0xef, 0xcd, 0xab, 0x00).readInt()); in testReadInt()
46 assertEquals(0xabcdef01, readerOf(100, 0x01, 0xef, 0xcd, 0xab).readInt()); in testReadInt()
47 assertEquals(0x7fffffff, readerOf(100, 0xff, 0xff, 0xff, 127).readInt()); in testReadInt()
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSHA1PRNG_SecureRandomImpl.java503 state = ois.readInt();
504 seed[BYTES_OFFSET] = ois.readInt();
511 seed[i] = ois.readInt();
514 seed[HASH_OFFSET + i] = ois.readInt();
520 seed[FRAME_LENGTH] = ois.readInt();
521 seed[FRAME_LENGTH + 1] = ois.readInt();
522 seed[FRAME_LENGTH + 14] = ois.readInt();
523 seed[FRAME_LENGTH + 15] = ois.readInt();
527 seed[i] = ois.readInt();
531 copies[FRAME_LENGTH + EXTRAFRAME_OFFSET + i] = ois.readInt();
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidPipedStreamTest.java54 int readInt; in testA()
58 readInt = in.read(); in testA()
60 if (readInt == -1) { in testA()
64 readByte = (byte) readInt; in testA()
137 int readInt = (((int) readBytes[0] & 0xff) << 24) in testB()
143 assertEquals("Error at " + countRead, fib.next(), readInt); in testB()
262 int readInt = (((int) readBytes[i] & 0xff) << 24) in testC() local
267 assertEquals("Error at " + i, readInt, fib.next()); in testC()
DOldObjectInputOutputStreamTest.java162 768347202, is.readInt()); in test_read_writeInt()
165 is.readInt(); in test_read_writeInt()
173 is.readInt(); in test_read_writeInt()
DOldDataInputOutputStreamTest.java211 768347202, dis.readInt()); in test_read_writeInt()
214 dis.readInt(); in test_read_writeInt()
222 dis.readInt(); in test_read_writeInt()
DOldRandomAccessFileTest.java596 Integer.MIN_VALUE, raf.readInt()); in test_read_writeInt()
598 'T', raf.readInt()); in test_read_writeInt()
600 Integer.MAX_VALUE, raf.readInt()); in test_read_writeInt()
602 0x7fffffff, raf.readInt()); in test_read_writeInt()
604 0x80000000, raf.readInt()); in test_read_writeInt()
607 raf.readInt(); in test_read_writeInt()
621 raf.readInt(); in test_read_writeInt()
DOldDataOutputStreamTest.java59 int c = dis.readInt(); in test_flush()
DOldAndroidDataInputStreamTest.java100 assertEquals(3, g.readInt()); in testDataInputStream()
/libcore/luni/src/main/java/libcore/util/
DZoneInfoDB.java147 int index_offset = it.readInt(); in readHeader()
148 int data_offset = it.readInt(); in readHeader()
149 int zonetab_offset = it.readInt(); in readHeader()
183 byteOffsets[i] = it.readInt(); in readIndex()
186 int length = it.readInt(); in readIndex()
DZoneInfo.java192 if (it.readInt() != 0x545a6966) { // "TZif" in makeTimeZone()
200 int tzh_timecnt = it.readInt(); in makeTimeZone()
201 int tzh_typecnt = it.readInt(); in makeTimeZone()
228 gmtOffsets[i] = it.readInt(); in makeTimeZone()
/libcore/luni/src/main/java/libcore/io/
DBufferIterator.java50 public abstract int readInt(); in readInt() method in BufferIterator
DNioBufferIterator.java59 public int readInt() { in readInt() method in NioBufferIterator
/libcore/ojluni/src/main/java/java/util/
DHashSet.java297 int capacity = s.readInt(); in readObject()
304 int size = s.readInt(); in readObject()
/libcore/ojluni/src/main/java/java/io/
DDataInput.java439 int readInt() throws IOException; in readInt() method
DRandomAccessFile.java807 public final int readInt() throws IOException { in readInt() method in RandomAccessFile
846 return ((long)(readInt()) << 32) + (readInt() & 0xFFFFFFFFL); in readLong()
869 return Float.intBitsToFloat(readInt()); in readFloat()
DDataInputStream.java386 public final int readInt() throws IOException { in readInt() method in DataInputStream
443 return Float.intBitsToFloat(readInt()); in readFloat()
/libcore/ojluni/src/main/java/java/security/cert/
DCertificateRevokedException.java226 int size = ois.readInt(); in readObject()
237 int length = ois.readInt(); in readObject()
/libcore/support/src/test/java/libcore/tlswire/util/
DIoUtils.java56 return in.readInt(); in readTlsVariableLengthVectorSizeBytes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DDataOutputStreamTest.java52 int c = dis.readInt(); in test_flush()
195 int c = dis.readInt(); in test_writeIntI()
DDataInputStreamTest.java399 assertEquals("Incorrect int read", 768347202, dis.readInt()); in test_readInt()
494 public int readInt() throws IOException { in readInt() method in DataInputStreamTest.TestDataInputStream
600 dis.readInt(); in test_readIntUsesMultiByteRead()
/libcore/ojluni/src/main/java/java/sql/
DSQLInput.java123 int readInt() throws SQLException; in readInt() method

12