Lines Matching refs:sections_

477   explicit MachO(Zone* zone) : zone_(zone), sections_(6, zone) { }  in MachO()
480 sections_.Add(section, zone_); in AddSection()
481 return sections_.length() - 1; in AddSection()
574 cmd->nsects = sections_.length(); in WriteSegmentCommand()
587 w->CreateSlotsHere<MachOSection::Header>(sections_.length()); in WriteSections()
590 for (int section = 0; section < sections_.length(); ++section) { in WriteSections()
591 sections_[section]->PopulateHeader(headers.at(section)); in WriteSections()
592 sections_[section]->WriteBody(headers.at(section), w); in WriteSections()
598 ZoneList<MachOSection*> sections_; member in v8::internal::BASE_EMBEDDED
606 explicit ELF(Zone* zone) : zone_(zone), sections_(6, zone) { in ELF()
607 sections_.Add(new(zone) ELFSection("", ELFSection::TYPE_NULL, 0), zone); in ELF()
608 sections_.Add(new(zone) ELFStringTable(".shstrtab"), zone); in ELF()
618 return sections_[index]; in SectionAt()
622 sections_.Add(section, zone_); in AddSection()
623 section->set_index(sections_.length() - 1); in AddSection()
624 return sections_.length() - 1; in AddSection()
684 header->sht_entry_num = sections_.length(); in WriteHeader()
693 w->CreateSlotsHere<ELFSection::Header>(sections_.length()); in WriteSectionTable()
698 for (int i = 0, length = sections_.length(); in WriteSectionTable()
701 sections_[i]->PopulateHeader(headers.at(i), strtab); in WriteSectionTable()
714 for (int i = 0, length = sections_.length(); in WriteSections()
717 sections_[i]->WriteBody(headers.at(i), w); in WriteSections()
722 ZoneList<ELFSection*> sections_; member in v8::internal::BASE_EMBEDDED