Home
last modified time | relevance | path

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

/external/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()
46 next_index_ -= std::min(next_index_, samples_added_per_channel); in PushBackInterleaved()
61 if (next_index_ >= position) { in InsertZerosAtIndex()
63 set_next_index(next_index_ + length); // Overflow handled by subfunction. in InsertZerosAtIndex()
90 next_index_, samples_to_read, output->mutable_data()); in GetNextAudioInterleaved()
92 next_index_ += samples_read_per_channel; in GetNextAudioInterleaved()
103 next_index_ = Size(); in Flush()
[all …]
Dsync_buffer.h31 next_index_(length), in SyncBuffer()
94 size_t next_index() const { return next_index_; } in next_index()
102 size_t next_index_;
/external/webrtc/rtc_base/
Drolling_accumulator.h44 next_index_ = 0U; in Reset()
54 T sample_to_remove = samples_[next_index_]; in AddSample()
64 samples_[next_index_] = sample; in AddSample()
75 next_index_ = (next_index_ + 1) % max_count(); in AddSample()
84 max_ = samples_[next_index_]; in ComputeMax()
86 max_ = std::max(max_, samples_[(next_index_ + i) % max_count()]); in ComputeMax()
97 min_ = samples_[next_index_]; in ComputeMin()
99 min_ = std::min(min_, samples_[(next_index_ + i) % max_count()]); in ComputeMin()
121 size_t index = (next_index_ + max_size - i - 1) % max_size; in ComputeWeightedMean()
133 size_t next_index_; variable
Dfake_network.h42 AddInterface(iface, "test" + rtc::ToString(next_index_++)); in AddInterface()
127 int next_index_ = 0; variable
/external/tensorflow/tensorflow/core/kernels/data/
Dshard_dataset_op.cc120 : DatasetIterator<Dataset>(params), next_index_(0) {} in Iterator()
138 (dataset()->index_ - next_index_) % dataset()->num_shards_; in GetNextInternal()
145 next_index_ += num_skipped; in GetNextInternal()
157 next_index_++; in GetNextInternal()
160 next_index_ < dataset()->num_shards_) { in GetNextInternal()
162 Status s = input_impl_->Skip(ctx, dataset()->num_shards_ - next_index_, in GetNextInternal()
170 next_index_, " file(s), which is not enough for the required ", in GetNextInternal()
183 next_index_ = dataset()->num_shards_; in GetNextInternal()
204 writer->WriteScalar(full_name(kNextIndex), next_index_)); in SaveInternal()
215 reader->ReadScalar(full_name(kNextIndex), &next_index_)); in RestoreInternal()
[all …]
/external/webrtc/video/
Dquality_threshold.cc27 next_index_(0), in QualityThreshold()
41 int prev_val = until_full_ > 0 ? 0 : buffer_[next_index_]; in AddMeasurement()
42 buffer_[next_index_] = measurement; in AddMeasurement()
43 next_index_ = (next_index_ + 1) % max_measurements_; in AddMeasurement()
Dquality_threshold.h42 int next_index_; 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.h74 int next_index_ TF_GUARDED_BY(mu_) = 0;
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_coverage_fuchsia.cpp106 kSancovSinkName, vmo_name_, next_index_ - 1); in Dump()
119 u32 next_index_ = 0; member in __sancov::__anonbe9045100111::TracePcGuardController
123 size_t DataSize() const { return next_index_ * sizeof(uintptr_t); } in DataSize()
129 if (next_index_ == 0) { in Setup()
134 next_index_ = 1 + num_guards; in Setup()
175 uint32_t first_index = next_index_; in Setup()
176 next_index_ += num_guards; in Setup()
/external/webrtc/modules/audio_coding/neteq/tools/
Daudio_loop.cc44 next_index_ = 0; in Init()
53 const int16_t* output_ptr = &audio_array_[next_index_]; in GetNextBlock()
54 next_index_ = (next_index_ + block_length_samples_) % loop_length_samples_; in GetNextBlock()
Daudio_loop.h28 : next_index_(0), loop_length_samples_(0), block_length_samples_(0) {} in AudioLoop()
46 size_t next_index_;
/external/perfetto/src/profiling/common/
Dinterning_output.h62 uint64_t* HeapprofdNextIndexMutable() { return &next_index_; } in HeapprofdNextIndexMutable()
72 uint64_t next_index_ = 0; variable
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparallel_interleave_dataset_op.cc308 int64 index = (next_index_ + i) % interleave_indices_.size(); in GetNextInternal()
317 next_index_ = index; in GetNextInternal()
325 next_index_ = (index + 1) % interleave_indices_.size(); in GetNextInternal()
345 if (next_index_ != index) { in GetNextInternal()
347 next_index_ = index; in GetNextInternal()
373 next_index_ = (index + 1) % interleave_indices_.size(); in GetNextInternal()
393 workers_[interleave_indices_[next_index_]].cond_var.wait(l); in GetNextInternal()
424 writer->WriteScalar(prefix(), kNextIndex, next_index_)); in SaveInternal()
469 next_index_ = size_t(temp); in RestoreInternal()
1148 size_t next_index_ TF_GUARDED_BY(mu_) = 0;
/external/icing/icing/legacy/index/
Dicing-dynamic-trie.h74 uint32_t next_index() const { return next_index_; } in next_index()
75 void set_next_index(uint32_t next_index) { next_index_ = next_index; } in set_next_index()
86 uint32_t next_index_ : 27;