Searched refs:HeaderItem (Results 1 – 7 of 7) sorted by relevance
81 stringCount = readSmallUint(HeaderItem.STRING_COUNT_OFFSET); in DexBackedDexFile()82 stringStartOffset = readSmallUint(HeaderItem.STRING_START_OFFSET); in DexBackedDexFile()83 typeCount = readSmallUint(HeaderItem.TYPE_COUNT_OFFSET); in DexBackedDexFile()84 typeStartOffset = readSmallUint(HeaderItem.TYPE_START_OFFSET); in DexBackedDexFile()85 protoCount = readSmallUint(HeaderItem.PROTO_COUNT_OFFSET); in DexBackedDexFile()86 protoStartOffset = readSmallUint(HeaderItem.PROTO_START_OFFSET); in DexBackedDexFile()87 fieldCount = readSmallUint(HeaderItem.FIELD_COUNT_OFFSET); in DexBackedDexFile()88 fieldStartOffset = readSmallUint(HeaderItem.FIELD_START_OFFSET); in DexBackedDexFile()89 methodCount = readSmallUint(HeaderItem.METHOD_COUNT_OFFSET); in DexBackedDexFile()90 methodStartOffset = readSmallUint(HeaderItem.METHOD_START_OFFSET); in DexBackedDexFile()[all …]
41 import org.jf.dexlib2.dexbacked.raw.HeaderItem;607 int classCount = readSmallUint(dexOffset + HeaderItem.CLASS_COUNT_OFFSET);
37 import org.jf.dexlib2.dexbacked.raw.HeaderItem;84 int dexVersion = HeaderItem.getVersion(buf, offset); in verifyDexHeader()93 if (!HeaderItem.isSupportedDexVersion(dexVersion)) { in verifyDexHeader()97 int endian = HeaderItem.getEndian(buf, offset); in verifyDexHeader()98 if (endian == HeaderItem.BIG_ENDIAN_TAG) { in verifyDexHeader()102 if (endian != HeaderItem.LITTLE_ENDIAN_TAG) { in verifyDexHeader()
48 @Nonnull public final HeaderItem headerItem;52 this.headerItem = new HeaderItem(this); in RawDexFile()57 this.headerItem = new HeaderItem(this); in RawDexFile()
42 public class HeaderItem { class88 public HeaderItem(@Nonnull RawDexFile dexFile) { in HeaderItem() method in HeaderItem
193 return HeaderItem.ITEM_SIZE +254 DexDataWriter indexWriter = outputAt(dest, HeaderItem.ITEM_SIZE);293 InputStream input = dataStore.readAt(HeaderItem.SIGNATURE_DATA_START_OFFSET);301 if (signature.length != HeaderItem.SIGNATURE_SIZE) {306 OutputStream output = dataStore.outputAt(HeaderItem.SIGNATURE_OFFSET);315 InputStream input = dataStore.readAt(HeaderItem.CHECKSUM_DATA_START_OFFSET);323 OutputStream output = dataStore.outputAt(HeaderItem.CHECKSUM_OFFSET);1278 writer.write(HeaderItem.getMagicForApi(opcodes.api));1287 writer.writeInt(HeaderItem.ITEM_SIZE);1288 writer.writeInt(HeaderItem.LITTLE_ENDIAN_TAG);
93 annotators.put(mapItem.getType(), HeaderItem.makeAnnotator(this, mapItem)); in DexAnnotator()