Searched refs:map_item (Results 1 – 5 of 5) sorted by relevance
254 const DexFile::MapItem& map_item = map_list->list_[map_ctr]; in SetAllStringDataRegistration() local255 if (map_item.type_ == DexFile::kDexTypeStringDataItem) { in SetAllStringDataRegistration()257 …const void* string_data_begin = reinterpret_cast<const void*>(dex_file_->Begin() + map_item.offset… in SetAllStringDataRegistration()258 size_t string_data_size = next_map_item.offset_ - map_item.offset_; in SetAllStringDataRegistration()
609 const MapItem& map_item = map_list->list_[i]; in InitializeSectionsFromMapList() local610 if (map_item.type_ == kDexTypeMethodHandleItem) { in InitializeSectionsFromMapList()611 method_handles_ = reinterpret_cast<const MethodHandleItem*>(begin_ + map_item.offset_); in InitializeSectionsFromMapList()612 num_method_handles_ = map_item.size_; in InitializeSectionsFromMapList()613 } else if (map_item.type_ == kDexTypeCallSiteIdItem) { in InitializeSectionsFromMapList()614 call_site_ids_ = reinterpret_cast<const CallSiteIdItem*>(begin_ + map_item.offset_); in InitializeSectionsFromMapList()615 num_call_site_ids_ = map_item.size_; in InitializeSectionsFromMapList()
295 const DexFile::MapItem* map_item = map_list->list_; in FindDexFileMapItem() local298 if (map_item->type_ == static_cast<uint16_t>(map_item_type)) { in FindDexFileMapItem()299 *result_item = map_item; in FindDexFileMapItem()302 map_item = BoundsCheckedCast<const DexFile::MapItem*>(map_item + 1, dex_begin, dex_end); in FindDexFileMapItem()303 if (nullptr == map_item) return false; in FindDexFileMapItem()
617 const MapItemContainer& map_item = queue.top(); in WriteMapItem() local618 uint16_buffer[0] = map_item.type_; in WriteMapItem()619 uint32_buffer[0] = map_item.size_; in WriteMapItem()620 uint32_buffer[1] = map_item.offset_; in WriteMapItem()
102 virtual void Dispatch(MapItem* map_item) = 0;