Home
last modified time | relevance | path

Searched refs:mapItem (Results 1 – 23 of 23) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/
DDexAnnotator.java92 for (MapItem mapItem: dexFile.getMapItems()) { in DexAnnotator()
93 switch (mapItem.getType()) { in DexAnnotator()
95 annotators.put(mapItem.getType(), HeaderItem.makeAnnotator(this, mapItem)); in DexAnnotator()
98 annotators.put(mapItem.getType(), StringIdItem.makeAnnotator(this, mapItem)); in DexAnnotator()
101 annotators.put(mapItem.getType(), TypeIdItem.makeAnnotator(this, mapItem)); in DexAnnotator()
104 annotators.put(mapItem.getType(), ProtoIdItem.makeAnnotator(this, mapItem)); in DexAnnotator()
107 annotators.put(mapItem.getType(), FieldIdItem.makeAnnotator(this, mapItem)); in DexAnnotator()
110 annotators.put(mapItem.getType(), MethodIdItem.makeAnnotator(this, mapItem)); in DexAnnotator()
113 annotators.put(mapItem.getType(), ClassDefItem.makeAnnotator(this, mapItem)); in DexAnnotator()
116 annotators.put(mapItem.getType(), MapItem.makeAnnotator(this, mapItem)); in DexAnnotator()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java200 MapItem mapItem = getMapItemForSection(ItemType.CALL_SITE_ID_ITEM);
201 if (mapItem == null || callSiteIndex >= mapItem.getItemCount()) {
204 return mapItem.getOffset() + callSiteIndex * CallSiteIdItem.ITEM_SIZE;
208 MapItem mapItem = getMapItemForSection(ItemType.METHOD_HANDLE_ITEM);
209 if (mapItem == null || methodHandleIndex >= mapItem.getItemCount()) {
212 return mapItem.getOffset() + methodHandleIndex * MethodHandleItem.ITEM_SIZE;
240 MapItem mapItem = getMapItemForSection(ItemType.CALL_SITE_ID_ITEM);
241 if (mapItem == null) {
244 return mapItem.getItemCount();
248 MapItem mapItem = getMapItemForSection(ItemType.METHOD_HANDLE_ITEM);
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DTypeIdItem.java45 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
46 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
79 MapItem mapItem = dexFile.getMapItemForSection(ItemType.TYPE_ID_ITEM);
80 if (mapItem == null) {
84 int typeCount = mapItem.getItemCount();
DFieldIdItem.java49 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
96 MapItem mapItem = dexFile.getMapItemForSection(ItemType.FIELD_ID_ITEM);
97 if (mapItem == null) {
101 int fieldCount = mapItem.getItemCount();
DStringIdItem.java46 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
106 MapItem mapItem = dexFile.getMapItemForSection(ItemType.STRING_ID_ITEM);
107 if (mapItem == null) {
111 int stringCount = mapItem.getItemCount();
DProtoIdItem.java49 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
99 MapItem mapItem = dexFile.getMapItemForSection(ItemType.PROTO_ID_ITEM);
100 if (mapItem == null) {
104 int protoCount = mapItem.getItemCount();
DMethodIdItem.java49 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
96 MapItem mapItem = dexFile.getMapItemForSection(ItemType.METHOD_ID_ITEM);
97 if (mapItem == null) {
101 int methodCount = mapItem.getItemCount();
DClassDefItem.java56 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
57 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
128 MapItem mapItem = dexFile.getMapItemForSection(ItemType.CLASS_DEF_ITEM); in getClasses() local
129 if (mapItem == null) { in getClasses()
133 int classCount = mapItem.getItemCount(); in getClasses()
DSectionAnnotator.java52 public SectionAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in SectionAnnotator() argument
55 this.itemType = mapItem.getType(); in SectionAnnotator()
57 this.sectionOffset = mapItem.getOffset(); in SectionAnnotator()
58 this.itemCount = mapItem.getItemCount(); in SectionAnnotator()
DEncodedArrayItem.java43 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
44 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DStringDataItem.java44 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
45 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DAnnotationSetItem.java46 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DAnnotationSetRefList.java46 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DCallSiteIdItem.java49 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DMethodHandleItem.java49 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DAnnotationItem.java47 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
48 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DTypeListItem.java46 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DMapItem.java74 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
75 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DAnnotationDirectoryItem.java47 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
48 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DClassDataItem.java45 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
46 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DDebugInfoItem.java45 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
46 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DHeaderItem.java157 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
158 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DCodeItem.java69 … static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in makeAnnotator() argument
70 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()