Home
last modified time | relevance | path

Searched refs:map_item (Results 1 – 4 of 4) sorted by relevance

/art/libdexfile/dex/
Ddex_file_tracking_registrar.cc234 const dex::MapItem& map_item = map_list->list_[map_ctr]; in SetAllStringDataRegistration() local
235 if (map_item.type_ == DexFile::kDexTypeStringDataItem) { in SetAllStringDataRegistration()
237 …const void* string_data_begin = reinterpret_cast<const void*>(dex_file_->Begin() + map_item.offset… in SetAllStringDataRegistration()
238 size_t string_data_size = next_map_item.offset_ - map_item.offset_; in SetAllStringDataRegistration()
Ddex_file.cc191 const MapItem& map_item = map_list->list_[i]; in InitializeSectionsFromMapList() local
192 if (map_item.type_ == kDexTypeMethodHandleItem) { in InitializeSectionsFromMapList()
193 method_handles_ = reinterpret_cast<const MethodHandleItem*>(Begin() + map_item.offset_); in InitializeSectionsFromMapList()
194 num_method_handles_ = map_item.size_; in InitializeSectionsFromMapList()
195 } else if (map_item.type_ == kDexTypeCallSiteIdItem) { in InitializeSectionsFromMapList()
196 call_site_ids_ = reinterpret_cast<const CallSiteIdItem*>(Begin() + map_item.offset_); in InitializeSectionsFromMapList()
197 num_call_site_ids_ = map_item.size_; in InitializeSectionsFromMapList()
198 } else if (map_item.type_ == kDexTypeHiddenapiClassData) { in InitializeSectionsFromMapList()
199 hiddenapi_class_data_ = GetHiddenapiClassDataAtOffset(map_item.offset_); in InitializeSectionsFromMapList()
/art/dexlayout/
Ddex_writer.cc716 dex::MapItem map_item; in WriteMapItems() local
717 map_item.type_ = item.type_; in WriteMapItems()
718 map_item.size_ = item.size_; in WriteMapItems()
719 map_item.offset_ = item.offset_; in WriteMapItems()
720 map_item.unused_ = 0u; in WriteMapItems()
721 stream->Write(&map_item, sizeof(map_item)); in WriteMapItems()
Ddex_ir.h107 virtual void Dispatch(MapItem* map_item) = 0;