/external/webrtc/modules/audio_coding/neteq/ |
D | sync_buffer.cc | 20 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 …]
|
D | sync_buffer.h | 31 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/ |
D | rolling_accumulator.h | 44 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
|
D | fake_network.h | 42 AddInterface(iface, "test" + rtc::ToString(next_index_++)); in AddInterface() 127 int next_index_ = 0; variable
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | shard_dataset_op.cc | 120 : 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/ |
D | quality_threshold.cc | 27 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()
|
D | quality_threshold.h | 42 int next_index_; variable
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | recent_request_ids.cc | 50 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()
|
D | recent_request_ids.h | 74 int next_index_ TF_GUARDED_BY(mu_) = 0;
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_coverage_fuchsia.cpp | 106 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/ |
D | audio_loop.cc | 44 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()
|
D | audio_loop.h | 28 : next_index_(0), loop_length_samples_(0), block_length_samples_(0) {} in AudioLoop() 46 size_t next_index_;
|
/external/perfetto/src/profiling/common/ |
D | interning_output.h | 62 uint64_t* HeapprofdNextIndexMutable() { return &next_index_; } in HeapprofdNextIndexMutable() 72 uint64_t next_index_ = 0; variable
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | parallel_interleave_dataset_op.cc | 308 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/ |
D | icing-dynamic-trie.h | 74 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;
|