Home
last modified time | relevance | path

Searched refs:old_index (Results 1 – 20 of 20) sorted by relevance

/external/apache-commons-bcel/src/examples/
Dpatchclass.java66 int index, old_index; in patchIt() local
78 old_index = 0; // String start offset in patchIt()
81 while ((index = str.indexOf(old, old_index)) != -1) { in patchIt()
82 buf.append(str.substring(old_index, index)); // append prefix in patchIt()
85 old_index = index + old.length(); // Skip `old'.length chars in patchIt()
88 buf.append(str.substring(old_index)); // append rest of string in patchIt()
/external/tensorflow/tensorflow/compiler/xla/service/
Dconditional_simplifier.cc340 const int old_index = std::distance(used_indices.begin(), old_iter); in RemoveUnusedTupleElements() local
341 new_to_old_mapping[new_index] = old_index; in RemoveUnusedTupleElements()
342 old_to_new_mapping[old_index] = new_index; in RemoveUnusedTupleElements()
389 for (int old_index = 0; old_index < old_tuple_shapes_size; ++old_index) { in RemoveUnusedTupleElements() local
390 if (used_indices[old_index]) { in RemoveUnusedTupleElements()
393 old_shape.tuple_shapes(old_index), old_root, old_index))); in RemoveUnusedTupleElements()
407 const int old_index = user->tuple_index(); in RemoveUnusedTupleElements() local
408 const int new_index = old_to_new_mapping[old_index]; in RemoveUnusedTupleElements()
/external/python/cpython3/Objects/
Denumobject.c106 PyObject *old_index; in enum_next_long() local
127 old_index = PyTuple_GET_ITEM(result, 0); in enum_next_long()
131 Py_DECREF(old_index); in enum_next_long()
153 PyObject *old_index; in enum_next() local
172 old_index = PyTuple_GET_ITEM(result, 0); in enum_next()
176 Py_DECREF(old_index); in enum_next()
/external/mesa3d/src/compiler/glsl/
Dlower_distance.cpp225 lower_distance_visitor::create_indices(ir_rvalue *old_index, in create_indices() argument
229 void *ctx = ralloc_parent(old_index); in create_indices()
234 if (old_index->type != glsl_type::int_type) { in create_indices()
235 assert (old_index->type == glsl_type::uint_type); in create_indices()
236 old_index = new(ctx) ir_expression(ir_unop_u2i, old_index); in create_indices()
240 old_index->constant_expression_value(ctx); in create_indices()
257 new(ctx) ir_dereference_variable(old_index_var), old_index)); in create_indices()
Dlower_variable_index_to_cond_assign.cpp181 ir_variable *old_index; member
189 old_index(NULL), in assignment_generator()
203 deref_replacer r(this->old_index, index); in generate()
470 ag.old_index = index; in convert_dereference_array()
/external/v8/src/compiler/
Dint64-lowering.cc84 int old_index) { in GetReturnIndexAfterLowering() argument
85 int result = old_index; in GetReturnIndexAfterLowering()
86 for (int i = 0; i < old_index; i++) { in GetReturnIndexAfterLowering()
101 Signature<MachineRepresentation>* signature, int old_index) { in GetParameterIndexAfterLowering() argument
102 int result = old_index; in GetParameterIndexAfterLowering()
105 std::min(old_index, static_cast<int>(signature->parameter_count())); in GetParameterIndexAfterLowering()
299 int old_index = ParameterIndexOf(node->op()); in LowerNode() local
301 --old_index; in LowerNode()
302 int new_index = GetParameterIndexAfterLowering(signature(), old_index); in LowerNode()
307 if (old_index < 0 || old_index >= param_count) { in LowerNode()
[all …]
Dsimd-scalar-lowering.cc440 Signature<MachineRepresentation>* signature, int old_index) { in GetParameterIndexAfterLoweringSimd128() argument
443 int result = old_index; in GetParameterIndexAfterLoweringSimd128()
444 for (int i = 0; i < old_index; ++i) { in GetParameterIndexAfterLoweringSimd128()
474 int old_index) { in GetReturnIndexAfterLowering() argument
475 int result = old_index; in GetReturnIndexAfterLowering()
476 for (int i = 0; i < old_index; ++i) { in GetReturnIndexAfterLowering()
1372 int old_index = ParameterIndexOf(node->op()); in LowerNode() local
1375 --old_index; in LowerNode()
1377 GetParameterIndexAfterLoweringSimd128(signature(), old_index); in LowerNode()
1383 if (old_index < 0) { in LowerNode()
[all …]
/external/webrtc/webrtc/test/testsupport/
Dpacket_reader.cc43 size_t old_index = currentIndex_; in NextPacket() local
45 return static_cast<int>(currentIndex_ - old_index); in NextPacket()
/external/perfetto/src/trace_processor/containers/
Dbit_vector_iterators.h75 uint32_t old_index = index_; in SetIndex() local
82 uint32_t old_block = old_index / BitVector::Block::kBits; in SetIndex()
/external/freetype/src/cache/
Dftccache.c179 FT_UFast old_index = p + mask; in ftc_cache_resize() local
183 if ( old_index + 1 <= FTC_HASH_INITIAL_SIZE ) in ftc_cache_resize()
207 pold = cache->buckets + old_index; in ftc_cache_resize()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c453 nir_ssa_def *old_index = intrin->src[0].ssa; in lower_res_reindex_intrinsic() local
462 new_index = nir_vec4(b, nir_channel(b, old_index, 0), in lower_res_reindex_intrinsic()
463 nir_iadd(b, nir_channel(b, old_index, 1), in lower_res_reindex_intrinsic()
465 nir_channel(b, old_index, 2), in lower_res_reindex_intrinsic()
473 nir_ssa_def *base = nir_unpack_64_2x32_split_x(b, old_index); in lower_res_reindex_intrinsic()
474 nir_ssa_def *arr_idx = nir_unpack_64_2x32_split_y(b, old_index); in lower_res_reindex_intrinsic()
482 new_index = nir_vec2(b, nir_iadd(b, nir_channel(b, old_index, 0), offset), in lower_res_reindex_intrinsic()
483 nir_channel(b, old_index, 1)); in lower_res_reindex_intrinsic()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DUtility.java744 int old_index; in replace() local
748 old_index = 0; // String start offset in replace()
750 while ((index = str.indexOf(old, old_index)) != -1) { in replace()
751 buf.append(str.substring(old_index, index)); // append prefix in replace()
753 old_index = index + old.length(); // Skip `old'.length chars in replace()
755 buf.append(str.substring(old_index)); // append rest of string in replace()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_lower_vulkan_resource.c89 nir_ssa_def *old_index = nir_ssa_for_src(b, intrin->src[0], 1); in lower_vri_intrin_vrri() local
91 return nir_vec2(b, nir_iadd(b, old_index, delta), in lower_vri_intrin_vrri()
/external/blktrace/iowatcher/
Dblkparse.c336 int old_index = 0; in process_hash_insert() local
345 old_index = pm->index; in process_hash_insert()
354 pm->index = old_index; in process_hash_insert()
/external/v8/src/objects/
Dordered-hash-table.cc277 int old_index = table->EntryToIndexRaw(old_entry_raw); in Rehash() local
279 Object value = table->get(old_index + i); in Rehash()
1450 int old_index = index; in Transition() local
1453 if (removed_index >= old_index) break; in Transition()
Djs-objects.h482 int old_index, int new_index);
Djs-objects.cc4371 int old_index, in PrototypeRegistryCompactionCallback() argument
4377 DCHECK_EQ(old_index, proto_info.registry_slot()); in PrototypeRegistryCompactionCallback()
/external/libsrtp2/srtp/
Dsrtp.c3016 srtp_xtd_seq_num_t old_index; in update_template_streams() local
3032 old_index = stream->rtp_rdbx.index; in update_template_streams()
3066 stream->rtp_rdbx.index = old_index; in update_template_streams()
3089 srtp_xtd_seq_num_t old_index; in update_stream() local
3099 old_index = stream->rtp_rdbx.index; in update_stream()
3118 stream->rtp_rdbx.index = old_index; in update_stream()
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc2239 Register old_index = index; in AddMemoryMasking() local
2240 pinned->clear(LiftoffRegister(old_index)); in AddMemoryMasking()
2242 if (index != old_index) __ Move(index, old_index, kWasmI32); in AddMemoryMasking()
/external/freetype/
DChangeLog.231565 (FTC_Cache_Clear): The type of `old_index' is matched to