/external/tensorflow/tensorflow/lite/profiling/ |
D | profile_buffer.h | 72 current_index_(0), in enabled_() 100 current_index_++; in BeginEvent() 113 event_handle > current_index_) { 117 if (current_index_ > (max_size + event_handle)) { 155 current_index_++; in AddEvent() 160 return (current_index_ >= event_buffer_.size()) ? event_buffer_.size() in Size() 161 : current_index_; in Size() 167 current_index_ = 0; in Reset() 180 (current_index_ > max_size) ? current_index_ % max_size : max_size; in At() 189 int index = current_index_ % event_buffer_.size(); in GetNextEntryIndex() [all …]
|
/external/cronet/base/win/ |
D | enum_variant.cc | 16 EnumVariant::EnumVariant(ULONG count) : current_index_(0) { in EnumVariant() 37 DCHECK_LE(current_index_, items_.size()); in Next() 38 ULONG available_count = static_cast<ULONG>(items_.size()) - current_index_; in Next() 41 out_elements[i] = items_[current_index_ + i].Copy(); in Next() 42 current_index_ += count; in Next() 54 if (current_index_ + count > static_cast<ULONG>(items_.size())) in Skip() 55 count = static_cast<ULONG>(items_.size()) - current_index_; in Skip() 57 current_index_ += count; in Skip() 62 current_index_ = 0; in Reset() 76 other->Skip(current_index_); in Clone()
|
D | vector.h | 65 return view_->GetAt(current_index_, current); in get_Current() 73 if (current_index_ < size) { in get_HasCurrent() 88 if (current_index_ >= size) in MoveNext() 92 current_index_++; in MoveNext() 95 if (current_index_ < size) in MoveNext() 104 return view_->GetMany(current_index_, capacity, value, actual); in GetMany() 111 unsigned current_index_ = 0; variable
|
D | enum_variant.h | 43 ULONG current_index_; variable
|
/external/icing/icing/query/advanced_query_parser/ |
D | lexer.cc | 30 if (i18n_utils::IsWhitespaceAt(query_, current_index_)) { in ConsumeWhitespace() 32 current_index_); in ConsumeWhitespace() 41 std::string_view original_text = query_.substr(current_index_, 1); in ConsumeQuerySingleChar() 65 std::string_view original_text = query_.substr(current_index_, 1); in ConsumeScoringSingleChar() 87 std::string_view original_text = query_.substr(current_index_, 1); in ConsumeGeneralSingleChar() 131 query_.substr(current_index_, 2), in ConsumeComparator() 139 query_.substr(current_index_, 1), in ConsumeComparator() 155 std::string_view original_text = query_.substr(current_index_, 2); in ConsumeAndOr() 170 int32_t unnormalized_start_pos = current_index_; in ConsumeStringLiteral() 187 int32_t unnormalized_length = current_index_ - unnormalized_start_pos; in ConsumeStringLiteral() [all …]
|
D | lexer.h | 97 if (current_index_ + n >= query_.size()) { 98 current_index_ = query_.size(); 101 current_index_ += n; 102 current_char_ = query_[current_index_]; 108 if (current_index_ + n >= query_.size()) { 111 return query_[current_index_ + n]; 116 current_index_ = query_.size(); in SyntaxError() 157 int32_t current_index_ = -1; variable
|
/external/libchrome/base/containers/ |
D | ring_buffer.h | 27 RingBuffer() : current_index_(0) {} in RingBuffer() 31 size_t CurrentIndex() const { return current_index_; } in CurrentIndex() 56 current_index_++; in SaveToBuffer() 59 void Clear() { current_index_ = 0; } in Clear() 102 if (current_index_ < kSize) in Begin() 103 return Iterator(*this, kSize - current_index_); in Begin() 114 return (current_index_ + n) % kSize; in BufferIndex() 122 return buffer_index < current_index_; in IsFilledIndexByBufferIndex() 126 size_t current_index_; variable
|
/external/cronet/base/containers/ |
D | ring_buffer.h | 27 RingBuffer() : current_index_(0) {} in RingBuffer() 33 size_t CurrentIndex() const { return current_index_; } in CurrentIndex() 58 current_index_++; in SaveToBuffer() 61 void Clear() { current_index_ = 0; } in Clear() 104 if (current_index_ < kSize) in Begin() 105 return Iterator(*this, kSize - current_index_); in Begin() 116 return (current_index_ + n) % kSize; in BufferIndex() 124 return buffer_index < current_index_; in IsFilledIndexByBufferIndex() 128 size_t current_index_; variable
|
/external/webrtc/common_audio/resampler/ |
D | sinusoidal_linear_chirp_source.cc | 27 current_index_(0), in SinusoidalLinearChirpSource() 35 for (size_t i = 0; i < frames; ++i, ++current_index_) { in Run() 37 if (Frequency(current_index_) > 0.5 * sample_rate_) { in Run() 41 if (current_index_ < delay_samples_) { in Run() 45 double t = (current_index_ - delay_samples_) / sample_rate_; in Run()
|
D | sinusoidal_linear_chirp_source.h | 50 size_t current_index_; variable
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | unbatch_dataset_op.cc | 117 current_index_(0), in Iterator() 136 if (current_index_ < current_batch_size_) { in GetNextInternal() 145 &tensors_[i], &out_tensors->back(), current_index_)); in GetNextInternal() 147 ++current_index_; in GetNextInternal() 151 current_index_ = 0; in GetNextInternal() 205 writer->WriteScalar(full_name("current_index"), current_index_)); in SaveInternal() 208 if (current_index_ < current_batch_size_) { in SaveInternal() 226 reader->ReadScalar(full_name("current_index"), ¤t_index_)); in RestoreInternal() 231 if (current_index_ < current_batch_size_) { in RestoreInternal() 245 int64_t current_index_ TF_GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | http_request_fake.h | 199 EXPECT_EQ(current_index_, requests_->size()) in ~FakeHttpRequestFactory() 204 EXPECT_LT(current_index_, requests_->size()) in Create() 206 return (*requests_)[current_index_++]; in Create() 211 int current_index_ = 0; variable
|
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | xplane_utils.cc | 446 if (current_index_ != -1) { in GetContainingEvent() 447 XEventVisitor current_event(plane_, line_, &line_->events(current_index_)); in GetContainingEvent() 452 for (int i = current_index_ + 1; i < line_->events_size(); ++i) { in GetContainingEvent() 456 current_index_ = i; in GetContainingEvent() 468 if (current_index_ != -1) { in GetOverlappingEvent() 469 XEventVisitor current_event(plane_, line_, &line_->events(current_index_)); in GetOverlappingEvent() 474 for (int i = current_index_ + 1; i < line_->events_size(); ++i) { in GetOverlappingEvent() 478 current_index_ = i; in GetOverlappingEvent()
|
D | xplane_utils.h | 201 int64_t current_index_ = -1; variable
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | compilability_check_util.cc | 123 : current_index_(0), values_(values) {} in SinglePassSearch() 131 while (current_index_ < values_.size() && in ScanForValue() 132 values_[current_index_] <= value) { in ScanForValue() 133 if (values_[current_index_] == value) { in ScanForValue() 134 current_index_++; in ScanForValue() 137 current_index_++; in ScanForValue() 143 int current_index_; member in tensorflow::__anon734c059a0111::SinglePassSearch
|