Home
last modified time | relevance | path

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

123

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dsync_buffer_unittest.cc25 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST()
40 EXPECT_EQ(0u, sync_buffer.next_index()); in TEST()
42 EXPECT_EQ(kLen / 2, sync_buffer.next_index()); in TEST()
44 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST()
47 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST()
69 EXPECT_EQ(kLen - kNewLen, sync_buffer.next_index()); in TEST()
74 sync_buffer[channel][sync_buffer.next_index() + i]); in TEST()
82 EXPECT_EQ(kLen, sync_buffer.next_index()); in TEST()
110 EXPECT_EQ(kLen - 1, sync_buffer.next_index()); in TEST()
119 EXPECT_EQ(1000, sync_buffer[channel][sync_buffer.next_index()]); in TEST()
Dmerge.cc151 sync_buffer_->ReplaceAtIndex(*output, old_length, sync_buffer_->next_index()); in Process()
175 sync_buffer_->InsertZerosAtIndex(length_diff, sync_buffer_->next_index()); in GetExpandedSignal()
188 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/v8/src/utils/
Didentity-map.cc109 int next_index = index; in DeleteIndex() local
111 next_index = (next_index + 1) & mask_; in DeleteIndex()
112 Address key = keys_[next_index]; in DeleteIndex()
116 if (index < next_index) { in DeleteIndex()
117 if (index < expected_index && expected_index <= next_index) continue; in DeleteIndex()
119 DCHECK_GT(index, next_index); in DeleteIndex()
120 if (index < expected_index || expected_index <= next_index) continue; in DeleteIndex()
125 std::swap(keys_[index], keys_[next_index]); in DeleteIndex()
126 std::swap(values_[index], values_[next_index]); in DeleteIndex()
127 index = next_index; in DeleteIndex()
/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/swiftshader/third_party/llvm-7.0/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()
515 OutputRow next_index = 0;
517 next_index = internal::SubtleMustCopy(segment_vec(end));
518 if (out_index == next_index) {
523 OP_REQUIRES(context, out_index < next_index,
555 out_index = next_index;
/external/libjpeg-turbo/simd/powerpc/
Djdsample-altivec.c48 next_index = in jsimd_h2v1_fancy_upsample_altivec() local
84 p_next0 = vec_perm(this0, next0, next_index); in jsimd_h2v1_fancy_upsample_altivec()
154 next_index = in jsimd_h2v2_fancy_upsample_altivec() local
220 p_nextcolsum_1l = vec_perm(thiscolsum_1l, thiscolsum_1h, next_index); in jsimd_h2v2_fancy_upsample_altivec()
223 p_nextcolsum1l = vec_perm(thiscolsum1l, thiscolsum1h, next_index); in jsimd_h2v2_fancy_upsample_altivec()
238 p_nextcolsum_1l = vec_perm(thiscolsum_1l, thiscolsum_1h, next_index); in jsimd_h2v2_fancy_upsample_altivec()
239 p_nextcolsum_1h = vec_perm(thiscolsum_1h, nextcolsum_1l, next_index); in jsimd_h2v2_fancy_upsample_altivec()
246 p_nextcolsum1l = vec_perm(thiscolsum1l, thiscolsum1h, next_index); in jsimd_h2v2_fancy_upsample_altivec()
247 p_nextcolsum1h = vec_perm(thiscolsum1h, nextcolsum1l, next_index); in jsimd_h2v2_fancy_upsample_altivec()
/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()
Dsquashfs_fs_sb.h45 u64 next_index; member
/external/u-boot/drivers/serial/
Dsandbox.c115 const unsigned int next_index = in sandbox_serial_pending() local
126 if (next_index == serial_buf_read) in sandbox_serial_pending()
131 serial_buf_write = next_index; in sandbox_serial_pending()
/external/v8/src/profiler/
Dheap-snapshot-generator-inl.h28 int next_index = index + children_count_; in set_children_index() local
30 return next_index; in set_children_index()
/external/tensorflow/tensorflow/compiler/xla/
Darray.h314 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
322 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
332 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
346 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
459 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
480 for (int64 i = 0; i < num_elements(); ++i, next_index(&index)) {
532 } while (next_index(&index));
562 bool next_index(std::vector<int64>* index) const {
/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/test/Transforms/RewriteStatepointsForGC/
Dbase-pointers-8.ll14 %index = phi i32 [ 0, %entry ], [ %next_index, %loop_back ]
26 %next_index = add i32 %index, 1
/external/v8/src/runtime/
Druntime-regexp.cc158 int next_index = i + 1; in ParseReplacementPattern() local
159 if (next_index == length) { // No next character! in ParseReplacementPattern()
162 Char c2 = characters[next_index]; in ParseReplacementPattern()
168 ReplacementPart::ReplacementSubString(last, next_index)); in ParseReplacementPattern()
169 last = next_index + 1; // Continue after the second "$". in ParseReplacementPattern()
172 last = next_index; in ParseReplacementPattern()
174 i = next_index; in ParseReplacementPattern()
181 i = next_index; in ParseReplacementPattern()
189 i = next_index; in ParseReplacementPattern()
197 i = next_index; in ParseReplacementPattern()
[all …]
/external/perfetto/src/profiling/memory/
Dbookkeeping_dump.h89 uint64_t* next_index = intern_state_->HeapprofdNextIndexMutable(); in MakeProfilePacket() local
90 current_profile_packet_->set_index((*next_index)++); in MakeProfilePacket()
/external/swiftshader/third_party/llvm-7.0/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/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/perfetto/src/trace_processor/importers/common/
Dclock_tracker.cc260 size_t next_index = static_cast<size_t>( in ConvertSlowpath() local
262 PERFETTO_DCHECK(next_index < next_snap.snapshot_ids.size()); in ConvertSlowpath()
263 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()
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs_sb.h32 long long next_index; member

123