Home
last modified time | relevance | path

Searched refs:Container (Results 1 – 25 of 101) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DAttrIterator.h32 template <typename SpecificAttr, typename Container = AttrVec>
34 using Iterator = typename Container::const_iterator;
99 template <typename SpecificAttr, typename Container>
100 inline specific_attr_iterator<SpecificAttr, Container>
104 template <typename SpecificAttr, typename Container>
105 inline specific_attr_iterator<SpecificAttr, Container>
106 specific_attr_end(const Container& container) { in specific_attr_end()
110 template <typename SpecificAttr, typename Container>
111 inline bool hasSpecificAttr(const Container& container) { in hasSpecificAttr()
115 template <typename SpecificAttr, typename Container>
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecordMapping.h23 CodeViewContainer Container) in SymbolRecordMapping() argument
24 : IO(Reader), Container(Container) {} in SymbolRecordMapping()
26 CodeViewContainer Container) in SymbolRecordMapping() argument
27 : IO(Writer), Container(Container) {} in SymbolRecordMapping()
41 CodeViewContainer Container; variable
H A DSymbolDeserializer.h26 MappingInfo(ArrayRef<uint8_t> RecordData, CodeViewContainer Container) in MappingInfo()
28 Mapping(Reader, Container) {} in MappingInfo()
56 CodeViewContainer Container) in SymbolDeserializer() argument
57 : Delegate(Delegate), Container(Container) {} in SymbolDeserializer()
65 Mapping = std::make_unique<MappingInfo>(Record.content(), Container); in visitSymbolBegin()
93 CodeViewContainer Container; variable
H A DSymbolDumper.h30 CodeViewContainer Container, in CVSymbolDumper() argument
33 : W(W), Types(Types), Container(Container), in CVSymbolDumper()
52 CodeViewContainer Container; variable
H A DSymbolSerializer.h49 SymbolSerializer(BumpPtrAllocator &Storage, CodeViewContainer Container);
53 CodeViewContainer Container) { in writeOneSymbol() argument
56 SymbolSerializer Serializer(Storage, Container); in writeOneSymbol()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dstack71 template<class Container>
72 stack(Container) -> stack<typename Container::value_type, Container>; // C++17
81 stack(Container, Allocator) -> stack<typename Container::value_type, Container>; // C++17
93 bool operator==(const stack<T, Container>& x, const stack<T, Container>& y);
95 bool operator< (const stack<T, Container>& x, const stack<T, Container>& y);
97 bool operator!=(const stack<T, Container>& x, const stack<T, Container>& y);
99 bool operator> (const stack<T, Container>& x, const stack<T, Container>& y);
101 bool operator>=(const stack<T, Container>& x, const stack<T, Container>& y);
103 bool operator<=(const stack<T, Container>& x, const stack<T, Container>& y);
106 operator<=>(const stack<T, Container>& x, const stack<T, Container>& y); // since C++20
[all …]
H A Dqueue80 template<class Container>
81 queue(Container) -> queue<typename Container::value_type, Container>; // C++17
90 queue(Container, Allocator) -> queue<typename Container::value_type, Container>; // C++17
102 bool operator==(const queue<T, Container>& x,const queue<T, Container>& y);
105 bool operator< (const queue<T, Container>& x,const queue<T, Container>& y);
108 bool operator!=(const queue<T, Container>& x,const queue<T, Container>& y);
111 bool operator> (const queue<T, Container>& x,const queue<T, Container>& y);
114 bool operator>=(const queue<T, Container>& x,const queue<T, Container>& y);
117 bool operator<=(const queue<T, Container>& x,const queue<T, Container>& y);
124 void swap(queue<T, Container>& x, queue<T, Container>& y)
[all …]
H A Diterator313 template <class Container>
318 Container* container;
334 template <class Container> back_insert_iterator<Container> back_inserter(Container& x); // constex…
336 template <class Container>
341 Container* container;
357 template <class Container> front_insert_iterator<Container> front_inserter(Container& x); // const…
359 template <class Container>
364 Container* container;
381 template <class Container>
382 insert_iterator<Container> inserter(Container& x, typename Container::iterator i); // until C++20
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordsSlice.cpp39 if (Container == nullptr) in addRecord()
40 Container = addObjCCategory(Super, {}); in addRecord()
41 return addObjCIVar(Container, IVar, Linkage); in addRecord()
54 if (Container == nullptr) in findContainer()
55 Container = findObjCCategory(Super, ""); in findContainer()
56 return Container; in findContainer()
60 R *findRecord(K Key, const C &Container) { in findRecord() argument
61 const auto *Record = Container.find(Key); in findRecord()
62 if (Record == Container.end()) in findRecord()
111 if (!Container) in findObjCIVar()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A Diterator_range.h49 template <typename Container>
51 template <typename Container,
53 detail::IterOfRange<Container>, IteratorT>::value> * = nullptr>
55 iterator_range(Container &&c)
67 template <typename Container>
68 iterator_range(Container &&) -> iterator_range<detail::IterOfRange<Container>>;
H A DSTLExtras.h1669 template <typename Container> inline void sort(Container &&C) {
1681 template <typename Container, typename Compare>
1682 inline void sort(Container &&C, Compare Comp) {
2025 void erase_if(Container &C, UnaryPredicate P) {
2033 void erase(Container &C, ValueType V) {
2039 void erase_value(Container &C, ValueType V) {
2046 template <typename Container, typename Range>
2047 void append_range(Container &C, Range &&R) {
2052 template <typename Container, typename... Args>
2062 void replace(Container &Cont, typename Container::iterator ContIt,
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DMapLattice.h40 using Container = llvm::DenseMap<Key, ElementLattice>; variable
41 Container C;
46 using value_type = typename Container::value_type;
47 using iterator = typename Container::iterator;
48 using const_iterator = typename Container::const_iterator;
52 explicit MapLattice(Container C) { C = std::move(C); } in MapLattice()
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2305 return Matcher<Container>(new Impl<const Container&>(size_matcher_));
2353 return Matcher<Container>(new Impl<const Container&>(distance_matcher_));
2360 Container)>
2409 template <typename Container>
2695 template <typename Container>
2785 template <typename Container>
2811 template <typename Container>
2837 template <typename Container>
2878 return Matcher<Container>(new ContainsTimesMatcherImpl<const Container&>(
3745 return Matcher<Container>(new ElementsAreMatcherImpl<const Container&>(
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DAPI.cpp415 ObjCContainerRecord *Container, StringRef Name, StringRef USR, in addObjCMethod() argument
431 Container->USR, Container->Name, Container->getKind(), Container); in addObjCMethod()
433 return Container->Methods.emplace_back(std::move(Record)).get(); in addObjCMethod()
437 ObjCContainerRecord *Container, StringRef Name, StringRef USR, in addObjCProperty() argument
455 Container->USR, Container->Name, Container->getKind(), Container); in addObjCProperty()
457 return Container->Properties.emplace_back(std::move(Record)).get(); in addObjCProperty()
461 ObjCContainerRecord *Container, StringRef Name, StringRef USR, in addObjCInstanceVariable() argument
469 Container->USR, Container->Name, Container->getKind(), Container); in addObjCInstanceVariable()
471 return Container->Ivars.emplace_back(std::move(Record)).get(); in addObjCInstanceVariable()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h497 template <typename Container>
517 template <typename Container>
518 void EmitRecordWithAbbrev(unsigned Abbrev, const Container &Vals) { in EmitRecordWithAbbrev()
527 template <typename Container>
528 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob()
532 template <typename Container>
533 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob()
541 template <typename Container>
542 void EmitRecordWithArray(unsigned Abbrev, const Container &Vals, in EmitRecordWithArray()
546 template <typename Container>
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopIterator.h115 LoopBlocksDFS(Loop *Container) : in LoopBlocksDFS() argument
116 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
117 PostBlocks.reserve(Container->getNumBlocks()); in LoopBlocksDFS()
177 LoopBlocksRPO(Loop *Container) : DFS(Container) {} in LoopBlocksRPO() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DSymbol.h71 typename C::iterator addEntry(C &Container, const Target &Targ) { in addEntry() argument
73 lower_bound(Container, Targ, [](const Target &LHS, const Target &RHS) { in addEntry()
76 if ((Iter != std::end(Container)) && !(Targ < *Iter)) in addEntry()
79 return Container.insert(Iter, Targ); in addEntry()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp68 CodeViewContainer Container) const { in commit()
69 assert(Writer.getOffset() % alignOf(Container) == 0 && in commit()
78 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
H A DSymbolSerializer.cpp21 CodeViewContainer Container) in SymbolSerializer() argument
23 Writer(Stream), Mapping(Writer, Container) {} in SymbolSerializer()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DDXContainer.h300 const DXContainer &Container; variable
312 : Container(C), OffsetIt(It) { in PartIterator()
313 if (OffsetIt == Container.PartOffsets.end()) in PartIterator()
314 updateIteratorImpl(Container.PartOffsets.back()); in PartIterator()
323 if (OffsetIt != Container.PartOffsets.end()) in updateIterator()
333 if (OffsetIt == Container.PartOffsets.end())
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicType.cpp233 static raw_ostream &printJsonContainer(const ContainerTy &Container, in printJsonContainer() argument
236 if (Container.isEmpty()) { in printJsonContainer()
242 for (auto I = Container.begin(); I != Container.end(); ++I) { in printJsonContainer()
248 if (std::next(I) != Container.end()) in printJsonContainer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp577 auto ConvertDebugInfoForStore = [&](auto &Container) { in rewriteSingleStoreAlloca() argument
578 for (auto *DbgItem : Container) { in rewriteSingleStoreAlloca()
689 auto DbgUpdateForStore = [&](auto &Container) { in promoteSingleBlockAlloca() argument
690 for (auto *DbgItem : Container) { in promoteSingleBlockAlloca()
708 auto DbgUpdateForAlloca = [&](auto &Container) { in promoteSingleBlockAlloca() argument
709 for (auto *DbgItem : Container) in promoteSingleBlockAlloca()
867 auto RemoveDbgDeclares = [&](auto &Container) { in run() argument
868 for (auto &DbgUsers : Container) { in run()
1119 for (auto *DbgItem : Container) in RenamePass()
1179 auto ConvertDbgDeclares = [&](auto &Container) { in RenamePass() argument
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1256 if (!Container) in CollectOverriddenMethodsRecurse()
1284 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
1315 CollectOverriddenMethodsRecurse(Container, Method, Methods, in CollectOverriddenMethods()
1387 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl()
1389 Container = ImplDecl->getClassInterface(); in findPropertyDecl()
1399 for (const auto *I : Container->instance_properties()) { in findPropertyDecl()
1406 for (const auto *I : Container->class_properties()) { in findPropertyDecl()
1418 if (const auto *Found = findMatchingProperty(Container)) in findPropertyDecl()
1429 ClassDecl = cast<ObjCInterfaceDecl>(Container); in findPropertyDecl()
1435 if (Ext == Container) in findPropertyDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp80 const ObjCImplDecl *Container) { in hasUserDefined() argument
81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
540 auto *Container = cast<ObjCImplDecl>(D->getDeclContext()); in VisitObjCPropertyImplDecl() local
548 Loc = Container->getLocation(); in VisitObjCPropertyImplDecl()
560 if (MD->isPropertyAccessor() && !hasUserDefined(MD, Container)) in VisitObjCPropertyImplDecl()
561 IndexCtx.handleDecl(MD, Loc, AccessorMethodRoles, {}, Container); in VisitObjCPropertyImplDecl()
564 if (MD->isPropertyAccessor() && !hasUserDefined(MD, Container)) in VisitObjCPropertyImplDecl()
565 IndexCtx.handleDecl(MD, Loc, AccessorMethodRoles, {}, Container); in VisitObjCPropertyImplDecl()
578 IvarLoc = Container->getLocation(); in VisitObjCPropertyImplDecl()
/freebsd-14.2/contrib/googletest/googletest/include/gtest/
H A Dgtest-param-test.h308 template <class Container>
309 internal::ParamGenerator<typename Container::value_type> ValuesIn( in ValuesIn()
310 const Container& container) { in ValuesIn()

12345