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.
585 std::set<const SectionBase *, SectionCompare> Sections;
591 if (!Sections.empty())
592 return *Sections.begin();
596 void removeSection(const SectionBase *Sec) { Sections.erase(Sec); }
597 void addSection(const SectionBase *Sec) { Sections.insert(Sec); }
1158 std::vector<SecPtr> Sections;
1199 SectionTableRef sections() const { return SectionTableRef(Sections); }
1204 return make_filter_range(make_pointee_range(Sections), sectionIsAlloc);
1212 find_if(Sections, [&](const SecPtr &Sec) { return Sec->Name == Name; });
1213 return SecIt == Sections.end() ? nullptr : SecIt->get();
1228 Sections.emplace_back(std::move(Sec));
1229 Ptr->Index = Sections.size();