Home
last modified time | relevance | path

Searched refs:HeaderItem (Results 1 – 7 of 7) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java81 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 …]
DOatFile.java41 import org.jf.dexlib2.dexbacked.raw.HeaderItem;
607 int classCount = readSmallUint(dexOffset + HeaderItem.CLASS_COUNT_OFFSET);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DDexUtil.java37 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()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DRawDexFile.java48 @Nonnull public final HeaderItem headerItem;
52 this.headerItem = new HeaderItem(this); in RawDexFile()
57 this.headerItem = new HeaderItem(this); in RawDexFile()
DHeaderItem.java42 public class HeaderItem { class
88 public HeaderItem(@Nonnull RawDexFile dexFile) { in HeaderItem() method in HeaderItem
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java193 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);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/
DDexAnnotator.java93 annotators.put(mapItem.getType(), HeaderItem.makeAnnotator(this, mapItem)); in DexAnnotator()