Lines Matching refs:this

146       owner_->current_section_ = this;  in Start()
151 CHECK(owner_->current_section_ == this); in End()
161 CHECK(owner_->current_section_ == this); in GetPosition()
177 CHECK(owner_->current_section_ == this); in WriteFully()
215 sections.push_back(this); in AddSection()
258 this->WriteFully(cache_.data(), cache_.size()); in Write()
264 this->Start(); in WriteCachedSection()
266 this->End(); in WriteCachedSection()
324 this->WriteFully(name.c_str(), name.length() + 1); in Write()
392 this->header_.sh_info = syms_.size(); in Add()
399 this->Start(); in WriteCachedSection()
400 this->WriteFully(syms_.data(), syms_.size() * sizeof(Elf_Sym)); in WriteCachedSection()
401 this->End(); in WriteCachedSection()
466 this->WriteFully(&abiflags_, sizeof(abiflags_)); in Write()
500 this->WriteUint32(4); // namesz. in Write()
501 this->WriteUint32(kBuildIdLen); // descsz. in Write()
502 this->WriteUint32(3); // type = NT_GNU_BUILD_ID. in Write()
503 this->WriteFully("GNU", 4); // name. in Write()
504 digest_start_ = this->Seek(0, kSeekCurrent); in Write()
506 this->WriteFully(std::string(kBuildIdLen, '\0').c_str(), kBuildIdLen); // desc. in Write()
507 DCHECK_EQ(this->GetPosition(), GetSize()); in Write()
517 return this->WriteFully(&v, sizeof(v)); in WriteUint32()
530 rodata_(this, ".rodata", SHT_PROGBITS, SHF_ALLOC, nullptr, 0, kPageSize, 0), in ElfBuilder()
531 text_(this, ".text", SHT_PROGBITS, SHF_ALLOC | SHF_EXECINSTR, nullptr, 0, kPageSize, 0), in ElfBuilder()
532 bss_(this, ".bss", SHT_NOBITS, SHF_ALLOC, nullptr, 0, kPageSize, 0), in ElfBuilder()
533 dex_(this, ".dex", SHT_NOBITS, SHF_ALLOC, nullptr, 0, kPageSize, 0), in ElfBuilder()
534 dynstr_(this, ".dynstr", SHF_ALLOC, kPageSize), in ElfBuilder()
535 dynsym_(this, ".dynsym", SHT_DYNSYM, SHF_ALLOC, &dynstr_), in ElfBuilder()
536 hash_(this, ".hash", SHT_HASH, SHF_ALLOC, &dynsym_, 0, sizeof(Elf_Word), sizeof(Elf_Word)), in ElfBuilder()
537 dynamic_(this, ".dynamic", SHT_DYNAMIC, SHF_ALLOC, &dynstr_, 0, kPageSize, sizeof(Elf_Dyn)), in ElfBuilder()
538 eh_frame_(this, ".eh_frame", SHT_PROGBITS, SHF_ALLOC, nullptr, 0, kPageSize, 0), in ElfBuilder()
539 eh_frame_hdr_(this, ".eh_frame_hdr", SHT_PROGBITS, SHF_ALLOC, nullptr, 0, 4, 0), in ElfBuilder()
540 strtab_(this, ".strtab", 0, 1), in ElfBuilder()
541 symtab_(this, ".symtab", SHT_SYMTAB, 0, &strtab_), in ElfBuilder()
542 debug_frame_(this, ".debug_frame", SHT_PROGBITS, 0, nullptr, 0, sizeof(Elf_Addr), 0), in ElfBuilder()
543 debug_info_(this, ".debug_info", SHT_PROGBITS, 0, nullptr, 0, 1, 0), in ElfBuilder()
544 debug_line_(this, ".debug_line", SHT_PROGBITS, 0, nullptr, 0, 1, 0), in ElfBuilder()
545 shstrtab_(this, ".shstrtab", 0, 1), in ElfBuilder()
546 abiflags_(this, ".MIPS.abiflags", SHT_MIPS_ABIFLAGS, SHF_ALLOC, nullptr, 0, kPageSize, 0, in ElfBuilder()
548 build_id_(this, ".note.gnu.build-id", SHT_NOTE, SHF_ALLOC, nullptr, 0, 4, 0), in ElfBuilder()
595 std::unique_ptr<Section> s(new Section(this, name, SHT_OAT_PATCH, 0, nullptr, 0, 1, 0)); in WritePatches()
603 std::unique_ptr<Section> s(new Section(this, name, SHT_PROGBITS, 0, nullptr, 0, 1, 0)); in WriteSection()