Home
last modified time | relevance | path

Searched refs:current_ (Results 1 – 25 of 64) sorted by relevance

123

/third_party/spirv-tools/source/opt/
Dtree_iterator.h56 explicit inline TreeDFIterator(NodePtr top_node) : current_(top_node) { in TreeDFIterator()
57 if (current_ && current_->begin() != current_->end()) in TreeDFIterator()
58 parent_iterators_.emplace(make_pair(current_, current_->begin())); in TreeDFIterator()
65 return current_ == x.current_;
70 reference operator*() const { return *current_; }
72 NodePtr operator->() const { return current_; }
92 if (!current_) return; in MoveToNextNode()
94 current_ = nullptr; in MoveToNextNode()
99 current_ = *next_it.second; in MoveToNextNode()
105 if (current_->begin() != current_->end()) in MoveToNextNode()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dtree_iterator.h56 explicit inline TreeDFIterator(NodePtr top_node) : current_(top_node) { in TreeDFIterator()
57 if (current_ && current_->begin() != current_->end()) in TreeDFIterator()
58 parent_iterators_.emplace(make_pair(current_, current_->begin())); in TreeDFIterator()
65 return current_ == x.current_;
70 reference operator*() const { return *current_; }
72 NodePtr operator->() const { return current_; }
92 if (!current_) return; in MoveToNextNode()
94 current_ = nullptr; in MoveToNextNode()
99 current_ = *next_it.second; in MoveToNextNode()
105 if (current_->begin() != current_->end()) in MoveToNextNode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtree_iterator.h56 explicit inline TreeDFIterator(NodePtr top_node) : current_(top_node) { in TreeDFIterator()
57 if (current_ && current_->begin() != current_->end()) in TreeDFIterator()
58 parent_iterators_.emplace(make_pair(current_, current_->begin())); in TreeDFIterator()
65 return current_ == x.current_;
70 reference operator*() const { return *current_; }
72 NodePtr operator->() const { return current_; }
92 if (!current_) return; in MoveToNextNode()
94 current_ = nullptr; in MoveToNextNode()
99 current_ = *next_it.second; in MoveToNextNode()
105 if (current_->begin() != current_->end()) in MoveToNextNode()
[all …]
/third_party/boost/boost/date_time/
Dtime_iterator.hpp22 time_itr(time_type t, time_duration_type d) : current_(t), offset_(d) {} in time_itr()
25 current_ = current_ + offset_; in operator ++()
30 current_ = current_ - offset_; in operator --()
33 time_type operator*() {return current_;} in operator *()
34 time_type* operator->() {return &current_;} in operator ->()
35 bool operator< (const time_type& t) {return current_ < t;} in operator <()
36 bool operator<= (const time_type& t) {return current_ <= t;} in operator <=()
37 bool operator!= (const time_type& t) {return current_ != t;} in operator !=()
38 bool operator== (const time_type& t) {return current_ == t;} in operator ==()
39 bool operator> (const time_type& t) {return current_ > t;} in operator >()
[all …]
Ddate_iterator.hpp42 date_itr_base(date_type d) : current_(d) {} in date_itr_base()
46 current_ = current_ + get_offset(current_); in operator ++()
51 current_ = current_ + get_neg_offset(current_); in operator --()
56 date_type operator*() {return current_;} in operator *()
57 date_type* operator->() {return &current_;} in operator ->()
58 bool operator< (const date_type& d) {return current_ < d;} in operator <()
59 bool operator<= (const date_type& d) {return current_ <= d;} in operator <=()
60 bool operator> (const date_type& d) {return current_ > d;} in operator >()
61 bool operator>= (const date_type& d) {return current_ >= d;} in operator >=()
62 bool operator== (const date_type& d) {return current_ == d;} in operator ==()
[all …]
/third_party/boost/libs/gil/test/core/
Dtest_fixture.hpp26 consecutive_value(T start) : current_(start) in consecutive_value()
28 BOOST_ASSERT(static_cast<int>(current_) >= 0); in consecutive_value()
33 BOOST_ASSERT(static_cast<int>(current_) + 1 > 0); in operator ()()
34 current_++; in operator ()()
35 return current_; in operator ()()
38 T current_; member
44 reverse_consecutive_value(T start) : current_(start) in reverse_consecutive_value()
46 BOOST_ASSERT(static_cast<int>(current_) > 0); in reverse_consecutive_value()
51 BOOST_ASSERT(static_cast<int>(current_) + 1 >= 0); in operator ()()
52 current_--; in operator ()()
[all …]
/third_party/boost/boost/numeric/ublas/
Dsymmetric.hpp1287 begin_ (-1), end_ (-1), current_ (-1), in const_iterator1()
1295 begin_ (begin), end_ (end), current_ (begin), in const_iterator1()
1298 if (current_ == 0 && it1_ == it1_end_) in const_iterator1()
1299 current_ = 1; in const_iterator1()
1300 if (current_ == 1 && it2_ == it2_end_) in const_iterator1()
1301 current_ = 0; in const_iterator1()
1302 if ((current_ == 0 && it1_ == it1_end_) || in const_iterator1()
1303 (current_ == 1 && it2_ == it2_end_)) in const_iterator1()
1304 current_ = end_; in const_iterator1()
1305 BOOST_UBLAS_CHECK (current_ == end_ || in const_iterator1()
[all …]
Dhermitian.hpp1595 begin_ (-1), end_ (-1), current_ (-1), in const_iterator1()
1603 begin_ (begin), end_ (end), current_ (begin), in const_iterator1()
1606 if (current_ == 0 && it1_ == it1_end_) in const_iterator1()
1607 current_ = 1; in const_iterator1()
1608 if (current_ == 1 && it2_ == it2_end_) in const_iterator1()
1609 current_ = 0; in const_iterator1()
1610 if ((current_ == 0 && it1_ == it1_end_) || in const_iterator1()
1611 (current_ == 1 && it2_ == it2_end_)) in const_iterator1()
1612 current_ = end_; in const_iterator1()
1613 BOOST_UBLAS_CHECK (current_ == end_ || in const_iterator1()
[all …]
/third_party/grpc/examples/cpp/route_guide/
Dhelper.cc76 bool Finished() { return current_ >= db_.size(); } in Finished()
96 size_t name_start = current_; in TryParseOne()
97 while (current_ != db_.size() && db_[current_++] != '"') { in TryParseOne()
99 if (current_ == db_.size()) { in TryParseOne()
102 feature->set_name(db_.substr(name_start, current_ - name_start - 1)); in TryParseOne()
104 if (db_[current_ - 1] == ']' && current_ == db_.size()) { in TryParseOne()
119 bool eq = db_.substr(current_, prefix.size()) == prefix; in Match()
120 current_ += prefix.size(); in Match()
125 size_t start = current_; in ReadLong()
126 while (current_ != db_.size() && db_[current_] != ',' && in ReadLong()
[all …]
/third_party/boost/boost/locale/boundary/
Dindex.hpp168 segment_index_iterator() : current_(0,0),map_(0) in segment_index_iterator()
197 return map_ == other.map_ && current_.second == other.current_.second; in equal()
202 std::pair<size_t,size_t> next = current_; in increment()
226 std::pair<size_t,size_t> next = current_; in decrement()
255 current_.first = size() - 1; in set_end()
256 current_.second = size(); in set_end()
261 current_.first = current_.second = 0; in set_begin()
275 current_.first = current_.second = boundary_point - b; in set()
278 while(current_.first > 0) { in set()
279 current_.first --; in set()
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.cc65 current_(nullptr), in DefaultValueObjectWriter()
80 if (current_ == nullptr) { in RenderBool()
90 if (current_ == nullptr) { in RenderInt32()
100 if (current_ == nullptr) { in RenderUint32()
110 if (current_ == nullptr) { in RenderInt64()
120 if (current_ == nullptr) { in RenderUint64()
130 if (current_ == nullptr) { in RenderDouble()
140 if (current_ == nullptr) { in RenderFloat()
150 if (current_ == nullptr) { in RenderString()
163 if (current_ == nullptr) { in RenderBytes()
[all …]
Dprotostream_objectwriter.cc70 current_(nullptr), in ProtoStreamObjectWriter()
84 current_(nullptr), in ProtoStreamObjectWriter()
96 current_(nullptr), in ProtoStreamObjectWriter()
100 if (current_ == nullptr) return; in ~ProtoStreamObjectWriter()
106 static_cast<BaseElement*>(current_.get())->pop<BaseElement>()); in ~ProtoStreamObjectWriter()
494 if (current_ == nullptr) { in StartObject()
496 current_.reset(new Item( in StartObject()
533 if (current_->IsAny()) { in StartObject()
534 current_->any()->StartObject(name); in StartObject()
540 if (current_->IsMap()) { in StartObject()
[all …]
/third_party/boost/boost/asio/
Dbuffers_iterator.hpp161 current_(), in buffers_iterator()
175 new_iter.current_ = boost::asio::buffer_sequence_begin(buffers); in begin()
177 while (new_iter.current_ != new_iter.end_) in begin()
179 new_iter.current_buffer_ = *new_iter.current_; in begin()
182 ++new_iter.current_; in begin()
195 new_iter.current_ = boost::asio::buffer_sequence_begin(buffers); in end()
197 while (new_iter.current_ != new_iter.end_) in end()
199 buffer_type buffer = *new_iter.current_; in end()
201 ++new_iter.current_; in end()
357 BOOST_ASIO_ASSERT(current_ != end_ && "iterator out of bounds"); in increment()
[all …]
/third_party/boost/libs/asio/include/boost/asio/
Dbuffers_iterator.hpp161 current_(), in buffers_iterator()
175 new_iter.current_ = boost::asio::buffer_sequence_begin(buffers); in begin()
177 while (new_iter.current_ != new_iter.end_) in begin()
179 new_iter.current_buffer_ = *new_iter.current_; in begin()
182 ++new_iter.current_; in begin()
195 new_iter.current_ = boost::asio::buffer_sequence_begin(buffers); in end()
197 while (new_iter.current_ != new_iter.end_) in end()
199 buffer_type buffer = *new_iter.current_; in end()
201 ++new_iter.current_; in end()
357 BOOST_ASIO_ASSERT(current_ != end_ && "iterator out of bounds"); in increment()
[all …]
/third_party/jsoncpp/src/lib_json/
Djson_valueiterator.inl18 ValueIteratorBase::ValueIteratorBase() : current_(), isNull_(true) {}
22 : current_(current), isNull_(false) {}
24 Value& ValueIteratorBase::deref() { return current_->second; }
25 const Value& ValueIteratorBase::deref() const { return current_->second; }
27 void ValueIteratorBase::increment() { ++current_; }
29 void ValueIteratorBase::decrement() { --current_; }
34 // constructor, which initialize current_ to the default
46 // return difference_type( std::distance( current_, other.current_ ) );
48 for (Value::ObjectValues::iterator it = current_; it != other.current_;
59 return current_ == other.current_;
[all …]
Djson_reader.cpp87 : errors_(), document_(), begin_(), end_(), current_(), lastValueEnd_(), in Reader()
92 : errors_(), document_(), begin_(), end_(), current_(), lastValueEnd_(), in Reader()
126 current_ = begin_; in parse()
176 currentValue().setOffsetLimit(current_ - begin_); in readValue()
180 currentValue().setOffsetLimit(current_ - begin_); in readValue()
212 current_--; in readValue()
215 currentValue().setOffsetStart(current_ - begin_ - 1); in readValue()
216 currentValue().setOffsetLimit(current_ - begin_); in readValue()
226 lastValueEnd_ = current_; in readValue()
245 token.start_ = current_; in readToken()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcordz_sample_token.cc26 if (current_) { in operator ++()
27 current_ = current_->Next(*token_); in operator ++()
40 return lhs.current_ == rhs.current_ && in operator ==()
41 (lhs.current_ == nullptr || lhs.token_ == rhs.token_); in operator ==()
51 return *current_; in operator *()
56 return current_; in operator ->()
60 : token_(token), current_(CordzInfo::Head(*token)) {} in Iterator()
/third_party/boost/tools/quickbook/src/
Dtree.cpp118 : tree_base(), current_(0), parent_(0) in tree_builder_base()
123 : tree_base(std::move(x)), current_(x.current_), parent_(x.parent_) in tree_builder_base()
125 x.current_ = 0; in tree_builder_base()
132 current_ = x.current_; in operator =()
135 x.current_ = 0; in operator =()
153 current_ = root_; in extract()
172 current_ = 0; in release()
180 n->prev_ = current_; in add_element()
181 if (current_) { in add_element()
182 current_->next_ = n; in add_element()
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dtokenizer.cc211 current_.line = 0; in Tokenizer()
212 current_.column = 0; in Tokenizer()
213 current_.end_column = 0; in Tokenizer()
214 current_.type = TYPE_START; in Tokenizer()
301 current_.type = TYPE_START; // Just for the sake of initializing it. in StartToken()
302 current_.text.clear(); in StartToken()
303 current_.line = line_; in StartToken()
304 current_.column = column_; in StartToken()
305 RecordTo(&current_.text); in StartToken()
310 current_.end_column = column_; in EndToken()
[all …]
/third_party/boost/libs/spirit/example/karma/
Dcustomize_use_as_container.cpp30 : container_(container), current_(current) in iterator()
34 int const* current_; member
121 return *it.current_; in call()
130 if (it.current_ == &it.container_->value1_) in call()
131 it.current_ = &it.container_->value2_; in call()
132 else if (it.current_ == &it.container_->value2_) in call()
133 it.current_ = &it.container_->value3_; in call()
135 it.current_ = 0; in call()
145 return it1.current_ == it2.current_ && in call()
/third_party/spirv-tools/source/val/
Dbasic_block.cpp76 BasicBlock::DominatorIterator::DominatorIterator() : current_(nullptr) {} in DominatorIterator()
81 : current_(block), dom_func_(dominator_func) {} in DominatorIterator()
84 if (current_ == dom_func_(current_)) { in operator ++()
85 current_ = nullptr; in operator ++()
87 current_ = dom_func_(current_); in operator ++()
130 return lhs.current_ == rhs.current_; in operator ==()
139 return current_; in operator *()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dbasic_block.cpp76 BasicBlock::DominatorIterator::DominatorIterator() : current_(nullptr) {} in DominatorIterator()
81 : current_(block), dom_func_(dominator_func) {} in DominatorIterator()
84 if (current_ == dom_func_(current_)) { in operator ++()
85 current_ = nullptr; in operator ++()
87 current_ = dom_func_(current_); in operator ++()
130 return lhs.current_ == rhs.current_; in operator ==()
139 return current_; in operator *()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dbasic_block.cpp76 BasicBlock::DominatorIterator::DominatorIterator() : current_(nullptr) {} in DominatorIterator()
81 : current_(block), dom_func_(dominator_func) {} in DominatorIterator()
84 if (current_ == dom_func_(current_)) { in operator ++()
85 current_ = nullptr; in operator ++()
87 current_ = dom_func_(current_); in operator ++()
130 return lhs.current_ == rhs.current_; in operator ==()
139 return current_; in operator *()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/val/
Dbasic_block.cpp80 BasicBlock::DominatorIterator::DominatorIterator() : current_(nullptr) {} in DominatorIterator()
85 : current_(block), dom_func_(dominator_func) {} in DominatorIterator()
88 if (current_ == dom_func_(current_)) { in operator ++()
89 current_ = nullptr; in operator ++()
91 current_ = dom_func_(current_); in operator ++()
134 return lhs.current_ == rhs.current_; in operator ==()
143 return current_; in operator *()
/third_party/grpc/test/core/util/
Dfuzzer_corpus_test.cc125 : base_(base_), begin_(begin), current_(begin) {} in ExampleIterator()
129 virtual void Advance() { current_++; } in Advance()
131 virtual const std::string* Current() const { return &*current_; } in Current()
135 current_ == dynamic_cast<const ExampleIterator*>(&other)->current_; in Equals()
140 : base_(other.base_), begin_(other.begin_), current_(other.current_) {} in ExampleIterator()
144 std::vector<std::string>::const_iterator current_; member in ExampleIterator

123