Lines Matching refs:OffsetToPtr
152 ALWAYS_INLINE const T* OffsetToPtr(size_t offset) { in OffsetToPtr() function in art::dex::DexFileVerifier
173 return OffsetToPtr(size_); in EndOfFile()
183 OffsetToPtr<dex::StringId>(header_->string_ids_off_)[string_idx.index_]; in GetString()
187 const uint8_t* ptr = OffsetToPtr(string_id.string_data_off_); in GetString()
196 const dex::TypeId& type_id = OffsetToPtr<dex::TypeId>(header_->type_ids_off_)[class_idx.index_]; in GetClass()
208 const dex::FieldId& field_id = OffsetToPtr<dex::FieldId>(header_->field_ids_off_)[idx]; in GetFieldDescription()
220 const dex::MethodId& method_id = OffsetToPtr<dex::MethodId>(header_->method_ids_off_)[idx]; in GetMethodDescription()
731 : ArrayRef<const uint8_t>(OffsetToPtr(header_->data_off_), header_->data_size_); in CheckHeader()
737 const dex::MapList* map = OffsetToPtr<dex::MapList>(header_->map_off_); in CheckMap()
918 OffsetToPtr<dex::FieldId>(header_->field_ids_off_)[idx].class_idx_; in CheckClassDataItemField()
945 const dex::MethodId& method_id = OffsetToPtr<dex::MethodId>(header_->method_ids_off_)[idx]; in CheckClassDataItemMethod()
1002 if (!CheckListSize(OffsetToPtr(offset), aligned_offset - offset, sizeof(uint8_t), "section")) { in CheckPadding()
2388 const dex::MapList* map = OffsetToPtr<dex::MapList>(header_->map_off_); in CheckIntraSection()
2673 size_t index = item - OffsetToPtr<dex::TypeId>(header_->type_ids_off_); in CheckInterTypeIdItem()
3009 ClassAccessor accessor(*dex_file_, OffsetToPtr(item->class_data_off_)); in CheckInterClassDefItem()
3025 const uint8_t* data = OffsetToPtr(item->annotations_off_); in CheckInterClassDefItem()
3128 const dex::AnnotationItem* annotation = OffsetToPtr<dex::AnnotationItem>(*offsets); in CheckInterAnnotationSetItem()
3299 ptr_ = OffsetToPtr(new_offset); in CheckInterSectionIterate()
3417 const dex::StringId* string_ids = OffsetToPtr<dex::StringId>(header_->string_ids_off_); in CheckInterSection()
3424 const dex::MapList* map = OffsetToPtr<dex::MapList>(header_->map_off_); in CheckInterSection()
3592 const dex::StringId* first = OffsetToPtr<dex::StringId>(header_->string_ids_off_); in FindStringRangesForMethodNames()
3596 const uint8_t* str_data_ptr = OffsetToPtr(id.string_data_off_); in FindStringRangesForMethodNames()