Home
last modified time | relevance | path

Searched refs:next_index (Results 1 – 25 of 60) sorted by relevance

123

/external/webrtc/modules/audio_coding/neteq/
Dsync_buffer_unittest.cc26 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST()
41 EXPECT_EQ(0u, sync_buffer.next_index()); in TEST()
43 EXPECT_EQ(kLen / 2, sync_buffer.next_index()); in TEST()
45 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST()
48 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST()
70 EXPECT_EQ(kLen - kNewLen, sync_buffer.next_index()); in TEST()
75 sync_buffer[channel][sync_buffer.next_index() + i]); in TEST()
83 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST()
111 EXPECT_EQ(kLen - 1, sync_buffer.next_index()); in TEST()
120 EXPECT_EQ(1000, sync_buffer[channel][sync_buffer.next_index()]); in TEST()
Dmerge.cc152 sync_buffer_->ReplaceAtIndex(*output, old_length, sync_buffer_->next_index()); in Process()
177 sync_buffer_->InsertZerosAtIndex(length_diff, sync_buffer_->next_index()); in GetExpandedSignal()
190 expanded_.PushBackFromIndex(*sync_buffer_, sync_buffer_->next_index()); in GetExpandedSignal()
/external/python/cpython3/Objects/
Denumobject.c104 PyObject *next_index; in enum_next_long() local
116 next_index = en->en_longindex; in enum_next_long()
117 assert(next_index != NULL); in enum_next_long()
118 stepped_up = PyNumber_Add(next_index, _PyLong_One); in enum_next_long()
129 PyTuple_SET_ITEM(result, 0, next_index); in enum_next_long()
137 Py_DECREF(next_index); in enum_next_long()
141 PyTuple_SET_ITEM(result, 0, next_index); in enum_next_long()
149 PyObject *next_index; in enum_next() local
163 next_index = PyLong_FromSsize_t(en->en_index); in enum_next()
164 if (next_index == NULL) { in enum_next()
[all …]
/external/python/cpython2/Objects/
Denumobject.c85 PyObject *next_index; in enum_next_long() local
102 next_index = en->en_longindex; in enum_next_long()
103 assert(next_index != NULL); in enum_next_long()
104 stepped_up = PyNumber_Add(next_index, one); in enum_next_long()
118 Py_DECREF(next_index); in enum_next_long()
123 PyTuple_SET_ITEM(result, 0, next_index); in enum_next_long()
131 PyObject *next_index; in enum_next() local
143 next_index = PyInt_FromSsize_t(en->en_index); in enum_next()
144 if (next_index == NULL) { in enum_next()
157 Py_DECREF(next_index); in enum_next()
[all …]
/external/proguard/src/proguard/wtk/
DProGuardObfuscator.java123 int next_index = classPathString.indexOf(separator, index); in classPath() local
124 if (next_index < 0) in classPath()
126 next_index = classPathString.length(); in classPath()
131 new ClassPathEntry(new File(classPathString.substring(index, next_index)), in classPath()
137 index = next_index + 1; in classPath()
/external/brotli/c/enc/
Dcluster_inc.h215 uint32_t next_index;
222 next_index = 0;
225 new_index[symbols[i]] = next_index;
226 ++next_index;
231 tmp = BROTLI_ALLOC(m, HistogramType, next_index);
233 next_index = 0;
235 if (new_index[symbols[i]] == next_index) {
236 tmp[next_index] = out[symbols[i]];
237 ++next_index;
242 for (i = 0; i < next_index; ++i) {
[all …]
/external/icing/icing/legacy/index/
Dicing-dynamic-trie.h74 uint32_t next_index() const { return next_index_; } in next_index() function
75 void set_next_index(uint32_t next_index) { next_index_ = next_index; } in set_next_index() argument
109 uint32_t next_index() const { return freelink.next_index; } in next_index() function
110 void set_next_index(uint32_t next_index) { in set_next_index() argument
111 freelink.next_index = next_index; in set_next_index()
131 uint32_t next_index : 32; member
296 bool ResetNext(uint32_t next_index);
Dicing-dynamic-trie.cc756 uint32_t next_link = ret->next_index(); in AllocNextArray()
1021 const char *suffix = storage_->GetSuffix(node.next_index()); in DumpNodeRecursive()
1031 const Next &next = *storage_->GetNext(node.next_index(), i); in DumpNodeRecursive()
1371 const char *suffix = storage_->GetSuffix(node.next_index()); in CollectStatsRecursive()
1380 const Next &next = *storage_->GetNext(node.next_index(), i); in CollectStatsRecursive()
1420 cur = storage_->GetNext(cur, 0)->next_index()) { in CollectStats()
1535 bool IcingDynamicTrie::ResetNext(uint32_t next_index) { in ResetNext() argument
1537 this->storage_->GetMutableNextArray(next_index, /*len=*/1); in ResetNext()
1556 node->next_index(), next_array_buffer_size); in SortNextArray()
1606 const char *prev_suffix = storage_->GetSuffix(split_node->next_index()); in Insert()
[all …]
/external/llvm-project/llvm/test/Transforms/LoopVectorize/
Dpr36311.ll29 %next_index.4178 = phi i32 [ %inc94.lcssa, %for.cond80.loopexit ], [ undef, %for.body51 ]
36 %next_index.5174 = phi i32 [ %next_index.4178, %for.body89.lr.ph ], [ %inc94, %for.body89 ]
39 %inc94 = add i32 %next_index.5174, 1
40 %conv95 = zext i32 %next_index.5174 to i64
/external/tensorflow/tensorflow/core/kernels/
Dragged_tensor_to_sparse_kernel.cc81 int next_index = 0; in Compute() local
107 sparse_indices(next_index, dim++) = index; in Compute()
109 sparse_indices(next_index, dim++) = i; // index_middle in Compute()
111 sparse_indices(next_index, dim++) = index; in Compute()
114 ++next_index; in Compute()
118 DCHECK_EQ(next_index, nvals); in Compute()
Dsegment_reduction_ops_impl.h143 Index next_index = 0; in Compute() local
145 next_index = internal::SubtleMustCopy(segment_vec(end)); in Compute()
146 if (out_index == next_index) { in Compute()
151 OP_REQUIRES(context, out_index < next_index, in Compute()
203 out_index = next_index; in Compute()
528 SegmentId next_index = 0;
530 next_index = internal::SubtleMustCopy(segment_vec(end));
531 if (out_index == next_index) {
536 OP_REQUIRES(context, out_index < next_index,
569 out_index = next_index;
/external/squashfs-tools/kernel/fs/squashfs/
Dblock.c83 int length, u64 *next_index, int srclength) in squashfs_read_data() argument
104 if (next_index) in squashfs_read_data()
105 *next_index = index + length; in squashfs_read_data()
136 if (next_index) in squashfs_read_data()
137 *next_index = index + length + 2; in squashfs_read_data()
/external/rust/crates/crossbeam-channel/src/
Dselect.rs591 next_index: usize, field
613 next_index: 0, in new()
632 let i = self.next_index; in send()
635 self.next_index += 1; in send()
654 let i = self.next_index; in recv()
657 self.next_index += 1; in recv()
699 index < self.next_index, in remove()
702 self.next_index, in remove()
1100 next_index: self.next_index, in clone()
/external/tensorflow/tensorflow/core/data/service/
Dtask_runner_test.cc56 for (int64 next_index = start_index; next_index < end_index; ++next_index) { in RunConsumer() local
58 request.set_round_index(next_index); in RunConsumer()
/external/tensorflow/tensorflow/compiler/xla/
Darray.h320 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
328 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
338 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
352 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
466 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
487 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
539 } while (next_index(&index));
570 bool next_index(std::vector<int64>* index) const {
/external/perfetto/src/profiling/memory/
Dbookkeeping_dump.h87 uint64_t* next_index = intern_state_->HeapprofdNextIndexMutable(); in MakeProfilePacket() local
88 current_profile_packet_->set_index((*next_index)++); in MakeProfilePacket()
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-pointers-8.ll14 %index = phi i32 [ 0, %entry ], [ %next_index, %loop_back ]
26 %next_index = add i32 %index, 1
/external/autotest/client/cros/cellular/mbim_compliance/
Dusb_descriptors.py378 next_index = self._index + self._data[self._index]
379 descriptor = descriptor_class(self._data[self._index:next_index])
380 self._index = next_index
/external/llvm-project/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-pointers-8.ll15 %index = phi i32 [ 0, %entry ], [ %next_index, %loop_back ]
27 %next_index = add i32 %index, 1
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_temporal_aligner.cc173 const size_t next_index = start_index + i; in FindNextMatch() local
175 if (start_ssim < Ssim(test_frame, reference_video.GetFrame(next_index))) in FindNextMatch()
176 return FindNextMatch(test_frame, reference_video, next_index); in FindNextMatch()
/external/ImageMagick/MagickCore/
Dcompress.c951 next_index; in LZWEncodeImage() local
987 next_index=LZWEod+1; in LZWEncodeImage()
1011 table[next_index].prefix=(ssize_t) last_code; in LZWEncodeImage()
1012 table[next_index].suffix=(ssize_t) pixels[i]; in LZWEncodeImage()
1013 table[next_index].next=table[last_code].next; in LZWEncodeImage()
1014 table[last_code].next=(ssize_t) next_index; in LZWEncodeImage()
1015 next_index++; in LZWEncodeImage()
1019 if ((next_index >> code_width) != 0) in LZWEncodeImage()
1035 next_index=LZWEod+1; in LZWEncodeImage()
/external/rust/crates/crossbeam-utils/src/sync/
Dsharded_lock.rs583 next_index: usize, field
590 next_index: 0,
618 let i = indices.next_index;
619 indices.next_index += 1;
/external/rust/crates/crossbeam-deque/src/
Ddeque.rs1264 let next_index = new_tail.wrapping_add(1 << SHIFT); in push() localVariable
1267 self.tail.index.store(next_index, Ordering::Release); in push()
1354 let mut next_index = (new_head & !HAS_NEXT).wrapping_add(1 << SHIFT); in steal() localVariable
1356 next_index |= HAS_NEXT; in steal()
1360 self.head.index.store(next_index, Ordering::Release); in steal()
1473 let mut next_index = (new_head & !HAS_NEXT).wrapping_add(1 << SHIFT); in steal_batch() localVariable
1475 next_index |= HAS_NEXT; in steal_batch()
1479 self.head.index.store(next_index, Ordering::Release); in steal_batch()
1631 let mut next_index = (new_head & !HAS_NEXT).wrapping_add(1 << SHIFT); in steal_batch_and_pop() localVariable
1633 next_index |= HAS_NEXT; in steal_batch_and_pop()
[all …]
/external/perfetto/src/trace_processor/importers/common/
Dclock_tracker.cc272 size_t next_index = static_cast<size_t>( in ConvertSlowpath() local
274 PERFETTO_DCHECK(next_index < next_snap.snapshot_ids.size()); in ConvertSlowpath()
275 int64_t next_timestamp_ns = next_snap.timestamps_ns[next_index]; in ConvertSlowpath()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c594 unsigned next_index; member
699 unsigned *next_index, bool *initialised) in get_next_index() argument
704 if (state->current_type->next_index == UINT_MAX) { in get_next_index()
717 state->current_type->next_index = *next_index; in get_next_index()
718 *next_index += array_size; in get_next_index()
723 unsigned index = state->current_type->next_index; in get_next_index()
725 state->current_type->next_index += MAX2(1, uniform->array_elements); in get_next_index()
743 unsigned *next_index = state->current_var->data.bindless ? in update_uniforms_shader_info() local
746 int sampler_index = get_next_index(state, uniform, next_index, &init_idx); in update_uniforms_shader_info()
1060 entry->next_index = UINT_MAX; in build_type_tree_for_type()

123