Lines Matching refs:Header
48 int32_t offset; // Offset relative to the start of the dex file header.
151 if (*size < sizeof(art::DexFile::Header)) {
152 *size = sizeof(art::DexFile::Header);
157 const art::DexFile::Header* header = reinterpret_cast<const art::DexFile::Header*>(addr);
158 uint32_t file_size = header->file_size_;
159 if (art::CompactDexFile::IsMagicValid(header->magic_)) {
165 if (__builtin_add_overflow(header->data_off_, header->data_size_, &computed_file_size)) {
167 android::base::StringPrintf("Corrupt CompactDexFile header in '%s'", location)};
173 } else if (!art::StandardDexFile::IsMagicValid(header->magic_)) {
175 android::base::StringPrintf("Unrecognized dex file header in '%s'", location)};
191 header->checksum_,
227 if (length < offset + sizeof(art::DexFile::Header)) {
246 const art::DexFile::Header* header = reinterpret_cast<const art::DexFile::Header*>(map->data());
248 if (__builtin_add_overflow(offset, header->file_size_, &file_size)) {
250 new ExtDexFileString{android::base::StringPrintf("Corrupt header in '%s'", location)};
272 header->checksum_,
297 const art::CompactDexFile::Header& cdex_header =