Home
last modified time | relevance | path

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

123

/libcore/dex/src/main/java/com/android/dex/
DTableOfContents.java82 checksum = headerIn.readInt(); in readHeader()
84 fileSize = headerIn.readInt(); in readHeader()
85 int headerSize = headerIn.readInt(); in readHeader()
89 int endianTag = headerIn.readInt(); in readHeader()
93 linkSize = headerIn.readInt(); in readHeader()
94 linkOff = headerIn.readInt(); in readHeader()
95 mapList.off = headerIn.readInt(); in readHeader()
99 stringIds.size = headerIn.readInt(); in readHeader()
100 stringIds.off = headerIn.readInt(); in readHeader()
101 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/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java194 for (int i = 0, size = setIn.readInt(); i < size; i++) { in getAnnotation()
195 int annotationOffset = setIn.readInt(); in getAnnotation()
221 int classSetOffset = directoryIn.readInt(); in getAnnotationSetOffset()
226 int fieldsSize = directoryIn.readInt(); in getAnnotationSetOffset()
227 int methodsSize = directoryIn.readInt(); in getAnnotationSetOffset()
228 directoryIn.readInt(); // parameters size in getAnnotationSetOffset()
233 int candidateFieldIndex = directoryIn.readInt(); in getAnnotationSetOffset()
234 int annotationSetOffset = directoryIn.readInt(); in getAnnotationSetOffset()
249 int candidateMethodIndex = directoryIn.readInt(); in getAnnotationSetOffset()
250 int annotationSetOffset = directoryIn.readInt(); in getAnnotationSetOffset()
[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()
/libcore/luni/src/main/java/libcore/util/
DZoneInfoDB.java141 int index_offset = it.readInt(); in readHeader()
142 int data_offset = it.readInt(); in readHeader()
143 int zonetab_offset = it.readInt(); in readHeader()
177 byteOffsets[i] = it.readInt(); in readIndex()
180 int length = it.readInt(); in readIndex()
DZoneInfo.java66 if (it.readInt() != 0x545a6966) { // "TZif" in makeTimeZone()
74 int tzh_timecnt = it.readInt(); in makeTimeZone()
75 int tzh_typecnt = it.readInt(); in makeTimeZone()
88 gmtOffsets[i] = it.readInt(); in makeTimeZone()
/libcore/luni/src/main/java/java/util/zip/
DZipEntry.java387 int sig = it.readInt(); in ZipEntry()
411 crc = ((long) it.readInt()) & 0xffffffffL; in ZipEntry()
412 compressedSize = ((long) it.readInt()) & 0xffffffffL; in ZipEntry()
413 size = ((long) it.readInt()) & 0xffffffffL; in ZipEntry()
421 localHeaderRelOffset = ((long) it.readInt()) & 0xffffffffL; in ZipEntry()
DZipFile.java302 final int localMagic = Integer.reverseBytes(is.readInt());
380 final int headerMagic = Integer.reverseBytes(raf.readInt());
395 if (Integer.reverseBytes(raf.readInt()) == ENDSIG) {
417 long centralDirOffset = ((long) it.readInt()) & 0xffffffffL;
/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
DHeapBufferIterator.java61 public int readInt() { in readInt() method in HeapBufferIterator
/libcore/luni/src/main/java/java/io/
DDataInput.java152 public abstract int readInt() throws IOException; in readInt() method
DDataInputStream.java91 return Float.intBitsToFloat(readInt()); in readFloat()
102 public final int readInt() throws IOException { in readInt() method in DataInputStream
DObjectInputStream.java569 byte[] result = new byte[input.readInt()]; in readBlockDataLong()
999 element.fieldValue = input.readInt(); in readFieldValues()
1093 int i = input.readInt(); in readFieldValues()
1369 public int readInt() throws IOException { in readInt() method in ObjectInputStream
1370 return primitiveTypes.readInt(); in readInt()
1427 int size = input.readInt(); in readNewArray()
1442 intArray[i] = input.readInt(); in readNewArray()
1682 int count = input.readInt(); in readNewProxyClassDesc()
1755 return input.readInt(); in readNewHandle()
/libcore/luni/src/main/java/java/security/cert/
DCertificateRevokedException.java130 int size = stream.readInt(); in readObject()
135 int valueLen = stream.readInt(); in readObject()
/libcore/luni/src/main/java/java/util/
DHashSet.java200 int length = stream.readInt(); in readObject()
203 int elementCount = stream.readInt(); in readObject()
/libcore/luni/src/main/java/java/sql/
DSQLInput.java97 public int readInt() throws SQLException; in readInt() method
/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()

123