Home
last modified time | relevance | path

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

/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/v8/tools/clang/rewrite_scoped_refptr/tests/
Dtest12-original.cc21 MyIter(const MyIter& other) : it_(other.it_) {} in MyIter()
22 explicit MyIter(MyMap::const_iterator it) : it_(it) {} in MyIter()
24 ++it_; in operator ++()
27 const scoped_refptr<const Foo> operator*() { return it_->second; } in operator *()
28 bool operator!=(const MyIter& other) { return it_ != other.it_; } in operator !=()
29 bool operator==(const MyIter& other) { return it_ == other.it_; } in operator ==()
32 MyMap::const_iterator it_; member in MyIter
Dtest12-expected.cc21 MyIter(const MyIter& other) : it_(other.it_) {} in MyIter()
22 explicit MyIter(MyMap::const_iterator it) : it_(it) {} in MyIter()
24 ++it_; in operator ++()
27 const scoped_refptr<const Foo> operator*() { return it_->second; } in operator *()
28 bool operator!=(const MyIter& other) { return it_ != other.it_; } in operator !=()
29 bool operator==(const MyIter& other) { return it_ == other.it_; } in operator ==()
32 MyMap::const_iterator it_; member in MyIter
/external/libtextclassifier/utils/utf8/
Dunicodetext.cc221 return std::string(it_begin.it_, it_end.it_ - it_begin.it_); in UTF8Substring()
233 result.repr_.Copy(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
237 result.repr_.PointTo(it_begin.it_, it_end.it_ - it_begin.it_); in Substring()
250 UnicodeText::const_iterator::const_iterator() : it_(0) {} in const_iterator()
254 if (&other != this) it_ = other.it_; in operator =()
268 return lhs.it_ < rhs.it_; in operator <()
278 unsigned char byte1 = static_cast<unsigned char>(it_[0]); in operator *()
281 unsigned char byte2 = static_cast<unsigned char>(it_[1]); in operator *()
284 unsigned char byte3 = static_cast<unsigned char>(it_[2]); in operator *()
289 unsigned char byte4 = static_cast<unsigned char>(it_[3]); in operator *()
[all …]
Dunicodetext.h107 return lhs.it_ == rhs.it_;
122 if (it_[0] < 0x80) { in utf8_length()
124 } else if (it_[0] < 0xE0) { in utf8_length()
126 } else if (it_[0] < 0xF0) { in utf8_length()
132 const char* utf8_data() const { return it_; } in utf8_data()
136 explicit const_iterator(const char* it) : it_(it) {} in const_iterator()
138 const char* it_; variable
/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/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/protobuf/src/google/protobuf/
Drepeated_field.h2085 RepeatedPtrIterator() : it_(NULL) {}
2086 explicit RepeatedPtrIterator(void* const* it) : it_(it) {}
2092 : it_(other.it_) {
2100 reference operator*() const { return *reinterpret_cast<Element*>(*it_); }
2104 iterator& operator++() { ++it_; return *this; }
2105 iterator operator++(int) { return iterator(it_++); }
2106 iterator& operator--() { --it_; return *this; }
2107 iterator operator--(int) { return iterator(it_--); }
2110 bool operator==(const iterator& x) const { return it_ == x.it_; }
2111 bool operator!=(const iterator& x) const { return it_ != x.it_; }
[all …]
Dmap.h1389 : iterator_base(iterator_base::kNew), it_(it) {} in const_iterator()
1392 : iterator_base(other), it_(other.it_), dit_(other.dit_) {} in const_iterator()
1395 return this->OldStyle() ? *dit_->second : *it_->value();
1403 ++it_;
1407 return this->OldStyle() ? const_iterator(dit_++) : const_iterator(it_++);
1413 return a.OldStyle() ? (a.dit_ == b.dit_) : (a.it_ == b.it_);
1420 InnerIt it_;
1434 : iterator_base(iterator_base::kNew), it_(it) {} in iterator()
1437 return this->OldStyle() ? *dit_->second : *it_->value();
1445 ++it_;
[all …]
/external/v8/src/heap/
Dmark-compact-inl.h414 it_(chunk, bitmap) { in iterator()
415 it_.Advance(Bitmap::IndexToCell( in iterator()
417 if (!it_.Done()) { in iterator()
418 cell_base_ = it_.CurrentCellBase(); in iterator()
419 current_cell_ = *it_.CurrentCell(); in iterator()
443 while (!it_.Done()) { in AdvanceToNextValidObject()
461 if (!it_.Advance()) { in AdvanceToNextValidObject()
466 cell_base_ = it_.CurrentCellBase(); in AdvanceToNextValidObject()
467 current_cell_ = *it_.CurrentCell(); in AdvanceToNextValidObject()
493 if (it_.Advance(end_cell_index)) { in AdvanceToNextValidObject()
[all …]
Dmark-compact.h190 MarkBitCellIterator it_; variable
/external/v8/src/
Dbit-vector.h314 : it_(target->bits_ == nullptr ? new (zone) BitVector(1, zone) in Iterator()
316 bool Done() const { return it_.Done(); } in Done()
317 void Advance() { it_.Advance(); } in Advance()
318 int Current() const { return it_.Current(); } in Current()
321 BitVector::Iterator 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
Dvalues.cc1140 : target_(target), it_(target.dict_.begin()) {} in Iterator()
/external/honggfuzz/examples/apache-httpd/corpus_http2/
D5faa3ef63a366c65b3c4050c2edc358e.00017ede.honggfuzz.cov512 �+�IP�it_����@����m9F�93m��p?�k7���a�(q��i�Q��ؔ7Q;�I�qAa����9 |��D�p;�1��E̫�)hq������ �LI�8E�…
/external/honggfuzz/examples/apache-httpd/corpus_http1/
D5faa3ef63a366c65b3c4050c2edc358e.00017ede.honggfuzz.cov512 �+�IP�it_����@����m9F�93m��p?�k7���a�(q��i�Q��ؔ7Q;�I�qAa����9 |��D�p;�1��E̫�)hq������ �LI�8E�…