Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 72) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.h86 Iterator &operator++() {
94 Iterator operator++(int) {
95 Iterator C = *this;
115 Iterator() = default;
116 Iterator(const Iterator &) = default;
117 Iterator(Iterator &&) = default;
118 Iterator &operator=(const Iterator &) = default;
119 Iterator &operator=(Iterator &&) = default;
120 ~Iterator() = default;
123 friend bool operator==(const Iterator &L, const Iterator<V> &R) {
[all …]
H A Dxray_segmented_array.h81 template <class U> class Iterator {
91 Iterator(const Iterator &) NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
93 Iterator(Iterator &&) NOEXCEPT XRAY_NEVER_INSTRUMENT = default;
94 Iterator &operator=(const Iterator &) XRAY_NEVER_INSTRUMENT = default;
95 Iterator &operator=(Iterator &&) XRAY_NEVER_INSTRUMENT = default;
96 ~Iterator() XRAY_NEVER_INSTRUMENT = default;
127 Iterator Copy(*this);
133 Iterator Copy(*this);
628 return Iterator<T>(Head, 0, Size); in begin()
631 return Iterator<T>(Tail, Size, Size); in end()
[all …]
H A Dxray_log_interface.cpp53 void __xray_log_set_buffer_iterator(XRayBuffer (*Iterator)(XRayBuffer)) in __xray_log_set_buffer_iterator()
56 reinterpret_cast<uintptr_t>(Iterator), memory_order_release); in __xray_log_set_buffer_iterator()
200 auto Iterator = reinterpret_cast<XRayBuffer (*)(XRayBuffer)>( in __xray_log_process_buffers() local
202 auto Buffer = (*Iterator)(XRayBuffer{nullptr, 0}); in __xray_log_process_buffers()
206 Buffer = (*Iterator)(Buffer); in __xray_log_process_buffers()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAllocationOrder.h44 class Iterator final {
49 Iterator(const AllocationOrder &AO, int Pos) : AO(AO), Pos(Pos) {} in Iterator() function
64 Iterator &operator++() {
72 bool operator==(const Iterator &Other) const {
77 bool operator!=(const Iterator &Other) const { return !(*this == Other); }
95 Iterator begin() const { in begin()
96 return Iterator(*this, -(static_cast<int>(Hints.size()))); in begin()
99 Iterator end() const { return Iterator(*this, IterationLimit); } in end()
101 Iterator getOrderLimitEnd(unsigned OrderLimit) const { in getOrderLimitEnd()
105 Iterator Ret(*this, in getOrderLimitEnd()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstrBundleIterator.h53 template <class Iterator> static Iterator getBundleBegin(Iterator I) {
61 template <class Iterator> static Iterator getBundleFinal(Iterator I) {
69 template <class Iterator> static void increment(Iterator &I) {
74 template <class Iterator> static void decrement(Iterator &I) {
81 template <class Iterator> static Iterator getBundleBegin(Iterator I) {
88 template <class Iterator> static Iterator getBundleFinal(Iterator I) {
95 template <class Iterator> static void increment(Iterator &I) {
100 template <class Iterator> static void decrement(Iterator &I) {
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseSet.h111 class Iterator {
123 Iterator() = default;
131 Iterator& operator++() { ++I; return *this; }
133 friend bool operator==(const Iterator &X, const Iterator &Y) {
136 friend bool operator!=(const Iterator &X, const Iterator &Y) {
144 friend class Iterator; variable
154 ConstIterator(const Iterator &B) : I(B.I) {} in ConstIterator()
170 using iterator = Iterator;
174 iterator end() { return Iterator(TheMap.end()); } in end()
196 return Iterator(TheMap.find_as(Val)); in find_as()
[all …]
H A DPriorityQueue.h34 template<class Iterator>
35 PriorityQueue(Iterator begin, Iterator end,
H A DMapVector.h173 typename VectorType::iterator erase(typename VectorType::iterator Iterator) { in erase() argument
174 Map.erase(Iterator->first); in erase()
175 auto Next = Vector.erase(Iterator); in erase()
193 auto Iterator = find(Key); in erase() local
194 if (Iterator == end()) in erase()
196 erase(Iterator); in erase()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h76 : Predicate(std::move(P)), Iterator(I), End(E) { in SectionFilterIterator()
79 const llvm::object::SectionRef &operator*() const { return *Iterator; }
81 ++Iterator;
86 return Iterator != Other.Iterator;
91 while (Iterator != End && !Predicate(*Iterator)) { in ScanPredicate()
92 ++Iterator; in ScanPredicate()
96 llvm::object::section_iterator Iterator; variable
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Diterator28 template<class Iterator>
191 template <class Iterator>
200 Iterator current;
211 constexpr Iterator base() const;
254 template <class Iterator>
255 constexpr reverse_iterator<Iterator>
259 template <class Iterator>
260 constexpr reverse_iterator<Iterator> make_reverse_iterator(Iterator i); // C++14, constexpr in C++17
333 template <class Iterator>
394 template <class Iterator>
[all …]
/freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h211 return new Iterator(this, begin_, 0, step_); in Begin()
223 virtual ~Iterator() {} in ~Iterator()
233 return new Iterator(*this); in Clone()
248 Iterator(const Iterator& other) in Iterator() function
254 void operator=(const Iterator& other);
296 return new Iterator(this, container_.begin()); in Begin()
299 return new Iterator(this, container_.end()); in End()
307 Iterator(const ParamGeneratorInterface<T>* base, in Iterator() function
310 virtual ~Iterator() {} in ~Iterator()
320 return new Iterator(*this); in Clone()
[all …]
H A Dgtest-param-util-generated.h.pump123 return new Iterator(this, $for j, [[g$(j)_, g$(j)_.begin()]]);
126 return new Iterator(this, $for j, [[g$(j)_, g$(j)_.end()]]);
130 class Iterator : public ParamIteratorInterface<ParamType> {
132 Iterator(const ParamGeneratorInterface<ParamType>* base, $for j, [[
143 virtual ~Iterator() {}
164 return new Iterator(*this);
173 const Iterator* typed_other =
174 CheckedDowncastToActualType<const Iterator>(&other);
186 Iterator(const Iterator& other)
211 void operator=(const Iterator& other);
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_list.h29 friend class Iterator; member
149 typedef IteratorBase<Item> Iterator; typedef
152 Iterator begin() { return Iterator(first_); } in begin()
153 Iterator end() { return Iterator(0); } in end()
H A Dsanitizer_bitvector.h87 class Iterator {
89 Iterator() { } in Iterator() function
90 explicit Iterator(const BasicBitVector &bv) : bv_(bv) {} in Iterator() function
273 class Iterator {
275 Iterator() { } in Iterator() function
276 explicit Iterator(const TwoLevelBitVector &bv) : bv_(bv), i0_(0), i1_(0) { in Iterator() function
294 it1_ = typename BV::Iterator(bv_.l1_[i0_]); in next()
303 it2_ = typename BV::Iterator(bv_.l2_[i0_][i1_]); in next()
320 typename BV::Iterator it1_, it2_;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugCrossExSubsection.h26 using Iterator = ReferenceArray::Iterator; variable
39 Iterator begin() const { return References.begin(); } in begin()
40 Iterator end() const { return References.end(); } in end()
H A DDebugCrossImpSubsection.h49 using Iterator = ReferenceArray::Iterator;
62 Iterator begin() const { return References.begin(); }
63 Iterator end() const { return References.end(); }
H A DDebugChecksumsSubsection.h51 using Iterator = FileChecksumArray::Iterator;
66 Iterator begin() const { return Checksums.begin(); }
67 Iterator end() const { return Checksums.end(); }
H A DDebugInlineeLinesSubsection.h63 using Iterator = LinesArray::Iterator;
80 Iterator begin() const { return Lines.begin(); }
81 Iterator end() const { return Lines.end(); }
H A DDebugLinesSubsection.h82 using Iterator = LineInfoArray::Iterator; variable
93 Iterator begin() const { return LinesAndColumns.begin(); } in begin()
94 Iterator end() const { return LinesAndColumns.end(); } in end()
H A DDebugSymbolsSubsection.h29 CVSymbolArray::Iterator begin() const { return Records.begin(); } in begin()
30 CVSymbolArray::Iterator end() const { return Records.end(); } in end()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp63 struct Iterator struct
64 : llvm::iterator_adaptor_base<Iterator, BindingArray::const_iterator,
67 Iterator(BindingArray::const_iterator It) : iterator_adaptor_base(It) {} in Iterator() argument
72 Iterator begin() const { return Iterator(Bindings.begin()); } in begin()
73 Iterator end() const { return Iterator(Bindings.end()); } in end()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h96 typedef VarStreamArrayIterator<ValueType, Extractor> Iterator; typedef
108 Iterator begin(bool *HadError = nullptr) const {
109 return Iterator(*this, E, Skew, nullptr);
115 Iterator end() const { return Iterator(E); } in end()
132 Iterator at(uint32_t Offset) const { in at()
133 return Iterator(*this, E, Offset, nullptr); in at()
266 typedef FixedStreamArrayIterator<T> Iterator; typedef
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DAttrIterator.h35 using Iterator = typename Container::const_iterator; variable
44 mutable Iterator Current;
51 void AdvanceToNext(Iterator I) const { in AdvanceToNext()
64 explicit specific_attr_iterator(Iterator i) : Current(i) {} in specific_attr_iterator()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlist.h48 typedef IteratorBase<T> Iterator; typedef
51 Iterator begin() { return Iterator(First); } in begin()
52 Iterator end() { return Iterator(nullptr); } in end()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp113 void handlePtrIncrOrDecr(CheckerContext &C, const Expr *Iterator,
394 const SVal &Iterator = IsIterFirst ? FirstArg : SecondArg; in handleOverloadedOperator() local
398 Iterator, Amount); in handleOverloadedOperator()
593 const SVal &Iterator, in handleRandomIncrOrDecr() argument
599 const auto *Pos = getIteratorPosition(State, Iterator); in handleRandomIncrOrDecr()
611 (Op == OO_PlusEqual || Op == OO_MinusEqual) ? Iterator : RetVal; in handleRandomIncrOrDecr()
616 auto AdvancedState = advancePosition(State, Iterator, Op, *Value); in handleRandomIncrOrDecr()
630 const Expr *Iterator, in handlePtrIncrOrDecr() argument
636 QualType PtrType = Iterator->getType(); in handlePtrIncrOrDecr()
642 SVal OldVal = State->getSVal(Iterator, C.getLocationContext()); in handlePtrIncrOrDecr()
[all …]

123