Home
last modified time | relevance | path

Searched refs:old_idx (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_simplifier.cc408 int64 old_idx = new_to_old_tuple_idx[new_idx]; in TryRemoveDeadWhileParams() local
409 old_to_new_tuple_idx[old_idx] = new_idx; in TryRemoveDeadWhileParams()
410 VLOG(2) << "Remapping tuple index " << old_idx << " to " << new_idx; in TryRemoveDeadWhileParams()
416 for (int64 old_idx : new_to_old_tuple_idx) { in TryRemoveDeadWhileParams() local
418 while_init->shape().tuple_shapes(old_idx)); in TryRemoveDeadWhileParams()
445 int64 old_idx = user->tuple_index(); in TryRemoveDeadWhileParams() local
446 auto new_idx_iter = old_to_new_tuple_idx.find(old_idx); in TryRemoveDeadWhileParams()
484 for (int64 old_idx : new_to_old_tuple_idx) { in TryRemoveDeadWhileParams() local
486 while_body_root->mutable_operand(old_idx)); in TryRemoveDeadWhileParams()
499 for (int64 old_idx : new_to_old_tuple_idx) { in TryRemoveDeadWhileParams() local
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c235 const int old_idx = cm->ref_frame_map[ref_index]; in swap_frame_buffers() local
237 decrease_ref_count(old_idx, frame_bufs, pool); in swap_frame_buffers()
241 decrease_ref_count(old_idx, frame_bufs, pool); in swap_frame_buffers()
249 const int old_idx = cm->ref_frame_map[ref_index]; in swap_frame_buffers() local
250 decrease_ref_count(old_idx, frame_bufs, pool); in swap_frame_buffers()
329 const int old_idx = cm->ref_frame_map[ref_index]; in vp9_receive_compressed_data() local
331 decrease_ref_count(old_idx, frame_bufs, pool); in vp9_receive_compressed_data()
335 decrease_ref_count(old_idx, frame_bufs, pool); in vp9_receive_compressed_data()
342 const int old_idx = cm->ref_frame_map[ref_index]; in vp9_receive_compressed_data() local
343 decrease_ref_count(old_idx, frame_bufs, pool); in vp9_receive_compressed_data()
/external/vulkan-validation-layers/loader/
Dextension_manual.c1036 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_group_count_tramp; old_idx++) { in setupLoaderTrampPhysDevGroups() local
1037 …s_dev_groups[new_idx].physicalDeviceCount == inst->phys_dev_groups_tramp[old_idx]->physicalDeviceC… in setupLoaderTrampPhysDevGroups()
1039 …for (uint32_t old_gpu = 0; old_gpu < inst->phys_dev_groups_tramp[old_idx]->physicalDeviceCount; ol… in setupLoaderTrampPhysDevGroups()
1042 …_groups[new_idx].physicalDevices[new_gpu] == inst->phys_dev_groups_tramp[old_idx]->physicalDevices… in setupLoaderTrampPhysDevGroups()
1056 new_phys_dev_groups[new_idx] = inst->phys_dev_groups_tramp[old_idx]; in setupLoaderTrampPhysDevGroups()
1266 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_group_count_term; old_idx++) { in setupLoaderTermPhysDevGroups() local
1267 …ys_dev_groups[new_idx].physicalDeviceCount == inst->phys_dev_groups_term[old_idx]->physicalDeviceC… in setupLoaderTermPhysDevGroups()
1269 …for (uint32_t old_gpu = 0; old_gpu < inst->phys_dev_groups_term[old_idx]->physicalDeviceCount; old… in setupLoaderTermPhysDevGroups()
1272 …v_groups[new_idx].physicalDevices[new_gpu] == inst->phys_dev_groups_term[old_idx]->physicalDevices… in setupLoaderTermPhysDevGroups()
1286 new_phys_dev_groups[new_idx] = inst->phys_dev_groups_term[old_idx]; in setupLoaderTermPhysDevGroups()
Dloader.c5491 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_count_tramp; old_idx++) { local
5492 if (local_phys_devs[new_idx] == inst->phys_devs_tramp[old_idx]->phys_dev) {
5493 new_phys_devs[new_idx] = inst->phys_devs_tramp[old_idx];
5638 for (uint32_t old_idx = 0; old_idx < inst->phys_dev_count_term; old_idx++) { local
5639 … if (icd_phys_dev_array[icd_idx].phys_devs[pd_idx] == inst->phys_devs_term[old_idx]->phys_dev) {
5640 new_phys_devs[idx] = inst->phys_devs_term[old_idx];
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c686 unsigned int old_idx; in rc_make_conversion_swizzle() local
688 for (old_idx = 0; old_idx < 4; old_idx++) { in rc_make_conversion_swizzle()
689 if (!GET_BIT(old_mask, old_idx)) in rc_make_conversion_swizzle()
693 SET_SWZ(conversion_swizzle, old_idx, new_idx); in rc_make_conversion_swizzle()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dkeycodes.c90 xkb_led_index_t old_idx; in AddLedName() local
97 old = FindLedByName(info, new->name, &old_idx); in AddLedName()
99 if (old_idx == new_idx) { in AddLedName()
108 xkb_led_index_t use = (replace ? new_idx + 1 : old_idx + 1); in AddLedName()
109 xkb_led_index_t ignore = (replace ? old_idx + 1 : new_idx + 1); in AddLedName()