Home
last modified time | relevance | path

Searched refs:next_index_ (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dsync_buffer.cc20 return Size() - next_index_; in FutureLength()
27 if (samples_added <= next_index_) { in PushBack()
28 next_index_ -= samples_added; in PushBack()
35 next_index_ = 0; in PushBack()
51 if (next_index_ >= position) { in InsertZerosAtIndex()
53 set_next_index(next_index_ + length); // Overflow handled by subfunction. in InsertZerosAtIndex()
81 ReadInterleavedFromIndex(next_index_, samples_to_read, output); in GetNextAudioInterleaved()
82 next_index_ += samples_to_read; in GetNextAudioInterleaved()
92 next_index_ = Size(); in Flush()
99 next_index_ = std::min(value, Size()); in set_next_index()
Dsync_buffer.h24 next_index_(length), in SyncBuffer()
83 size_t next_index() const { return next_index_; } in next_index()
91 size_t next_index_;
/external/webrtc/webrtc/base/
Drollingaccumulator.h45 next_index_ = 0U; in Reset()
57 T sample_to_remove = samples_[next_index_]; in AddSample()
71 samples_[next_index_] = sample; in AddSample()
83 next_index_ = (next_index_ + 1) % max_count(); in AddSample()
101 max_ = samples_[next_index_]; in ComputeMax()
103 max_ = std::max(max_, samples_[(next_index_ + i) % max_count()]); in ComputeMax()
114 min_ = samples_[next_index_]; in ComputeMin()
116 min_ = std::min(min_, samples_[(next_index_ + i) % max_count()]); in ComputeMin()
138 size_t index = (next_index_ + max_size - i - 1) % max_size; in ComputeWeightedMean()
159 size_t next_index_; variable
Dfakenetwork.h39 AddInterface(iface, "test" + rtc::ToString(next_index_++)); in AddInterface()
119 int next_index_ = 0; variable
/external/tensorflow/tensorflow/core/distributed_runtime/
Drecent_request_ids.cc50 set_.erase(circular_buffer_[next_index_]); in Insert()
51 circular_buffer_[next_index_] = request_id; in Insert()
52 next_index_ = (next_index_ + 1) % circular_buffer_.size(); in Insert()
Drecent_request_ids.h73 int next_index_ GUARDED_BY(mu_) = 0;
/external/v8/src/compiler/
Dload-elimination.h54 nodes_[next_index_++] = node; in NON_EXPORTED_BASE()
59 that->nodes_[that->next_index_] = node; in NON_EXPORTED_BASE()
60 that->next_index_ = (that->next_index_ + 1) % arraysize(nodes_); in NON_EXPORTED_BASE()
71 size_t next_index_ = 0; in NON_EXPORTED_BASE() local
88 elements_[next_index_++] = Element(object, index, value, representation); in NON_EXPORTED_BASE()
95 that->elements_[that->next_index_] = in NON_EXPORTED_BASE()
97 that->next_index_ = (that->next_index_ + 1) % arraysize(elements_); in NON_EXPORTED_BASE()
126 size_t next_index_ = 0; in NON_EXPORTED_BASE() local
Dload-elimination.cc191 copy->nodes_[copy->next_index_++] = this_node; in Merge()
196 copy->next_index_ %= arraysize(nodes_); in Merge()
245 that->elements_[that->next_index_++] = element; in Kill()
248 that->next_index_ %= arraysize(elements_); in Kill()
298 copy->elements_[copy->next_index_++] = this_element; in Merge()
303 copy->next_index_ %= arraysize(elements_); in Merge()
/external/v8/src/snapshot/
Dstartup-serializer.h38 PartialCacheIndexMap() : map_(), next_index_(0) {} in PartialCacheIndexMap()
48 *index_out = next_index_; in LookupOrInsert()
49 map_.Set(obj, next_index_++); in LookupOrInsert()
56 int next_index_; variable
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Daudio_loop.cc51 const int16_t* output_ptr = &audio_array_[next_index_]; in GetNextBlock()
52 next_index_ = (next_index_ + block_length_samples_) % loop_length_samples_; in GetNextBlock()
Daudio_loop.h29 : next_index_(0), in AudioLoop()
49 size_t next_index_;
/external/tensorflow/tensorflow/core/kernels/data/
Dshard_dataset_op.cc114 : DatasetIterator<Dataset>(params), next_index_(0) {} in Iterator()
139 } while ((next_index_++ % dataset()->num_shards_) != dataset()->index_); in GetNextInternal()
160 writer->WriteScalar(full_name("next_index"), next_index_)); in SaveInternal()
171 reader->ReadScalar(full_name("next_index"), &next_index_)); in RestoreInternal()
181 int64 next_index_ GUARDED_BY(mu_);
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparallel_interleave_dataset_op.cc275 int64 index = (next_index_ + i) % interleave_indices_.size(); in GetNextInternal()
284 next_index_ = index; in GetNextInternal()
293 next_index_ = (index + 1) % interleave_indices_.size(); in GetNextInternal()
308 if (next_index_ != index) { in GetNextInternal()
310 next_index_ = index; in GetNextInternal()
336 next_index_ = (index + 1) % interleave_indices_.size(); in GetNextInternal()
358 workers_[interleave_indices_[next_index_]].cond_var.wait(l); in GetNextInternal()
385 writer->WriteScalar(full_name("next_index"), next_index_)); in SaveInternal()
429 next_index_ = size_t(temp); in RestoreInternal()
1056 size_t next_index_ GUARDED_BY(mu_) = 0;
/external/perfetto/src/profiling/memory/
Dheapprofd_producer.h186 uint64_t next_index_ = 0; member
Dheapprofd_producer.cc521 &data_source.next_index_); in Dump()