Lines Matching defs:Sections
51 ArrayRef<std::unique_ptr<SectionBase>> Sections;
57 : Sections(Secs) {}
60 iterator begin() const { return iterator(Sections.data()); }
61 iterator end() const { return iterator(Sections.data() + Sections.size()); }
62 size_t size() const { return Sections.size(); }
387 std::vector<const SectionBase *> Sections;
478 // Sections start after the header.
586 std::set<const SectionBase *, SectionCompare> Sections;
592 if (!Sections.empty())
593 return *Sections.begin();
597 void removeSection(const SectionBase *Sec) { Sections.erase(Sec); }
598 void addSection(const SectionBase *Sec) { Sections.insert(Sec); }
1162 std::vector<SecPtr> Sections;
1205 SectionTableRef sections() const { return SectionTableRef(Sections); }
1210 return make_filter_range(make_pointee_range(Sections), sectionIsAlloc);
1219 find_if(Sections, [&](const SecPtr &Sec) { return Sec->Name == Name; });
1220 return SecIt == Sections.end() ? nullptr : SecIt->get();
1235 Sections.emplace_back(std::move(Sec));
1236 Ptr->Index = Sections.size();