Searched refs:MapItem (Results 1 – 13 of 13) sorted by relevance
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | MapList.java | 30 public List<MapItem> mapItems; 47 mapItems = new ArrayList<MapItem>(size); in read() 49 MapItem mapItem = new MapItem(); in read() 62 for (MapItem mapItem : mapItems) { in read() 65 case MapItem.TYPE_HEADER_ITEM: in read() 68 case MapItem.TYPE_STRING_ID_ITEM: in read() 75 case MapItem.TYPE_TYPE_ID_ITEM: in read() 82 case MapItem.TYPE_PROTO_ID_ITEM: in read() 89 case MapItem.TYPE_FIELD_ID_ITEM: in read() 96 case MapItem.TYPE_METHOD_ID_ITEM: in read() [all …]
|
D | RawDexFile.java | 88 for (MapItem mapItem : mapList.mapItems) { in write() 90 case MapItem.TYPE_STRING_ID_ITEM: in write() 97 case MapItem.TYPE_STRING_DATA_ITEM: in write() 103 case MapItem.TYPE_METHOD_ID_ITEM: in write() 110 case MapItem.TYPE_FIELD_ID_ITEM: in write() 117 case MapItem.TYPE_PROTO_ID_ITEM: in write() 124 case MapItem.TYPE_TYPE_ID_ITEM: in write() 131 case MapItem.TYPE_TYPE_LIST: in write() 142 for (MapItem mapItem : mapList.mapItems) { in write() 144 case MapItem.TYPE_HEADER_ITEM: in write() [all …]
|
D | OffsetTracker.java | 302 MapItem typeListMapItem = new MapItem(); in addTypeListsToMapFile() 305 typeListMapItem.type = MapItem.TYPE_TYPE_LIST; in addTypeListsToMapFile() 311 for (MapItem mapItem : rawDexFile.mapList.mapItems) { in addTypeListsToMapFile() 312 if (mapItem.type == MapItem.TYPE_STRING_DATA_ITEM) { in addTypeListsToMapFile() 328 MapItem fieldMapItem = new MapItem(); in addFieldIdsToHeaderAndMapFile() 331 fieldMapItem.type = MapItem.TYPE_FIELD_ID_ITEM; in addFieldIdsToHeaderAndMapFile() 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()
|
D | MapItem.java | 21 public class MapItem implements RawDexObject { class
|
/art/dexlayout/ |
D | dex_writer.h | 39 struct MapItem { struct 42 MapItem() = default; 43 MapItem(uint32_t type, uint32_t size, size_t offset) in MapItem() function 47 bool operator>(const MapItem& other) const { 57 std::priority_queue<MapItem, std::vector<MapItem>, std::greater<MapItem>> { argument 59 void AddIfNotEmpty(const MapItem& item);
|
D | dex_writer.cc | 715 const MapItem& item = queue->top(); in WriteMapItems() 716 dex::MapItem map_item; in WriteMapItems() 730 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeHeaderItem, 1, 0)); in GenerateAndWriteMapItems() 731 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeStringIdItem, in GenerateAndWriteMapItems() 734 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeTypeIdItem, in GenerateAndWriteMapItems() 737 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeProtoIdItem, in GenerateAndWriteMapItems() 740 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeFieldIdItem, in GenerateAndWriteMapItems() 743 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeMethodIdItem, in GenerateAndWriteMapItems() 746 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeClassDefItem, in GenerateAndWriteMapItems() 749 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeCallSiteIdItem, in GenerateAndWriteMapItems() [all …]
|
D | dex_ir.h | 55 class MapItem; variable 107 virtual void Dispatch(MapItem* map_item) = 0; 1329 class MapItem : public Item { 1334 DISALLOW_COPY_AND_ASSIGN(MapItem);
|
D | dex_ir_builder.cc | 337 const dex::MapItem* item = map->list_ + i; in CheckAndSetRemainingOffsets() 556 const dex::MapItem* item = map->list_ + i; in CreateCallSitesAndMethodHandles()
|
/art/libdexfile/dex/ |
D | dex_file_structs.h | 34 struct MapItem { struct 43 MapItem list_[1]; argument 45 size_t Size() const { return sizeof(uint32_t) + (size_ * sizeof(MapItem)); } in Size()
|
D | dex_file_tracking_registrar.cc | 234 const dex::MapItem& map_item = map_list->list_[map_ctr]; in SetAllStringDataRegistration() 236 const dex::MapItem& next_map_item = map_list->list_[map_ctr + 1]; in SetAllStringDataRegistration()
|
D | dex_file.cc | 49 using dex::MapItem; 183 size_t map_limit = header_->map_off_ + count * sizeof(MapItem); in InitializeSectionsFromMapList() 191 const MapItem& map_item = map_list->list_[i]; in InitializeSectionsFromMapList()
|
D | dex_file_verifier.cc | 394 const dex::MapItem* item = map->list_; in CheckMap() 404 if (!CheckListSize(item, count, sizeof(dex::MapItem), "map size")) { in CheckMap() 1995 const dex::MapItem* item = map->list_; in CheckIntraSection() 2059 ptr_ += sizeof(uint32_t) + (map->size_ * sizeof(dex::MapItem)); in CheckIntraSection() 2060 offset = section_offset + sizeof(uint32_t) + (map->size_ * sizeof(dex::MapItem)); in CheckIntraSection() 2953 const dex::MapItem* item = map->list_; in CheckInterSection()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 678 RoundUp(hiddenapi_class_data_.size(), kMapListAlignment) + sizeof(dex::MapItem); in Encode() 811 dex::MapItem& old_item = map->list_[map->size_ - 1]; in CreateMapListWithNewItem() 817 dex::MapItem new_item; in CreateMapListWithNewItem() 828 Append(&new_item, sizeof(dex::MapItem)); in CreateMapListWithNewItem()
|