Searched refs:map_item (Results 1 – 4 of 4) sorted by relevance
234 const dex::MapItem& map_item = map_list->list_[map_ctr]; in SetAllStringDataRegistration() local235 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()
192 const MapItem& map_item = map_list->list_[i]; in InitializeSectionsFromMapList() local193 if (map_item.type_ == kDexTypeMethodHandleItem) { in InitializeSectionsFromMapList()194 method_handles_ = reinterpret_cast<const MethodHandleItem*>(Begin() + map_item.offset_); in InitializeSectionsFromMapList()195 num_method_handles_ = map_item.size_; in InitializeSectionsFromMapList()196 } else if (map_item.type_ == kDexTypeCallSiteIdItem) { in InitializeSectionsFromMapList()197 call_site_ids_ = reinterpret_cast<const CallSiteIdItem*>(Begin() + map_item.offset_); in InitializeSectionsFromMapList()198 num_call_site_ids_ = map_item.size_; in InitializeSectionsFromMapList()199 } else if (map_item.type_ == kDexTypeHiddenapiClassData) { in InitializeSectionsFromMapList()200 hiddenapi_class_data_ = GetHiddenapiClassDataAtOffset(map_item.offset_); in InitializeSectionsFromMapList()
716 dex::MapItem map_item; in WriteMapItems() local717 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()
107 virtual void Dispatch(MapItem* map_item) = 0;