Searched refs:header_ (Results 1 – 9 of 9) sorted by relevance
/art/runtime/ |
D | dex_file_verifier.cc | 245 uint32_t expected_size = header_->file_size_; in CheckHeader() 253 const uint32_t non_sum = sizeof(header_->magic_) + sizeof(header_->checksum_); in CheckHeader() 254 const uint8_t* non_sum_ptr = reinterpret_cast<const uint8_t*>(header_) + non_sum; in CheckHeader() 256 if (adler_checksum != header_->checksum_) { in CheckHeader() 257 ErrorStringPrintf("Bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader() 262 if (header_->endian_tag_ != DexFile::kDexEndianConstant) { in CheckHeader() 263 ErrorStringPrintf("Unexpected endian_tag: %x", header_->endian_tag_); in CheckHeader() 267 if (header_->header_size_ != sizeof(DexFile::Header)) { in CheckHeader() 268 ErrorStringPrintf("Bad header size: %ud", header_->header_size_); in CheckHeader() 274 CheckValidOffsetAndSize(header_->link_off_, header_->link_size_, "link") && in CheckHeader() [all …]
|
D | dex_file.h | 455 DCHECK(header_ != nullptr) << GetLocation(); in GetHeader() 456 return *header_; in GetHeader() 470 DCHECK(header_ != nullptr) << GetLocation(); in NumStringIds() 471 return header_->string_ids_size_; in NumStringIds() 482 CHECK_LT(&string_id, string_ids_ + header_->string_ids_size_) << GetLocation(); in GetIndexForStringId() 521 DCHECK(header_ != nullptr) << GetLocation(); in NumTypeIds() 522 return header_->type_ids_size_; in NumTypeIds() 533 CHECK_LT(&type_id, type_ids_ + header_->type_ids_size_) << GetLocation(); in GetIndexForTypeId() 560 DCHECK(header_ != nullptr) << GetLocation(); in NumFieldIds() 561 return header_->field_ids_size_; in NumFieldIds() [all …]
|
D | elf_file.cc | 120 header_(nullptr), in ElfFileImpl() 198 size_t program_header_size = header_->e_phoff + (header_->e_phentsize * header_->e_phnum); in Setup() 481 header_ = reinterpret_cast<Elf_Ehdr*>(map_->Begin()); in SetMap() 482 if ((ELFMAG0 != header_->e_ident[EI_MAG0]) in SetMap() 483 || (ELFMAG1 != header_->e_ident[EI_MAG1]) in SetMap() 484 || (ELFMAG2 != header_->e_ident[EI_MAG2]) in SetMap() 485 || (ELFMAG3 != header_->e_ident[EI_MAG3])) { in SetMap() 489 header_->e_ident[EI_MAG0], in SetMap() 490 header_->e_ident[EI_MAG1], in SetMap() 491 header_->e_ident[EI_MAG2], in SetMap() [all …]
|
D | dex_file.cc | 405 header_(reinterpret_cast<const Header*>(base)), in DexFile() 406 string_ids_(reinterpret_cast<const StringId*>(base + header_->string_ids_off_)), in DexFile() 407 type_ids_(reinterpret_cast<const TypeId*>(base + header_->type_ids_off_)), in DexFile() 408 field_ids_(reinterpret_cast<const FieldId*>(base + header_->field_ids_off_)), in DexFile() 409 method_ids_(reinterpret_cast<const MethodId*>(base + header_->method_ids_off_)), in DexFile() 410 proto_ids_(reinterpret_cast<const ProtoId*>(base + header_->proto_ids_off_)), in DexFile() 411 class_defs_(reinterpret_cast<const ClassDef*>(base + header_->class_defs_off_)), in DexFile() 436 if (!IsMagicValid(header_->magic_)) { in CheckMagicAndVersion() 439 << " " << header_->magic_[0] in CheckMagicAndVersion() 440 << " " << header_->magic_[1] in CheckMagicAndVersion() [all …]
|
D | dex_file_verifier.h | 39 header_(&dex_file->GetHeader()), ptr_(nullptr), previous_item_(nullptr) { in DexFileVerifier() 118 const DexFile::Header* const header_; variable
|
D | elf_file_impl.h | 193 Elf_Ehdr* header_; variable
|
/art/compiler/ |
D | elf_builder.h | 60 : header_(), section_index_(0), name_(name), link_(link) { in Section() 61 header_.sh_type = type; in Section() 62 header_.sh_flags = flags; in Section() 63 header_.sh_info = info; in Section() 64 header_.sh_addralign = align; in Section() 65 header_.sh_entsize = entsize; in Section() 83 return &header_; in GetHeader() 87 return &header_; in GetHeader() 104 Elf_Shdr header_;
|
/art/compiler/optimizing/ |
D | nodes.cc | 374 if (!header_->Dominates(back_edge)) { in Populate() 384 blocks_.SetBit(header_->GetBlockId()); in Populate() 391 HGraph* graph = header_->GetGraph(); in Update() 397 if (block->GetLoopInformation() == this && block != header_) { in Update() 407 header_->RemoveInstruction(suspend_check_); in Update() 408 header_->SetLoopInformation(nullptr); in Update() 409 header_ = nullptr; in Update() 414 DCHECK(header_->Dominates(back_edges_.Get(i))); in Update() 424 return header_->GetDominator(); in GetPreHeader() 432 return other.blocks_.IsBitSet(header_->GetBlockId()); in IsIn()
|
D | nodes.h | 389 : header_(header), in HLoopInformation() 396 return header_; in GetHeader() 400 header_ = block; in SetHeader() 473 HBasicBlock* header_; variable
|