Home
last modified time | relevance | path

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

12345678910>>...38

/third_party/skia/tests/sksl/runtime/
DPrecisionQualifiers.skvm1 $0 = colorGreen (float4 : slot 1/4, L3)
2 $1 = colorGreen (float4 : slot 2/4, L3)
3 $2 = colorGreen (float4 : slot 3/4, L3)
4 $3 = colorGreen (float4 : slot 4/4, L3)
5 $4 = colorRed (float4 : slot 1/4, L3)
6 $5 = colorRed (float4 : slot 2/4, L3)
7 $6 = colorRed (float4 : slot 3/4, L3)
8 $7 = colorRed (float4 : slot 4/4, L3)
9 $8 = coords (float2 : slot 1/2, L57)
10 $9 = coords (float2 : slot 2/2, L57)
[all …]
/third_party/libinput/src/
Devdev-totem.c49 int slot; /* current slot */ member
125 struct totem_slot *slot = &totem->slots[i]; in totem_set_touch_device_enabled() local
128 if (slot->state == SLOT_STATE_NONE) in totem_set_touch_device_enabled()
133 mm = evdev_device_units_to_mm(totem->device, &slot->axes.point); in totem_set_touch_device_enabled()
206 struct totem_slot *slot = &totem->slots[totem->slot]; in totem_process_abs() local
217 totem->slot = e->value; in totem_process_abs()
223 slot->state = SLOT_STATE_BEGIN; in totem_process_abs()
224 else if (slot->state != SLOT_STATE_NONE) in totem_process_abs()
225 slot->state = SLOT_STATE_END; in totem_process_abs()
228 set_bit(slot->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X); in totem_process_abs()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dhook-list.c38 static void slot_free(pa_hook *hook, pa_hook_slot *slot) { in slot_free() argument
40 pa_assert(slot); in slot_free()
42 PA_LLIST_REMOVE(pa_hook_slot, hook->slots, slot); in slot_free()
44 pa_xfree(slot); in slot_free()
58 pa_hook_slot *slot, *where, *prev; in pa_hook_connect() local
62 slot = pa_xnew(pa_hook_slot, 1); in pa_hook_connect()
63 slot->hook = hook; in pa_hook_connect()
64 slot->dead = false; in pa_hook_connect()
65 slot->callback = cb; in pa_hook_connect()
66 slot->data = data; in pa_hook_connect()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c105 unsigned slot; in vs_exec_run_linear() local
127 for (slot = 0; slot < shader->info.num_inputs; slot++) { in vs_exec_run_linear()
128 debug_printf("\t%d: %f %f %f %f\n", slot, in vs_exec_run_linear()
129 input[slot][0], in vs_exec_run_linear()
130 input[slot][1], in vs_exec_run_linear()
131 input[slot][2], in vs_exec_run_linear()
132 input[slot][3]); in vs_exec_run_linear()
153 for (slot = 0; slot < shader->info.num_inputs; slot++) { in vs_exec_run_linear()
155 assert(!util_is_inf_or_nan(input[slot][0])); in vs_exec_run_linear()
156 assert(!util_is_inf_or_nan(input[slot][1])); in vs_exec_run_linear()
[all …]
/third_party/mbedtls/library/
Dpsa_crypto_slot_management.c103 psa_key_slot_t *slot = NULL; in psa_get_and_lock_key_slot_in_memory() local
106 slot = &global_data.key_slots[key_id - PSA_KEY_ID_VOLATILE_MIN]; in psa_get_and_lock_key_slot_in_memory()
116 status = mbedtls_svc_key_id_equal(key, slot->attr.id) ? in psa_get_and_lock_key_slot_in_memory()
124 slot = &global_data.key_slots[slot_idx]; in psa_get_and_lock_key_slot_in_memory()
125 if (mbedtls_svc_key_id_equal(key, slot->attr.id)) { in psa_get_and_lock_key_slot_in_memory()
134 status = psa_lock_key_slot(slot); in psa_get_and_lock_key_slot_in_memory()
136 *p_slot = slot; in psa_get_and_lock_key_slot_in_memory()
157 psa_key_slot_t *slot = &global_data.key_slots[slot_idx]; in psa_wipe_all_key_slots() local
158 slot->lock_count = 1; in psa_wipe_all_key_slots()
159 (void) psa_wipe_key_slot(slot); in psa_wipe_all_key_slots()
[all …]
/third_party/vk-gl-cts/framework/delibs/depool/
DdePoolHash.h220 TYPENAME##Slot* slot = hash->slotTable[slotNdx]; \
221 while (slot) \
223 TYPENAME##Slot* nextSlot = slot->nextSlot; \
224 slot->nextSlot = hash->slotFreeList; \
225 hash->slotFreeList = slot; \
226 slot->numUsed = 0; \
227 slot = nextSlot; \
236 TYPENAME##Slot* slot; \
239 slot = hash->slotFreeList; \
243slot = (TYPENAME##Slot*)deMemPool_alloc(hash->pool, sizeof(TYPENAME##Slot) * DE_HASH_ELEMENTS_PER_…
[all …]
DdePoolSet.h228 TYPENAME##Slot* slot = set->slotTable[slotNdx]; \
229 while (slot) \
231 TYPENAME##Slot* nextSlot = slot->nextSlot; \
232 slot->nextSlot = set->slotFreeList; \
233 set->slotFreeList = slot; \
234 slot->numUsed = 0; \
235 slot = nextSlot; \
244 TYPENAME##Slot* slot; \
247 slot = set->slotFreeList; \
251slot = (TYPENAME##Slot*)deMemPool_alloc(set->pool, sizeof(TYPENAME##Slot) * DE_SET_ELEMENTS_PER_SL…
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftsynth.c47 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) in FT_GlyphSlot_Oblique() argument
53 if ( !slot ) in FT_GlyphSlot_Oblique()
56 outline = &slot->outline; in FT_GlyphSlot_Oblique()
59 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Oblique()
89 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) in FT_GlyphSlot_Embolden() argument
97 if ( !slot ) in FT_GlyphSlot_Embolden()
100 library = slot->library; in FT_GlyphSlot_Embolden()
101 face = slot->face; in FT_GlyphSlot_Embolden()
103 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && in FT_GlyphSlot_Embolden()
104 slot->format != FT_GLYPH_FORMAT_BITMAP ) in FT_GlyphSlot_Embolden()
[all …]
/third_party/libffi/src/pa/
Dffi.c147 unsigned int slot = FIRST_ARG_SLOT; in ffi_prep_args_pa32() local
164 *(SINT32 *)(stack - slot) = *(SINT8 *)(*p_argv); in ffi_prep_args_pa32()
168 *(UINT32 *)(stack - slot) = *(UINT8 *)(*p_argv); in ffi_prep_args_pa32()
172 *(SINT32 *)(stack - slot) = *(SINT16 *)(*p_argv); in ffi_prep_args_pa32()
176 *(UINT32 *)(stack - slot) = *(UINT16 *)(*p_argv); in ffi_prep_args_pa32()
183 slot); in ffi_prep_args_pa32()
184 *(UINT32 *)(stack - slot) = *(UINT32 *)(*p_argv); in ffi_prep_args_pa32()
190 slot += (slot & 1) ? 1 : 2; in ffi_prep_args_pa32()
191 *(UINT64 *)(stack - slot) = *(UINT64 *)(*p_argv); in ffi_prep_args_pa32()
196 debug(3, "Storing UINT32(float) in slot %u\n", slot); in ffi_prep_args_pa32()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_vue_map.c47 assign_vue_slot(struct brw_vue_map *vue_map, int varying, int slot) in assign_vue_slot() argument
52 vue_map->varying_to_slot[varying] = slot; in assign_vue_slot()
53 vue_map->slot_to_varying[slot] = varying; in assign_vue_slot()
108 int slot = 0; in brw_compute_vue_map() local
125 assign_vue_slot(vue_map, VARYING_SLOT_PSIZ, slot++); in brw_compute_vue_map()
126 assign_vue_slot(vue_map, BRW_VARYING_SLOT_NDC, slot++); in brw_compute_vue_map()
127 assign_vue_slot(vue_map, VARYING_SLOT_POS, slot++); in brw_compute_vue_map()
136 assign_vue_slot(vue_map, VARYING_SLOT_PSIZ, slot++); in brw_compute_vue_map()
137 assign_vue_slot(vue_map, VARYING_SLOT_POS, slot++); in brw_compute_vue_map()
145 vue_map->slot_to_varying[slot++] = VARYING_SLOT_POS; in brw_compute_vue_map()
[all …]
/third_party/libdrm/tests/tegra/
Dvic41.h36 #define NVB1B6_VIDEO_COMPOSITOR_SET_HISTORY_BUFFER_OFFSET(slot) (0x00000780 + (slot) * 4) argument
37 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE0_LUMA_OFFSET(slot) (0x00001200 + (slot) * 0x00000060) argument
38 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE0_CHROMA_U_OFFSET(slot) (0x00001204 + (slot) * 0x0000006… argument
39 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE0_CHROMA_V_OFFSET(slot) (0x00001208 + (slot) * 0x0000006… argument
40 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE1_LUMA_OFFSET(slot) (0x0000120c + (slot) * 0x00000060) argument
41 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE1_CHROMA_U_OFFSET(slot) (0x00001210 + (slot) * 0x0000006… argument
42 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE1_CHROMA_V_OFFSET(slot) (0x00001214 + (slot) * 0x0000006… argument
43 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE2_LUMA_OFFSET(slot) (0x00001218 + (slot) * 0x00000060) argument
44 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE2_CHROMA_U_OFFSET(slot) (0x0000121c + (slot) * 0x0000006… argument
45 #define NVB1B6_VIDEO_COMPOSITOR_SET_SURFACE2_CHROMA_V_OFFSET(slot) (0x00001220 + (slot) * 0x0000006… argument
[all …]
Dvic42.h35 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE0_LUMA_OFFSET(slot) (0x00001200 + (slot) * 0x00000060) argument
36 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE0_CHROMA_U_OFFSET(slot) (0x00001204 + (slot) * 0x0000006… argument
37 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE0_CHROMA_V_OFFSET(slot) (0x00001208 + (slot) * 0x0000006… argument
38 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE1_LUMA_OFFSET(slot) (0x0000120c + (slot) * 0x00000060) argument
39 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE1_CHROMA_U_OFFSET(slot) (0x00001210 + (slot) * 0x0000006… argument
40 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE1_CHROMA_V_OFFSET(slot) (0x00001214 + (slot) * 0x0000006… argument
41 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE2_LUMA_OFFSET(slot) (0x00001218 + (slot) * 0x00000060) argument
42 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE2_CHROMA_U_OFFSET(slot) (0x0000121c + (slot) * 0x0000006… argument
43 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE2_CHROMA_V_OFFSET(slot) (0x00001220 + (slot) * 0x0000006… argument
44 #define NVC5B6_VIDEO_COMPOSITOR_SET_SURFACE3_LUMA_OFFSET(slot) (0x00001224 + (slot) * 0x00000060) argument
[all …]
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstdecodebin3.c345 MultiQueueSlot *slot; member
509 MultiQueueSlot * slot);
516 GstPadProbeInfo * info, MultiQueueSlot * slot);
517 static gboolean reassign_slot (GstDecodebin3 * dbin, MultiQueueSlot * slot);
521 MultiQueueSlot * slot);
522 static void free_multiqueue_slot (GstDecodebin3 * dbin, MultiQueueSlot * slot);
524 MultiQueueSlot * slot);
1599 if (output->type == stype && output->slot && output->slot->active_stream) { in find_free_compatible_output()
1600 GstStream *tstream = output->slot->active_stream; in find_free_compatible_output()
1615 get_output_for_slot (MultiQueueSlot * slot) in get_output_for_slot() argument
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_feedback.h71 struct vn_feedback_slot *slot);
74 vn_feedback_get_status(struct vn_feedback_slot *slot) in vn_feedback_get_status() argument
76 return *slot->status; in vn_feedback_get_status()
80 vn_feedback_reset_status(struct vn_feedback_slot *slot) in vn_feedback_reset_status() argument
82 assert(slot->type == VN_FEEDBACK_TYPE_FENCE || in vn_feedback_reset_status()
83 slot->type == VN_FEEDBACK_TYPE_EVENT); in vn_feedback_reset_status()
84 *slot->status = in vn_feedback_reset_status()
85 slot->type == VN_FEEDBACK_TYPE_FENCE ? VK_NOT_READY : VK_EVENT_RESET; in vn_feedback_reset_status()
89 vn_feedback_set_status(struct vn_feedback_slot *slot, VkResult status) in vn_feedback_set_status() argument
91 assert(slot->type == VN_FEEDBACK_TYPE_FENCE || in vn_feedback_set_status()
[all …]
Dvn_feedback.c179 list_for_each_entry_safe(struct vn_feedback_slot, slot, &pool->free_slots, in vn_feedback_pool_fini()
181 vk_free(pool->alloc, slot); in vn_feedback_pool_fini()
223 struct vn_feedback_slot *slot; in vn_feedback_pool_alloc() local
227 slot = in vn_feedback_pool_alloc()
229 list_del(&slot->head); in vn_feedback_pool_alloc()
232 slot->type = type; in vn_feedback_pool_alloc()
233 return slot; in vn_feedback_pool_alloc()
236 slot = vk_alloc(pool->alloc, sizeof(*slot), VN_DEFAULT_ALIGN, in vn_feedback_pool_alloc()
238 if (!slot) { in vn_feedback_pool_alloc()
247 vk_free(pool->alloc, slot); in vn_feedback_pool_alloc()
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c66 unsigned slot, in constant_coef() argument
70 info->a0[slot][i] = value; in constant_coef()
71 info->dadx[slot][i] = 0.0f; in constant_coef()
72 info->dady[slot][i] = 0.0f; in constant_coef()
79 unsigned slot, in point_persp_coeff() argument
93 info->a0[slot][i] = info->v0[slot][i]*w0; in point_persp_coeff()
94 info->dadx[slot][i] = 0.0f; in point_persp_coeff()
95 info->dady[slot][i] = 0.0f; in point_persp_coeff()
110 unsigned slot, in texcoord_coef() argument
125 info->dadx[slot][0] = dadx; in texcoord_coef()
[all …]
/third_party/skia/third_party/externals/freetype/src/raster/
Dftrend1.c54 FT_GlyphSlot slot, in ft_raster1_transform() argument
61 if ( slot->format != render->glyph_format ) in ft_raster1_transform()
68 FT_Outline_Transform( &slot->outline, matrix ); in ft_raster1_transform()
71 FT_Outline_Translate( &slot->outline, delta->x, delta->y ); in ft_raster1_transform()
81 FT_GlyphSlot slot, in ft_raster1_get_cbox() argument
86 if ( slot->format == render->glyph_format ) in ft_raster1_get_cbox()
87 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_raster1_get_cbox()
94 FT_GlyphSlot slot, in ft_raster1_render() argument
99 FT_Outline* outline = &slot->outline; in ft_raster1_render()
100 FT_Bitmap* bitmap = &slot->bitmap; in ft_raster1_render()
[all …]
/third_party/toybox/porting/liteos_a/toys/posix/
Dps.c174 int (*match_process)(long long *slot);
239 long long slot[SLOT_count]; // data (see enum above) member
273 signed char width, slot; member
417 static int shared_match_process(long long *slot) in shared_match_process() argument
433 for (j = 0; j<mm->len; j++) if (ll[j] == slot[match[i].len]) return 1; in shared_match_process()
441 static int ps_match_process(long long *slot) in ps_match_process() argument
443 int i = shared_match_process(slot); in ps_match_process()
450 if ((FLAG(a)||FLAG(d)) && slot[SLOT_sid]==*slot) return 0; in ps_match_process()
451 if (FLAG(a) && !slot[SLOT_ttynr]) return 0; in ps_match_process()
452 if (!(FLAG(a)||FLAG(d)||FLAG(A)||FLAG(e)) && TT.tty!=slot[SLOT_ttynr]) in ps_match_process()
[all …]
/third_party/mesa3d/src/mapi/
Dstub.c42 int slot; member
107 stub->slot = -1; in stub_add_dynamic()
149 int slot) in search_table_by_slot() argument
153 if (table[i].slot == slot) in search_table_by_slot()
160 stub_find_by_slot(int slot) in stub_find_by_slot() argument
163 search_table_by_slot(public_stubs, ARRAY_SIZE(public_stubs), slot); in stub_find_by_slot()
166 return search_table_by_slot(dynamic_stubs, num_dynamic_stubs, slot); in stub_find_by_slot()
172 int slot; in stub_fix_dynamic() local
174 if (stub->slot >= 0) in stub_fix_dynamic()
178 slot = alias->slot; in stub_fix_dynamic()
[all …]
Dentry_x86_tls.h67 #define STUB_ASM_CODE(slot) \ argument
75 "jmp *(4 * " slot ")(%eax)"
104 int slot = 0; in entry_patch_public() local
106 entry += X86_ENTRY_SIZE, ++slot) in entry_patch_public()
107 entry_generate_or_patch(slot, entry, X86_ENTRY_SIZE); in entry_patch_public()
112 entry_get_public(int slot) in entry_get_public() argument
114 return (mapi_func) (x86_entry_start + slot * X86_ENTRY_SIZE); in entry_get_public()
118 entry_patch(mapi_func entry, int slot) in entry_patch() argument
121 *((unsigned long *) (code + 8)) = slot * sizeof(mapi_func); in entry_patch()
125 entry_generate_or_patch(int slot, char *code, size_t size) in entry_generate_or_patch() argument
[all …]
/third_party/toybox/toys/posix/
Dps.c217 int (*match_process)(long long *slot);
282 long long slot[SLOT_count]; // data (see enum above) member
316 signed char width, slot; member
460 static int shared_match_process(long long *slot) in shared_match_process() argument
476 for (j = 0; j<mm->len; j++) if (ll[j] == slot[match[i].len]) return 1; in shared_match_process()
484 static int ps_match_process(long long *slot) in ps_match_process() argument
486 int i = shared_match_process(slot); in ps_match_process()
493 if ((FLAG(a)||FLAG(d)) && slot[SLOT_sid]==*slot) return 0; in ps_match_process()
494 if (FLAG(a) && !slot[SLOT_ttynr]) return 0; in ps_match_process()
495 if (!(FLAG(a)||FLAG(d)||FLAG(A)||FLAG(e)) && TT.tty!=slot[SLOT_ttynr]) in ps_match_process()
[all …]
/third_party/node/deps/v8/src/wasm/baseline/
Dliftoff-assembler.cc538 int GetSafepointIndexForStackSlot(const VarState& slot) { in GetSafepointIndexForStackSlot() argument
545 return (slot.offset() + StandardFrameConstants::kFixedFrameSizeAboveFp - in GetSafepointIndexForStackSlot()
554 for (const auto& slot : stack_state) { in GetTaggedSlotsForOOLCode() local
555 if (!is_reference(slot.kind())) continue; in GetTaggedSlotsForOOLCode()
557 if (spill_location == SpillLocation::kTopOfStack && slot.is_reg()) { in GetTaggedSlotsForOOLCode()
561 spills->set(slot.reg()); in GetTaggedSlotsForOOLCode()
564 DCHECK_IMPLIES(slot.is_reg(), spill_location == SpillLocation::kStackSlots); in GetTaggedSlotsForOOLCode()
566 slots->push_back(GetSafepointIndexForStackSlot(slot)); in GetTaggedSlotsForOOLCode()
572 for (const auto& slot : stack_state) { in DefineSafepoint() local
573 if (is_reference(slot.kind())) { in DefineSafepoint()
[all …]
/third_party/glfw/tests/
Devents.c271 Slot* slot = glfwGetWindowUserPointer(window); in window_pos_callback() local
273 counter++, slot->number, glfwGetTime(), x, y); in window_pos_callback()
278 Slot* slot = glfwGetWindowUserPointer(window); in window_size_callback() local
280 counter++, slot->number, glfwGetTime(), width, height); in window_size_callback()
285 Slot* slot = glfwGetWindowUserPointer(window); in framebuffer_size_callback() local
287 counter++, slot->number, glfwGetTime(), width, height); in framebuffer_size_callback()
294 Slot* slot = glfwGetWindowUserPointer(window); in window_close_callback() local
296 counter++, slot->number, glfwGetTime()); in window_close_callback()
298 glfwSetWindowShouldClose(window, slot->closeable); in window_close_callback()
303 Slot* slot = glfwGetWindowUserPointer(window); in window_refresh_callback() local
[all …]
/third_party/skia/third_party/externals/libwebp/src/utils/
Dquant_levels_utils.c78 int s, slot = 0; in QuantizeLevels() local
83 while (slot < num_levels - 1 && in QuantizeLevels()
84 2 * s > inv_q_level[slot] + inv_q_level[slot + 1]) { in QuantizeLevels()
85 ++slot; in QuantizeLevels()
88 q_sum[slot] += s * freq[s]; in QuantizeLevels()
89 q_count[slot] += freq[s]; in QuantizeLevels()
91 q_level[s] = slot; in QuantizeLevels()
96 for (slot = 1; slot < num_levels - 1; ++slot) { in QuantizeLevels()
97 const double count = q_count[slot]; in QuantizeLevels()
99 inv_q_level[slot] = q_sum[slot] / count; in QuantizeLevels()
[all …]
/third_party/node/deps/v8/src/heap/
Dscavenger-inl.h114 Map map, THeapObjectSlot slot, HeapObject object, int object_size, in SemiSpaceCopyObject() argument
133 HeapObjectReference::Update(slot, map_word.ToForwardingAddress()); in SemiSpaceCopyObject()
134 DCHECK(!Heap::InFromPage(*slot)); in SemiSpaceCopyObject()
135 return Heap::InToPage(*slot) in SemiSpaceCopyObject()
139 HeapObjectReference::Update(slot, target); in SemiSpaceCopyObject()
151 CopyAndForwardResult Scavenger::PromoteObject(Map map, THeapObjectSlot slot, in PromoteObject() argument
182 HeapObjectReference::Update(slot, map_word.ToForwardingAddress()); in PromoteObject()
183 DCHECK(!Heap::InFromPage(*slot)); in PromoteObject()
184 return Heap::InToPage(*slot) in PromoteObject()
188 HeapObjectReference::Update(slot, target); in PromoteObject()
[all …]

12345678910>>...38