Home
last modified time | relevance | path

Searched refs:it_ (Results 1 – 25 of 30) sorted by relevance

12

/external/libcxx/test/support/
Dtest_iterators.h29 It it_; variable
39 It base() const {return it_;} in base()
42 explicit output_iterator(It it) : it_(it) {} in output_iterator()
44 output_iterator(const output_iterator<U>& u) :it_(u.it_) {} in output_iterator()
46 reference operator*() const {return *it_;}
48 output_iterator& operator++() {++it_; return *this;}
61 It it_; variable
71 TEST_CONSTEXPR_CXX14 It base() const {return it_;} in base()
73 TEST_CONSTEXPR_CXX14 input_iterator() : it_() {} in input_iterator()
74 explicit TEST_CONSTEXPR_CXX14 input_iterator(It it) : it_(it) {} in input_iterator()
[all …]
/external/llvm-project/libcxx/test/support/
Dtest_iterators.h28 It it_; variable
38 TEST_CONSTEXPR_CXX14 It base() const {return it_;} in base()
41 explicit TEST_CONSTEXPR_CXX14 output_iterator(It it) : it_(it) {} in output_iterator()
43 TEST_CONSTEXPR_CXX14 output_iterator(const output_iterator<U>& u) :it_(u.it_) {} in output_iterator()
45 TEST_CONSTEXPR_CXX14 reference operator*() const {return *it_;}
47 TEST_CONSTEXPR_CXX14 output_iterator& operator++() {++it_; return *this;}
60 It it_; variable
70 TEST_CONSTEXPR_CXX14 It base() const {return it_;} in base()
72 TEST_CONSTEXPR_CXX14 input_iterator() : it_() {} in input_iterator()
73 explicit TEST_CONSTEXPR_CXX14 input_iterator(It it) : it_(it) {} in input_iterator()
[all …]
/external/libcxx/test/std/strings/basic.string/
Dinput_iterator.h18 It it_; variable
26 input_iterator() : it_() {} in input_iterator()
27 explicit input_iterator(It it) : it_(it) {} in input_iterator()
29 reference operator*() const {return *it_;}
30 pointer operator->() const {return it_;}
32 input_iterator& operator++() {++it_; return *this;}
36 {return x.it_ == y.it_;}
/external/llvm-project/libcxx/test/std/strings/basic.string/
Dinput_iterator.h17 It it_; variable
25 input_iterator() : it_() {} in input_iterator()
26 explicit input_iterator(It it) : it_(it) {} in input_iterator()
28 reference operator*() const {return *it_;}
29 pointer operator->() const {return it_;}
31 input_iterator& operator++() {++it_; return *this;}
35 {return x.it_ == y.it_;}
/external/libtextclassifier/native/utils/utf8/
Dunicodetext.cc244 return std::string(it_begin.it_, it_end.it_ - it_begin.it_); in UTF8Substring()
261 result.repr_.Copy(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
265 result.repr_.PointTo(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
278 UnicodeText::const_iterator::const_iterator() : it_(nullptr) {} in const_iterator()
282 if (&other != this) it_ = other.it_; in operator =()
296 return lhs.it_ < rhs.it_; in operator <()
304 return ValidCharToRune(it_); in operator *()
308 it_ += GetNumBytesForUTF8Char(it_); in operator ++()
313 while (IsTrailByte(*--it_)) { in operator --()
Dunicodetext.h111 return lhs.it_ == rhs.it_;
126 const unsigned char byte = static_cast<unsigned char>(it_[0]); in utf8_length()
137 const char* utf8_data() const { return it_; } in utf8_data()
141 explicit const_iterator(const char* it) : it_(it) {} in const_iterator()
143 const char* it_; variable
/external/llvm-project/libcxx/test/libcxx/iterators/
Dtrivial_iterators.pass.cpp43 It it_; member in my_input_iterator
53 It base() const {return it_;} in base()
55 my_input_iterator() : it_() {} in my_input_iterator()
56 explicit my_input_iterator(It it) : it_(it) {} in my_input_iterator()
58 my_input_iterator(const my_input_iterator<U>& u) :it_(u.it_) {} in my_input_iterator()
60 reference operator*() const {return *it_;} in operator *()
61 pointer operator->() const {return it_;} in operator ->()
63 my_input_iterator& operator++() {++it_; return *this;} in operator ++()
68 {return x.it_ == y.it_;} in operator ==()
/external/libcxx/test/libcxx/iterators/
Dtrivial_iterators.pass.cpp44 It it_; member in my_input_iterator
54 It base() const {return it_;} in base()
56 my_input_iterator() : it_() {} in my_input_iterator()
57 explicit my_input_iterator(It it) : it_(it) {} in my_input_iterator()
59 my_input_iterator(const my_input_iterator<U>& u) :it_(u.it_) {} in my_input_iterator()
61 reference operator*() const {return *it_;} in operator *()
62 pointer operator->() const {return it_;} in operator ->()
64 my_input_iterator& operator++() {++it_; return *this;} in operator ++()
69 {return x.it_ == y.it_;} in operator ==()
/external/bcc/src/cc/
Dshared_table.cc34 std::map<string, TableDesc>::iterator it_; member in ebpf::SharedTableStorage::iterator
37 explicit iterator(const std::map<string, TableDesc>::iterator &it) : it_(it) {} in iterator()
39 virtual unique_ptr<self_type> clone() const override { return make_unique<iterator>(it_); } in clone()
41 ++it_; in operator ++()
44 virtual value_type &operator*() const override { return *it_; } in operator *()
45 virtual pointer operator->() const override { return &*it_; } in operator ->()
/external/webrtc/stats/
Drtc_stats_report.cc24 : report_(report), it_(it) {} in ConstIterator()
31 ++it_; in operator ++()
40 return *it_->second.get(); in operator *()
44 return it_->second.get(); in operator ->()
49 return it_ == other.it_; in operator ==()
/external/protobuf/src/google/protobuf/
Drepeated_field.h2273 RepeatedPtrIterator() : it_(NULL) {}
2274 explicit RepeatedPtrIterator(void* const* it) : it_(it) {}
2280 : it_(other.it_) {
2288 reference operator*() const { return *reinterpret_cast<Element*>(*it_); }
2293 ++it_;
2296 iterator operator++(int) { return iterator(it_++); }
2298 --it_;
2301 iterator operator--(int) { return iterator(it_--); }
2304 bool operator==(const iterator& x) const { return it_ == x.it_; }
2305 bool operator!=(const iterator& x) const { return it_ != x.it_; }
[all …]
Dmap.h971 explicit const_iterator(const InnerIt& it) : it_(it) {} in const_iterator()
973 const_reference operator*() const { return *it_->value(); }
977 ++it_;
980 const_iterator operator++(int) { return const_iterator(it_++); }
983 return a.it_ == b.it_;
990 InnerIt it_;
1004 explicit iterator(const InnerIt& it) : it_(it) {} in iterator()
1006 reference operator*() const { return *it_->value(); }
1010 ++it_;
1013 iterator operator++(int) { return iterator(it_++); }
[all …]
/external/icu/libicu/cts_headers/unicode/
Dlocid.h1050 RangeIterator(Iter begin, Iter end) : it_(begin), end_(end) {} in RangeIterator()
1056 UBool hasNext() const override { return it_ != end_; } in hasNext()
1062 const Locale &next() override { return *it_++; } in next()
1065 Iter it_;
1088 it_(begin), end_(end), converter_(converter) {} in ConvertingIterator()
1094 UBool hasNext() const override { return it_ != end_; } in hasNext()
1100 const Locale &next() override { return converter_(*it_++); } in next()
1103 Iter it_;
/external/icu/icu4c/source/common/unicode/
Dlocid.h1050 RangeIterator(Iter begin, Iter end) : it_(begin), end_(end) {} in RangeIterator()
1056 UBool hasNext() const override { return it_ != end_; } in hasNext()
1062 const Locale &next() override { return *it_++; } in next()
1065 Iter it_;
1088 it_(begin), end_(end), converter_(converter) {} in ConvertingIterator()
1094 UBool hasNext() const override { return it_ != end_; } in hasNext()
1100 const Locale &next() override { return converter_(*it_++); } in next()
1103 Iter it_;
/external/libchrome/base/
Dvalues.h563 bool IsAtEnd() const { return it_ == target_.dict_.end(); } in IsAtEnd()
564 void Advance() { ++it_; } in Advance()
566 const std::string& key() const { return it_->first; } in key()
567 const Value& value() const { return *it_->second; } in value()
571 DictStorage::const_iterator it_; variable
/external/libchrome/components/policy/core/common/
Dschema.cc766 it_(storage->property(node->begin)), in Iterator()
771 it_(iterator.it_), in Iterator()
778 it_ = iterator.it_; in operator =()
784 return it_ == end_; in IsAtEnd()
788 ++it_; in Advance()
792 return it_->key; in key()
796 return Schema(storage_, storage_->schema(it_->schema)); in schema()
Dschema.h144 const internal::PropertyNode* it_; variable
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h545 ++(*it_);
548 const SubresourceLayout &operator*() const { return *(*it_); }
549 ConstIterator(ConstIteratorInterface *it) : it_(it){};
550 bool AtEnd() const { return it_->AtEnd(); }
553 std::unique_ptr<ConstIteratorInterface> it_;
593 ++it_;
600 it_ = container_->cbegin();
608 if (it_ != container_->cend()) {
609 value_.subresource = map_->Decode((*it_).first);
610 value_.layout = (*it_).second;
[all …]
/external/abseil-cpp/absl/container/internal/
Dinlined_vector.h118 explicit IteratorValueAdapter(const Iterator& it) : it_(it) {} in IteratorValueAdapter()
121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext()
122 ++it_; in ConstructNext()
126 *assign_at = *it_; in AssignNext()
127 ++it_; in AssignNext()
131 Iterator it_;
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dinlined_vector.h118 explicit IteratorValueAdapter(const Iterator& it) : it_(it) {} in IteratorValueAdapter()
121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext()
122 ++it_; in ConstructNext()
126 *assign_at = *it_; in AssignNext()
127 ++it_; in AssignNext()
131 Iterator it_;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dinlined_vector.h118 explicit IteratorValueAdapter(const Iterator& it) : it_(it) {} in IteratorValueAdapter()
121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext()
122 ++it_; in ConstructNext()
126 *assign_at = *it_; in AssignNext()
127 ++it_; in AssignNext()
131 Iterator it_;
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dinlined_vector.h118 explicit IteratorValueAdapter(const Iterator& it) : it_(it) {} in IteratorValueAdapter()
121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext()
122 ++it_; in ConstructNext()
126 *assign_at = *it_; in AssignNext()
127 ++it_; in AssignNext()
131 Iterator it_;
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dinlined_vector.h118 explicit IteratorValueAdapter(const Iterator& it) : it_(it) {} in IteratorValueAdapter()
121 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext()
122 ++it_; in ConstructNext()
126 *assign_at = *it_; in AssignNext()
127 ++it_; in AssignNext()
131 Iterator it_;
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dinlined_vector.h142 explicit IteratorValueAdapter(const Iterator& it) : it_(it) {} in IteratorValueAdapter()
145 AllocatorTraits::construct(*alloc_ptr, construct_at, *it_); in ConstructNext()
146 ++it_; in ConstructNext()
150 *assign_at = *it_; in AssignNext()
151 ++it_; in AssignNext()
155 Iterator it_;
/external/webrtc/api/stats/
Drtc_stats_report.h55 StatsMap::const_iterator it_; variable

12