Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/rust/android-crates-io/crates/drm/src/control/
Datomic.rs30 Err(new_idx) => { in add_raw_property()
31 self.objects.insert(new_idx, obj_id); in add_raw_property()
32 self.count_props_per_object.insert(new_idx, 0); in add_raw_property()
33 (new_idx, 0) in add_raw_property()
/aosp_15_r20/external/libxkbcommon/src/xkbcomp/
H A Dkeycodes.c90 LedNameInfo *new, xkb_led_index_t new_idx) in AddLedName() argument
101 if (old_idx == new_idx) { in AddLedName()
110 xkb_led_index_t use = (replace ? new_idx + 1 : old_idx + 1); in AddLedName()
111 xkb_led_index_t ignore = (replace ? old_idx + 1 : new_idx + 1); in AddLedName()
123 if (new_idx >= info->num_led_names) in AddLedName()
124 info->num_led_names = new_idx + 1; in AddLedName()
127 old = &info->led_names[new_idx]; in AddLedName()
133 "Using %s, ignoring %s\n", new_idx + 1, in AddLedName()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ops/
H A Deinsum.cc760 char new_idx = std::tolower(c);
763 if (idx_map_.count(new_idx) == 0) {
764 idx_map_[c] = new_idx;
765 idx_map_[new_idx] = new_idx; // mark that new_idx is taken
766 return new_idx;
772 new_idx = k;
773 idx_map_[c] = new_idx;
774 idx_map_[new_idx] = new_idx; // mark that new_idx is taken
778 return new_idx;
/aosp_15_r20/external/trusty/headers/include/virtio/
Dvirtio_ring.h153 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
160 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/include/linux/
Dvirtio_ring.h153 static __inline__ int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
160 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/aosp_15_r20/external/trusty/lk/dev/virtio/include/dev/virtio/
Dvirtio_ring.h165 static inline int vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) in vring_need_event() argument
172 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vring_need_event()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler_util.c676 unsigned int new_idx = 0; in rc_make_conversion_swizzle() local
680 for ( ; new_idx < 4; new_idx++) { in rc_make_conversion_swizzle()
681 if (GET_BIT(new_mask, new_idx)) { in rc_make_conversion_swizzle()
682 SET_SWZ(conversion_swizzle, old_idx, new_idx); in rc_make_conversion_swizzle()
683 new_idx++; in rc_make_conversion_swizzle()
/aosp_15_r20/external/kernel-headers/original/uapi/linux/
H A Dvirtio_ring.h222 static inline int vring_need_event(__u16 event_idx, __u16 new_idx, __u16 old) in vring_need_event() argument
229 return (__u16)(new_idx - event_idx - 1) < (__u16)(new_idx - old); in vring_need_event()
/aosp_15_r20/external/e2fsprogs/lib/ext2fs/
H A Dext_attr.c1456 int new_idx; in xattr_array_update() local
1475 new_idx = h->ibody_count; in xattr_array_update()
1520 new_idx = xattr_find_position(h->attrs + h->ibody_count, in xattr_array_update()
1523 new_idx += h->ibody_count - 1; in xattr_array_update()
1526 (new_idx - old_idx) * sizeof(*h->attrs)); in xattr_array_update()
1527 h->attrs[new_idx] = tmp; in xattr_array_update()
1533 new_idx = xattr_find_position(h->attrs + h->ibody_count, in xattr_array_update()
1536 new_idx += h->ibody_count; in xattr_array_update()
1552 memmove(h->attrs + new_idx + 1, h->attrs + new_idx, in xattr_array_update()
1553 (h->count - new_idx)*sizeof(*h->attrs)); in xattr_array_update()
[all …]
/aosp_15_r20/external/harfbuzz_ng/src/
H A Dhb-ot-var-mvar-table.hh51 hb_codepoint_t *new_idx; in subset() local
53 … (varidx_map.has (varIdx, &new_idx)) ? *new_idx : HB_OT_LAYOUT_NO_VARIATIONS_INDEX, in subset()
/aosp_15_r20/external/e2fsprogs/lib/et/
H A Det_h.awk170 new_idx = $2
171 curr_low += curr_sign * (new_idx - curr_idx)
172 curr_idx = new_idx
H A Det_c.awk209 new_idx = $2
210 for (i = table_item_count ; i < new_idx; i++) {
/aosp_15_r20/external/libvpx/vp8/decoder/
H A 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()
/aosp_15_r20/external/harfbuzz_ng/src/OT/Color/CPAL/
H A DCPAL.hh247 HBUINT16 new_idx; in serialize() local
248 new_idx = layer_index * retained_color_indices.get_population (); in serialize()
249 if (!c->copy<HBUINT16> (new_idx)) return_trace (false); in serialize()
/aosp_15_r20/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_bo.c105 int range_count_delta, new_idx; in radv_amdgpu_winsys_bo_virtual_bind() local
195 new_idx = first + !remove_first; in radv_amdgpu_winsys_bo_virtual_bind()
225 parent->ranges[new_idx + 1] = new_last; in radv_amdgpu_winsys_bo_virtual_bind()
228 parent->ranges[new_idx].offset = offset; in radv_amdgpu_winsys_bo_virtual_bind()
229 parent->ranges[new_idx].size = size; in radv_amdgpu_winsys_bo_virtual_bind()
230 parent->ranges[new_idx].bo = bo; in radv_amdgpu_winsys_bo_virtual_bind()
231 parent->ranges[new_idx].bo_offset = bo_offset; in radv_amdgpu_winsys_bo_virtual_bind()
/aosp_15_r20/external/crosvm/devices/src/virtio/queue/
H A Dpacked_queue.rs393 let new_idx = self.use_index.index; in queue_wants_interrupt() localVariable
401 (new_idx - event_idx - Wrapping(1)) < (new_idx - old_idx) in queue_wants_interrupt()
/aosp_15_r20/external/libvpx/vp9/common/
H A Dvp9_onyxc_int.h348 static INLINE void ref_cnt_fb(RefCntBuffer *bufs, int *idx, int new_idx) { in ref_cnt_fb() argument
354 *idx = new_idx; in ref_cnt_fb()
356 bufs[new_idx].ref_count++; in ref_cnt_fb()
/aosp_15_r20/external/mesa3d/src/compiler/nir/
H A Dnir_lower_uniforms_to_ubo.c62 nir_def *new_idx = nir_iadd_imm(b, old_idx, 1); in nir_lower_uniforms_to_ubo_instr() local
63 nir_src_rewrite(&intr->src[0], new_idx); in nir_lower_uniforms_to_ubo_instr()
/aosp_15_r20/external/harfbuzz_ng/src/graph/
H A Dgraph.hh1053 unsigned new_idx = duplicate (parent_idx, child_idx); in duplicate_if_shared() local
1054 if (new_idx == (unsigned) -1) return child_idx; in duplicate_if_shared()
1055 return new_idx; in duplicate_if_shared()
1505 unsigned new_idx) in reassign_link()
1508 link.objidx = new_idx; in reassign_link()
1510 vertices_[new_idx].add_parent (parent_idx); in reassign_link()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/lldb/Utility/
DStreamTee.h73 size_t new_idx = m_streams.size(); in AppendStream() local
76 return new_idx; in AppendStream()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/lldb/Utility/
DStreamTee.h73 size_t new_idx = m_streams.size(); in AppendStream() local
76 return new_idx; in AppendStream()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/lldb/Utility/
DStreamTee.h73 size_t new_idx = m_streams.size(); in AppendStream() local
76 return new_idx; in AppendStream()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/lldb/Utility/
DStreamTee.h73 size_t new_idx = m_streams.size(); in AppendStream() local
76 return new_idx; in AppendStream()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DNamedTensor.cpp298 int64_t new_idx = std::distance(names.begin(), it); in align_to() local
299 new_sizes[new_idx] = tensor_sizes[idx]; in align_to()
300 new_strides[new_idx] = tensor_strides[idx]; in align_to()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dwhile_loop_simplifier.cc70 for (int64_t new_idx = 0; new_idx < new_to_old_tuple_idx.size(); ++new_idx) { in RemoveDeadTupleIndices() local
71 int64_t old_idx = new_to_old_tuple_idx[new_idx]; in RemoveDeadTupleIndices()
72 old_to_new_tuple_idx[old_idx] = new_idx; in RemoveDeadTupleIndices()
73 VLOG(2) << "Remapping tuple index " << old_idx << " to " << new_idx; in RemoveDeadTupleIndices()

123