Home
last modified time | relevance | path

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

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DRawDexFile.java88 for (MapItem mapItem : mapList.mapItems) { in write()
89 switch (mapItem.type) { in write()
91 if (mapItem.size != stringIds.size()) { in write()
93 mapItem.size = stringIds.size(); in write()
98 if (mapItem.size != stringDatas.size()) { in write()
100 mapItem.size = stringDatas.size(); in write()
104 if (mapItem.size != methodIds.size()) { in write()
106 mapItem.size = methodIds.size(); in write()
111 if (mapItem.size != fieldIds.size()) { in write()
113 mapItem.size = fieldIds.size(); in write()
[all …]
DMapList.java49 MapItem mapItem = new MapItem(); in read() local
50 mapItems.add(mapItem); in read()
51 mapItem.read(file); in read()
62 for (MapItem mapItem : mapItems) { in read()
63 file.seek(mapItem.offset.getOriginalOffset()); in read()
64 switch (mapItem.type) { in read()
69 for (int i = 0; i < mapItem.size; i++) { in read()
76 for (int i = 0; i < mapItem.size; i++) { in read()
83 for (int i = 0; i < mapItem.size; i++) { in read()
90 for (int i = 0; i < mapItem.size; i++) { in read()
[all …]
DOffsetTracker.java311 for (MapItem mapItem : rawDexFile.mapList.mapItems) { in addTypeListsToMapFile()
312 if (mapItem.type == MapItem.TYPE_STRING_DATA_ITEM) { in addTypeListsToMapFile()
337 for (MapItem mapItem : rawDexFile.mapList.mapItems) { in addFieldIdsToHeaderAndMapFile()
338 if (mapItem.type == MapItem.TYPE_METHOD_ID_ITEM) { in addFieldIdsToHeaderAndMapFile()
388 for (MapItem mapItem : rawDexFile.mapList.mapItems) { in updateOffsetsInHeaderAndMapFile()
389 if (mapItem.offset.pointsToThisOffsettable(prevFirstOffsettable)) { in updateOffsetsInHeaderAndMapFile()
390 Log.info("Updating offset in MapItem (type: " + mapItem.type + ") after " in updateOffsetsInHeaderAndMapFile()
392 mapItem.offset.pointToNew(newFirstOffsettable); in updateOffsetsInHeaderAndMapFile()