Home
last modified time | relevance | path

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

/dalvik/tools/dexdeps/src/com/android/dexdeps/
DDexData.java97 mHeaderItem.endianTag = readInt(); in parseHeaderItem()
110 mHeaderItem.fileSize = readInt(); in parseHeaderItem()
111 mHeaderItem.headerSize = readInt(); in parseHeaderItem()
112 /*mHeaderItem.endianTag =*/ readInt(); in parseHeaderItem()
113 /*mHeaderItem.linkSize =*/ readInt(); in parseHeaderItem()
114 /*mHeaderItem.linkOff =*/ readInt(); in parseHeaderItem()
115 /*mHeaderItem.mapOff =*/ readInt(); in parseHeaderItem()
116 mHeaderItem.stringIdsSize = readInt(); in parseHeaderItem()
117 mHeaderItem.stringIdsOff = readInt(); in parseHeaderItem()
118 mHeaderItem.typeIdsSize = readInt(); in parseHeaderItem()
[all …]
/dalvik/dx/src/com/android/dex/
DTableOfContents.java90 checksum = headerIn.readInt(); in readHeader()
92 fileSize = headerIn.readInt(); in readHeader()
93 int headerSize = headerIn.readInt(); in readHeader()
97 int endianTag = headerIn.readInt(); in readHeader()
101 linkSize = headerIn.readInt(); in readHeader()
102 linkOff = headerIn.readInt(); in readHeader()
103 mapList.off = headerIn.readInt(); in readHeader()
107 stringIds.size = headerIn.readInt(); in readHeader()
108 stringIds.off = headerIn.readInt(); in readHeader()
109 typeIds.size = headerIn.readInt(); in readHeader()
[all …]
DDex.java343 public int readInt() { in readInt() method in Dex.Section
394 int size = readInt(); in readTypeList()
401 int offset = readInt(); in readString()
425 int nameIndex = readInt(); in readFieldId()
432 int nameIndex = readInt(); in readMethodId()
437 int shortyIndex = readInt(); in readProtoId()
438 int returnTypeIndex = readInt(); in readProtoId()
439 int parametersOffset = readInt(); in readProtoId()
444 int offset = readInt(); in readCallSiteId()
458 int type = readInt(); in readClassDef()
[all …]
DEncodedValueReader.java154 public int readInt() { in readInt() method in EncodedValueReader
247 readInt(); in skipValue()
/dalvik/dx/junit-tests/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()
/dalvik/dx/src/com/android/dx/io/instructions/
DCodeInput.java39 public int readInt() throws EOFException; in readInt() method
DShortArrayCodeInput.java60 public int readInt() throws EOFException { in readInt() method in ShortArrayCodeInput
DInstructionCodec.java450 int target = in.readInt(); in FORMAT_30T()
490 int literal = in.readInt(); in FORMAT_31I()
514 int target = baseAddress + in.readInt(); in FORMAT_31T()
550 int index = in.readInt(); in FORMAT_31C()
752 int firstKey = in.readInt(); in FORMAT_PACKED_SWITCH_PAYLOAD()
756 targets[i] = baseAddress + in.readInt(); in FORMAT_PACKED_SWITCH_PAYLOAD()
790 keys[i] = in.readInt(); in FORMAT_SPARSE_SWITCH_PAYLOAD()
794 targets[i] = baseAddress + in.readInt(); in FORMAT_SPARSE_SWITCH_PAYLOAD()
827 int size = in.readInt(); in FORMAT_FILL_ARRAY_DATA_PAYLOAD()
854 array[i] = in.readInt(); in FORMAT_FILL_ARRAY_DATA_PAYLOAD()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java420 int stringIndex = in.readInt(); in mergeTypeIds()
766 int classAnnotationsOffset = indexMap.adjustAnnotationSet(directoryIn.readInt()); in transformAnnotationDirectory()
769 int fieldsSize = directoryIn.readInt(); in transformAnnotationDirectory()
772 int methodsSize = directoryIn.readInt(); in transformAnnotationDirectory()
775 int parameterListSize = directoryIn.readInt(); in transformAnnotationDirectory()
780 annotationsDirectoryOut.writeInt(indexMap.adjustField(directoryIn.readInt())); in transformAnnotationDirectory()
783 annotationsDirectoryOut.writeInt(indexMap.adjustAnnotationSet(directoryIn.readInt())); in transformAnnotationDirectory()
788 annotationsDirectoryOut.writeInt(indexMap.adjustMethod(directoryIn.readInt())); in transformAnnotationDirectory()
792 indexMap.adjustAnnotationSet(directoryIn.readInt())); in transformAnnotationDirectory()
797 annotationsDirectoryOut.writeInt(indexMap.adjustMethod(directoryIn.readInt())); in transformAnnotationDirectory()
[all …]
DIndexMap.java299 EncodedValueCodec.writeSignedIntegralValue(out, ENCODED_INT, reader.readInt()); in transform()
/dalvik/dx/src/com/android/dx/io/
DDexIndexPrinter.java98 int size = in.readInt(); in printTypeLists()