Home
last modified time | relevance | path

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

/external/oss-fuzz/infra/
Dbisector.py120 new_idx = 0
121 build_specified_commit.build_fuzzers_from_commit(commit_list[new_idx],
140 while old_idx - new_idx > 1:
141 curr_idx = (old_idx + new_idx) // 2
148 new_idx = curr_idx
151 return commit_list[new_idx]
/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/u-boot/include/
Dvirtio_ring.h150 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
159 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/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.c53 nir_ssa_def *new_idx = nir_iadd(b, old_idx, nir_imm_int(b, 1)); in lower_instr() local
55 nir_src_for_ssa(new_idx)); in lower_instr()
Dnir_deref.c1118 nir_ssa_def *new_idx = nir_iadd(b, parent->arr.index.ssa, in opt_deref_ptr_as_array() local
1124 nir_src_for_ssa(new_idx)); in opt_deref_ptr_as_array()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c167 int range_count_delta, new_idx; in radv_amdgpu_winsys_bo_virtual_bind() local
225 new_idx = first + !remove_first; in radv_amdgpu_winsys_bo_virtual_bind()
267 parent->ranges[new_idx + 1] = new_last; in radv_amdgpu_winsys_bo_virtual_bind()
270 parent->ranges[new_idx].offset = offset; in radv_amdgpu_winsys_bo_virtual_bind()
271 parent->ranges[new_idx].size = size; in radv_amdgpu_winsys_bo_virtual_bind()
272 parent->ranges[new_idx].bo = bo; in radv_amdgpu_winsys_bo_virtual_bind()
273 parent->ranges[new_idx].bo_offset = bo_offset; in radv_amdgpu_winsys_bo_virtual_bind()
275 radv_amdgpu_winsys_virtual_map(parent, parent->ranges + new_idx); in radv_amdgpu_winsys_bo_virtual_bind()
/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.h319 static INLINE void ref_cnt_fb(RefCntBuffer *bufs, int *idx, int new_idx) { in ref_cnt_fb() argument
325 *idx = new_idx; in ref_cnt_fb()
327 bufs[new_idx].ref_count++; in ref_cnt_fb()
/external/perfetto/tools/compact_reencode/
Dmain.cc95 size_t new_idx = string_table.size(); in ReEncodeBundle() local
97 return static_cast<uint32_t>(new_idx); in ReEncodeBundle()
/external/adhd/cras/src/server/
Dcras_iodev_list.c120 uint32_t new_idx; in add_dev_to_list() local
132 new_idx = next_iodev_idx; in add_dev_to_list()
134 if (new_idx < MAX_SPECIAL_DEVICE_IDX) in add_dev_to_list()
135 new_idx = MAX_SPECIAL_DEVICE_IDX; in add_dev_to_list()
136 DL_SEARCH_SCALAR(list->iodevs, tmp, info.idx, new_idx); in add_dev_to_list()
139 new_idx++; in add_dev_to_list()
141 dev->info.idx = new_idx; in add_dev_to_list()
142 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/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_array_merge.cpp374 int new_idx = read_swizzle_map[idx]; in move_read_swizzles() local
375 if (new_idx >= 0) in move_read_swizzles()
376 out_swizzle |= orig_swz << 3 * new_idx; in move_read_swizzles()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner.cc312 int new_idx = 0; in RewriteIdentityNAndInputsOutputs() local
315 terminal_input_pos[i] = new_idx++; in RewriteIdentityNAndInputsOutputs()
/external/python/dateutil/dateutil/parser/
D_parser.py1129 new_idx = idx
1132 new_idx = hms_idx
1136 new_idx = idx
1138 return (new_idx, hms)
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Deliminate_dead_members_pass.cpp403 uint32_t new_idx = GetNewMemberIndex(type_id, i); in UpdateConstantComposite() local
404 if (new_idx == kRemovedMember) { in UpdateConstantComposite()
/external/deqp-deps/SPIRV-Tools/source/opt/
Deliminate_dead_members_pass.cpp436 uint32_t new_idx = GetNewMemberIndex(type_id, i); in UpdateConstantComposite() local
437 if (new_idx == kRemovedMember) { in UpdateConstantComposite()
/external/angle/third_party/spirv-tools/src/source/opt/
Deliminate_dead_members_pass.cpp436 uint32_t new_idx = GetNewMemberIndex(type_id, i); in UpdateConstantComposite() local
437 if (new_idx == kRemovedMember) { in UpdateConstantComposite()
/external/libaom/libaom/av1/encoder/
Dlevel.c971 const int new_idx = (buffer->start + buffer->num - 1) % FRAME_WINDOW_SIZE; in store_frame_record() local
972 FrameRecord *const record = &buffer->buf[new_idx]; in store_frame_record()
982 return new_idx; in store_frame_record()
/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;
/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;