Home
last modified time | relevance | path

Searched refs:iter_ (Results 1 – 25 of 47) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Dsparse_column_iterable.cc31 IndicesRowIterator() : iter_(nullptr), row_idx_(-1) {} in IndicesRowIterator()
33 : iter_(iter), row_idx_(row_idx) {} in IndicesRowIterator()
35 : iter_(other.iter_), row_idx_(other.row_idx_) {} in IndicesRowIterator()
38 iter_ = other.iter_; in operator =()
54 reference operator*() const { return iter_->ix()(row_idx_, 0); } in operator *()
56 pointer operator->() { return &iter_->ix()(row_idx_, 0); } in operator ->()
95 QCHECK_EQ(iter_, other.iter_); in operator !=()
104 QCHECK_EQ(iter_, other.iter_); in operator ==()
111 SparseColumnIterable* iter_; member in tensorflow::boosted_trees::utils::__anon7430c01b0111::IndicesRowIterator
117 : iter_(iter), example_idx_(example_idx), end_(iter->ix_.dimension(0)) { in Iterator()
Dexamples_iterable.h67 QCHECK_EQ(iter_, other.iter_);
72 QCHECK_EQ(iter_, other.iter_);
85 iter_->dense_float_column_values_[dense_float_idx](example_idx_, 0);
92 sparse_float_idx < iter_->sparse_float_column_iterables_.size();
105 iter_->sparse_float_dimensions_[sparse_float_idx];
111 0, iter_->sparse_float_column_values_[sparse_float_idx](
116 iter_->sparse_float_column_iterables_[sparse_float_idx]
132 iter_->sparse_float_column_values_[sparse_float_idx](
152 iter_->sparse_int_column_values_[sparse_int_idx](row_idx));
162 const ExamplesIterable* iter_;
Dsparse_column_iterable.h49 if (cur_ < end_ && iter_->ix()(cur_, 0) < example_idx_) {
63 QCHECK_EQ(iter_, other.iter_);
68 QCHECK_EQ(iter_, other.iter_);
74 if (cur_ < end_ && iter_->ix()(cur_, 0) == example_idx_) {
87 while (next_ < end_ && iter_->ix()(cur_, 0) == iter_->ix()(next_, 0)) { in UpdateNext()
92 const SparseColumnIterable* iter_; variable
Dexamples_iterable.cc62 : iter_(iter), example_idx_(example_idx) { in Iterator()
77 iter_->dense_float_column_values_.size()); in Iterator()
78 example_.sparse_int_features.resize(iter_->sparse_int_column_values_.size()); in Iterator()
80 iter_->sparse_float_column_values_.size()); in Iterator()
/external/icu/icu4c/source/i18n/
Dcoleitr.cpp57 : UObject(other), iter_(NULL), rbc_(NULL), otherHalf_(0), dir_(0), offsets_(NULL) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
63 delete iter_; in ~CollationElementIterator()
88 int32_t i = iter_->getCEsLength(); in getOffset()
96 return iter_->getOffset(); in getOffset()
126 iter_->clearCEsIfNoneRemaining(); in next()
127 int64_t ce = iter_->nextCE(status); in next()
158 *iter_ == *that.iter_; in operator ==()
178 iter_->resetToOffset(string_.length()); in previous()
198 int32_t limitOffset = iter_->getCEsLength() == 0 ? iter_->getOffset() : 0; in previous()
199 int64_t ce = iter_->previousCE(*offsets_, status); in previous()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Diterator_util.h63 NestedIter iter_;
66 explicit UnwrappingIterator(NestedIter iter) : iter_(std::move(iter)) {} in UnwrappingIterator()
68 auto operator*() -> decltype(iter_->get()) { return iter_->get(); }
69 auto operator-> () -> decltype(iter_->get()) { return iter_->get(); }
71 ++iter_;
75 UnwrappingIterator temp(iter_);
82 return a.iter_ == b.iter_;
/external/tensorflow/tensorflow/core/util/sparse/
Dgroup_iterator.cc24 const auto& ix_t = iter_->ix_matrix_; in UpdateEndOfGroup()
26 while (next_loc_ < N && iter_->GroupMatches(ix_t, loc_, next_loc_)) { in UpdateEndOfGroup()
32 CHECK_EQ(rhs.iter_, iter_) << "Can't compare steps from different iterators"; in operator !=()
37 CHECK_EQ(rhs.iter_, iter_) << "Can't compare steps from different iterators"; in operator ==()
57 const auto& ix_t = iter_->ix_matrix_; in group()
58 for (const int d : iter_->group_dims_) { in group()
65 return TTypes<int64>::UnalignedConstMatrix(&(iter_->ix_matrix_(loc_, 0)), in indices()
66 next_loc_ - loc_, iter_->dims_); in indices()
Dgroup_iterator.h37 : iter_(iter), loc_(loc), next_loc_(next_loc) {} in Group()
45 GroupIterable* iter_;
111 : iter_(iter), loc_(loc), next_loc_(loc_) { in IteratorStep()
120 Group operator*() const { return Group(iter_, loc_, next_loc_); }
124 GroupIterable* iter_;
141 return typename TTypes<T>::UnalignedVec(&(iter_->vals_.vec<T>()(loc_)), in values()
/external/perfetto/include/perfetto/protozero/
Dproto_decoder.h105 : field_id_(field_id), iter_(begin), end_(end), last_(last) { in RepeatedFieldIterator()
109 inline const Field* operator->() const { return &*iter_; }
110 inline const Field& operator*() const { return *iter_; }
111 inline explicit operator bool() const { return iter_ != end_; }
114 PERFETTO_DCHECK(iter_ != end_);
115 if (iter_ == last_) {
116 iter_ = end_;
119 ++iter_;
126 PERFETTO_DCHECK(iter_ != last_); in FindNextMatchingId()
127 for (; iter_ != end_; ++iter_) { in FindNextMatchingId()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollationElementIterator.java110 private CollationIterator iter_; // owned field in CollationElementIterator
193 iter_ = null; in CollationElementIterator()
283 int i = iter_.getCEsLength(); in getOffset()
291 return iter_.getOffset(); in getOffset()
331 iter_.clearCEsIfNoneRemaining();
332 long ce = iter_.nextCE();
374 iter_.resetToOffset(string_.length()); in previous()
390 int limitOffset = iter_.getCEsLength() == 0 ? iter_.getOffset() : 0; in previous()
391 long ce = iter_.previousCE(offsets_); in previous()
405 offsets_.addElement(iter_.getOffset()); in previous()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java110 private CollationIterator iter_; // owned field in CollationElementIterator
198 iter_ = null; in CollationElementIterator()
292 int i = iter_.getCEsLength(); in getOffset()
300 return iter_.getOffset(); in getOffset()
341 iter_.clearCEsIfNoneRemaining();
342 long ce = iter_.nextCE();
385 iter_.resetToOffset(string_.length()); in previous()
401 int limitOffset = iter_.getCEsLength() == 0 ? iter_.getOffset() : 0; in previous()
402 long ce = iter_.previousCE(offsets_); in previous()
416 offsets_.addElement(iter_.getOffset()); in previous()
[all …]
/external/libchrome/base/metrics/
Dsample_map.cc40 SampleToCountMap::const_iterator iter_; member in base::__anon11c194410111::SampleMapIterator
45 : iter_(sample_counts.begin()), in SampleMapIterator()
53 return iter_ == end_; in Done()
58 ++iter_; in Next()
65 *min = iter_->first; in Get()
67 *max = strict_cast<int64_t>(iter_->first) + 1; in Get()
69 *count = iter_->second; in Get()
73 while (!Done() && iter_->second == 0) { in SkipEmptyBuckets()
74 ++iter_; in SkipEmptyBuckets()
Dpersistent_sample_map.cc42 SampleToCountMap::const_iterator iter_; member in base::__anona8f346f10111::PersistentSampleMapIterator
48 : iter_(sample_counts.begin()), in PersistentSampleMapIterator()
56 return iter_ == end_; in Done()
61 ++iter_; in Next()
70 *min = iter_->first; in Get()
72 *max = strict_cast<int64_t>(iter_->first) + 1; in Get()
74 *count = *iter_->second; in Get()
78 while (!Done() && *iter_->second == 0) { in SkipEmptyBuckets()
79 ++iter_; in SkipEmptyBuckets()
/external/tensorflow/tensorflow/python/autograph/operators/
Dcontrol_flow.py32 def for_stmt(iter_, extra_test, body, init_state): argument
65 if tensor_util.is_tensor(iter_):
66 return _known_len_for_stmt(iter_, extra_test, body, init_state)
67 elif isinstance(iter_, dataset_ops.DatasetV2):
79 return _dataset_for_stmt(iter_, extra_test, body, init_state)
81 return _py_for_stmt(iter_, extra_test, body, init_state)
84 def _py_for_stmt(iter_, extra_test, body, init_state): argument
87 for target in iter_:
94 def _known_len_for_stmt(iter_, extra_test, body, init_state): argument
96 n = py_builtins.len_(iter_)
[all …]
/external/tensorflow/tensorflow/core/graph/
Dgraph.h403 std::vector<value_type>::const_iterator iter_;
410 while (iter_ != end_ && *iter_ == nullptr) { in apply_filter()
411 ++iter_; in apply_filter()
418 : iter_(iter), end_(end) { in const_iterator()
423 return iter_ == other.iter_;
427 return iter_ != other.iter_;
434 ++iter_;
439 value_type operator*() { return *iter_; }
795 EdgeSet::const_iterator iter_;
828 : iter_(iter), incoming_(incoming) {} in NeighborIter()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dconnect.hpp182 iter_(begin), in connect_op()
192 iter_(other.iter_), in connect_op()
202 iter_(other.iter_), in connect_op()
216 this->check_condition(ec, iter_, end_); in operator ()()
218 if (iter_ != end_) in operator ()()
221 socket_.async_connect(*iter_, in operator ()()
235 if (iter_ == end_) in operator ()()
247 ++iter_; in operator ()()
251 static_cast<const Iterator&>(iter_)); in operator ()()
257 Iterator iter_; member in asio::detail::connect_op
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle.h248 void Seek(StringPiece key) { return iter_->Seek(key); } in Seek()
251 void Next() const { iter_->Next(); } in Next()
254 bool Valid() const { return iter_->Valid(); } in Valid()
258 StringPiece key() const { return iter_->key(); } in key()
261 StringPiece value() const { return iter_->value(); } in value()
291 table::Iterator* iter_; variable
/external/tensorflow/tensorflow/core/lib/gtl/
Dcompactptrset.h76 : bigrep_(true), single_(nullptr), iter_(iter) {} in iterator()
80 ++iter_;
91 return iter_ == other.iter_;
100 return *iter_;
111 typename BigRep::iterator iter_; variable
/external/tensorflow/tensorflow/core/kernels/data/
Dsparse_tensor_slice_dataset_op.cc89 iter_(group_iterable_.begin()) {
109 if (i_ > next_non_empty_i_ && iter_ != group_iterable_.end()) { in GetNextInternal()
113 sparse::Group group = *iter_; in GetNextInternal()
132 ++iter_; in GetNextInternal()
143 DCHECK(i_ < next_non_empty_i_ || iter_ == group_iterable_.end()); in GetNextInternal()
166 writer->WriteScalar(Iterator::full_name("iter_loc"), iter_.loc())); in SaveInternal()
185 iter_ = group_iterable_.at(iter_loc); in RestoreInternal()
204 sparse::GroupIterable::IteratorStep iter_ GUARDED_BY(mu_);
/external/libchrome/mojo/public/cpp/bindings/lib/
Dmap_serialization.h29 : input_(input), iter_(Traits::GetBegin(input_)) {} in MapReaderBase()
40 MaybeConstIterator iter_; variable
57 GetNextResult key = Traits::GetKey(this->iter_); in GetNext()
58 Traits::AdvanceIterator(this->iter_); in GetNext()
77 GetNextResult value = Traits::GetValue(this->iter_); in GetNext()
78 Traits::AdvanceIterator(this->iter_); in GetNext()
/external/webrtc/webrtc/p2p/base/
Dtestturnserver.h32 iter_(alternate_server_addresses_.begin()) { in TestTurnRedirector()
37 if (!out || iter_ == alternate_server_addresses_.end()) { in ShouldRedirect()
40 *out = *iter_++; in ShouldRedirect()
46 std::vector<rtc::SocketAddress>::const_iterator iter_; variable
/external/libchrome/base/
Dcallback_list.h80 iter_(iter) { in Subscription()
85 iter_->Reset(); in ~Subscription()
87 list_->callbacks_.erase(iter_); in ~Subscription()
95 typename std::list<CallbackType>::iterator iter_; variable
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.cc188 : iter_() { in Backoff()
192 if (iter_++ < kActiveSpinIters) in Do()
200 u64 active = iter_ % kActiveSpinIters; in Contention()
201 u64 passive = iter_ - active; in Contention()
206 int iter_; member in __tsan::Backoff
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dresolve_endpoint_op.hpp70 o->iter_ = iterator_type::create(o->endpoint_, host_name, service_name); in do_complete()
90 handler(o->handler_, o->ec_, o->iter_); in do_complete()
110 iterator_type iter_; member in asio::detail::resolve_endpoint_op
/external/tensorflow/tensorflow/core/kernels/
Dfunctional_ops.cc526 iter_ = &args_[0].scalar<int32>()(); in State()
551 int32* iter_; // points to args_[0]. member in tensorflow::__anonf4cf7ed10111::ForOp::State
560 TF_RETURN_IF_ERROR(GetScalar(ctx_, 0, iter_, "start")); in StartLoop()
564 if ((delta_ > 0 && *iter_ <= limit_) || in StartLoop()
565 (delta_ < 0 && *iter_ >= limit_) || in StartLoop()
566 (delta_ == 0 && *iter_ == limit_)) { in StartLoop()
570 return errors::InvalidArgument("Invalid start/limit/delta: ", *iter_, in StartLoop()
578 done_loop = *iter_ >= limit_; in RunNext()
580 done_loop = *iter_ <= limit_; in RunNext()
600 *iter_ += delta_; in RunNext()

12