Home
last modified time | relevance | path

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

/art/runtime/
Dvdex_file.h94 uint32_t section_offset; member
98 : section_kind(kind), section_offset(offset), section_size(size) {} in VdexSectionHeader()
155 GetSectionHeaderAt(i).section_offset + GetSectionHeaderAt(i).section_size); in GetComputedFileSize()
178 Begin() + GetSectionHeader(VdexSection::kChecksumSection).section_offset); in GetDexChecksumsArray()
261 Begin() + GetSectionHeader(VdexSection::kVerifierDepsSection).section_offset, in GetVerifierDepsData()
315 return Begin() + GetSectionHeader(VdexSection::kDexFileSection).section_offset; in DexBegin()
320 return Begin() + GetSectionHeader(VdexSection::kTypeLookupTableSection).section_offset; in TypeLookupTableDataBegin()
Dvdex_file.cc270 sections[VdexSection::kChecksumSection].section_offset = GetChecksumsOffset(); in WriteToDisk()
276 sections[VdexSection::kDexFileSection].section_offset = 0u; in WriteToDisk()
281 sections[VdexSection::kVerifierDepsSection].section_offset = in WriteToDisk()
288 sections[VdexSection::kTypeLookupTableSection].section_offset = in WriteToDisk()
289 sections[VdexSection::kVerifierDepsSection].section_offset + verifier_deps_with_padding_size; in WriteToDisk()
/art/libdexfile/dex/
Ddex_file_verifier.cc2313 uint32_t section_offset = item->offset_; in CheckIntraSection() local
2318 if (!CheckPadding(offset, section_offset, type)) { in CheckIntraSection()
2320 } else if (UNLIKELY(offset > section_offset)) { in CheckIntraSection()
2321 ErrorStringPrintf("Section overlap or out-of-order map: %zx, %x", offset, section_offset); in CheckIntraSection()
2336 if (UNLIKELY(section_offset != 0)) { in CheckIntraSection()
2337 ErrorStringPrintf("Header at %x, not at start of file", section_offset); in CheckIntraSection()
2346 if (!CheckIntraIdSection<type>(section_offset, section_count)) { \ in CheckIntraSection()
2364 if (UNLIKELY(section_offset != header_->map_off_)) { in CheckIntraSection()
2366 section_offset, header_->map_off_); in CheckIntraSection()
2370 offset = section_offset + sizeof(uint32_t) + (map->size_ * sizeof(dex::MapItem)); in CheckIntraSection()
[all …]