Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Ddex_file_verifier.cc152 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()
[all …]