Home | History | Annotate | Download | only in src

Lines Matching defs:sections_

503   explicit MachO(Zone* zone) : zone_(zone), sections_(6, zone) { }
506 sections_.Add(section, zone_);
507 return sections_.length() - 1;
600 cmd->nsects = sections_.length();
613 w->CreateSlotsHere<MachOSection::Header>(sections_.length());
616 for (int section = 0; section < sections_.length(); ++section) {
617 sections_[section]->PopulateHeader(headers.at(section));
618 sections_[section]->WriteBody(headers.at(section), w);
624 ZoneList<MachOSection*> sections_;
632 explicit ELF(Zone* zone) : zone_(zone), sections_(6, zone) {
633 sections_.Add(new(zone) ELFSection("", ELFSection::TYPE_NULL, 0), zone);
634 sections_.Add(new(zone) ELFStringTable(".shstrtab"), zone);
644 return sections_[index];
648 sections_.Add(section, zone_);
649 section->set_index(sections_.length() - 1);
650 return sections_.length() - 1;
709 header->sht_entry_num = sections_.length();
718 w->CreateSlotsHere<ELFSection::Header>(sections_.length());
723 for (int i = 0, length = sections_.length();
726 sections_[i]->PopulateHeader(headers.at(i), strtab);
739 for (int i = 0, length = sections_.length();
742 sections_[i]->WriteBody(headers.at(i), w);
747 ZoneList<ELFSection*> sections_;