Home
last modified time | relevance | path

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

/external/kernel-headers/original/uapi/linux/
Dvirtio_ring.h188 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
195 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c137 int range_count_delta, new_idx; in radv_amdgpu_winsys_bo_virtual_bind() local
192 new_idx = first + !remove_first; in radv_amdgpu_winsys_bo_virtual_bind()
233 parent->ranges[new_idx + 1] = new_last; in radv_amdgpu_winsys_bo_virtual_bind()
236 parent->ranges[new_idx].offset = offset; in radv_amdgpu_winsys_bo_virtual_bind()
237 parent->ranges[new_idx].size = size; in radv_amdgpu_winsys_bo_virtual_bind()
238 parent->ranges[new_idx].bo = bo; in radv_amdgpu_winsys_bo_virtual_bind()
239 parent->ranges[new_idx].bo_offset = bo_offset; in radv_amdgpu_winsys_bo_virtual_bind()
241 radv_amdgpu_winsys_virtual_map(parent, parent->ranges + new_idx); in radv_amdgpu_winsys_bo_virtual_bind()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dkeycodes.c88 LedNameInfo *new, xkb_led_index_t new_idx) in AddLedName() argument
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()
121 if (new_idx >= info->num_led_names) in AddLedName()
122 info->num_led_names = new_idx + 1; in AddLedName()
125 old = &info->led_names[new_idx]; in AddLedName()
131 "Using %s, ignoring %s\n", new_idx + 1, in AddLedName()
/external/e2fsprogs/lib/et/
Det_h.awk170 new_idx = $2
171 curr_low += curr_sign * (new_idx - curr_idx)
172 curr_idx = new_idx
Det_c.awk209 new_idx = $2
210 for (i = table_item_count ; i < new_idx; i++) {
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler_util.c687 unsigned int new_idx = 0; in rc_make_conversion_swizzle() local
691 for ( ; new_idx < 4; new_idx++) { in rc_make_conversion_swizzle()
692 if (GET_BIT(new_mask, new_idx)) { in rc_make_conversion_swizzle()
693 SET_SWZ(conversion_swizzle, old_idx, new_idx); in rc_make_conversion_swizzle()
694 new_idx++; in rc_make_conversion_swizzle()
/external/mesa3d/src/compiler/nir/
Dnir_lower_uniforms_to_ubo.c42 nir_ssa_def *new_idx = nir_iadd(b, old_idx, nir_imm_int(b, 1)); in lower_instr() local
44 nir_src_for_ssa(new_idx)); in lower_instr()
Dnir_lower_atomics_to_ssbo.c67 nir_ssa_def *new_idx = nir_iadd(b, old_idx, nir_imm_int(b, ssbo_offset)); in lower_instr() local
70 nir_src_for_ssa(new_idx)); in lower_instr()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c46 static void ref_cnt_fb(int *buf, int *idx, int new_idx);
204 static void ref_cnt_fb(int *buf, int *idx, int new_idx) { in ref_cnt_fb() argument
207 *idx = new_idx; in ref_cnt_fb()
209 buf[new_idx]++; in ref_cnt_fb()
/external/e2fsprogs/lib/ext2fs/
Dext_attr.c1400 int new_idx; in xattr_array_update() local
1419 new_idx = h->ibody_count; in xattr_array_update()
1462 new_idx = xattr_find_position(h->attrs + h->ibody_count, in xattr_array_update()
1464 new_idx += h->ibody_count - 1; in xattr_array_update()
1467 (new_idx - old_idx) * sizeof(*h->attrs)); in xattr_array_update()
1468 h->attrs[new_idx] = tmp; in xattr_array_update()
1474 new_idx = xattr_find_position(h->attrs + h->ibody_count, in xattr_array_update()
1476 new_idx += h->ibody_count; in xattr_array_update()
1492 memmove(h->attrs + new_idx + 1, h->attrs + new_idx, in xattr_array_update()
1493 (h->count - new_idx)*sizeof(*h->attrs)); in xattr_array_update()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h299 static INLINE void ref_cnt_fb(RefCntBuffer *bufs, int *idx, int new_idx) { in ref_cnt_fb() argument
305 *idx = new_idx; in ref_cnt_fb()
307 bufs[new_idx].ref_count++; in ref_cnt_fb()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCFG.h173 unsigned new_idx = idx + Right; variable
174 assert(index_is_valid(new_idx) && "Iterator index out of bound");
175 idx = new_idx;
/external/adhd/cras/src/server/
Dcras_iodev_list.c135 uint32_t new_idx; in add_dev_to_list() local
147 new_idx = next_iodev_idx; in add_dev_to_list()
149 if (new_idx < MAX_SPECIAL_DEVICE_IDX) in add_dev_to_list()
150 new_idx = MAX_SPECIAL_DEVICE_IDX; in add_dev_to_list()
151 DL_SEARCH_SCALAR(list->iodevs, tmp, info.idx, new_idx); in add_dev_to_list()
154 new_idx++; in add_dev_to_list()
156 dev->info.idx = new_idx; in add_dev_to_list()
157 next_iodev_idx = new_idx + 1; in add_dev_to_list()
/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_simplifier.cc163 for (int64 new_idx = 0; new_idx < new_to_old_tuple_idx.size(); ++new_idx) { in TryRemoveDeadWhileParams() local
164 int64 old_idx = new_to_old_tuple_idx[new_idx]; in TryRemoveDeadWhileParams()
165 old_to_new_tuple_idx[old_idx] = new_idx; in TryRemoveDeadWhileParams()
166 VLOG(2) << "Remapping tuple index " << old_idx << " to " << new_idx; in TryRemoveDeadWhileParams()
/external/libaom/libaom/av1/encoder/
Dlevel.c440 const int new_idx = (buffer->start + buffer->num - 1) % FRAME_WINDOW_SIZE; in store_frame_record() local
441 FrameRecord *const record = &buffer->buf[new_idx]; in store_frame_record()
450 return new_idx; in store_frame_record()
/external/python/dateutil/dateutil/parser/
D_parser.py1086 new_idx = idx
1089 new_idx = hms_idx
1093 new_idx = idx
1095 return (new_idx, hms)
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc297 int new_idx = 0; in RewriteIdentityNAndInputsOutputs() local
300 terminal_input_pos[i] = new_idx++; in RewriteIdentityNAndInputsOutputs()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dtraining_ops.cc871 auto new_idx = tree_config->nodes_size(); in PruneTree() local
873 nodes_map[child_idx] = new_idx; in PruneTree()
874 child_idx = new_idx; in PruneTree()
/external/llvm/include/llvm/IR/
DInstrTypes.h213 unsigned new_idx = idx + Right; variable
214 assert(index_is_valid(new_idx) && "Iterator index out of bound");
215 idx = new_idx;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstrTypes.h215 unsigned new_idx = idx + Right; variable
216 assert(index_is_valid(new_idx) && "Iterator index out of bound");
217 idx = new_idx;