Lines Matching defs:sections_
501 MachO() : sections_(6) { }
504 sections_.Add(section);
505 return sections_.length() - 1;
598 cmd->nsects = sections_.length();
611 w->CreateSlotsHere<MachOSection::Header>(sections_.length());
614 for (int section = 0; section < sections_.length(); ++section) {
615 sections_[section]->PopulateHeader(headers.at(section));
616 sections_[section]->WriteBody(headers.at(section), w);
622 ZoneList<MachOSection*> sections_;
630 ELF() : sections_(6) {
631 sections_.Add(new ELFSection("", ELFSection::TYPE_NULL, 0));
632 sections_.Add(new StringTable(".shstrtab"));
642 return sections_[index];
646 sections_.Add(section);
647 section->set_index(sections_.length() - 1);
648 return sections_.length() - 1;
707 header->sht_entry_num = sections_.length();
716 w->CreateSlotsHere<ELFSection::Header>(sections_.length());
721 for (int i = 0, length = sections_.length();
724 sections_[i]->PopulateHeader(headers.at(i), strtab);
737 for (int i = 0, length = sections_.length();
740 sections_[i]->WriteBody(headers.at(i), w);
744 ZoneList<ELFSection*> sections_;