Home
last modified time | relevance | path

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

12345678910>>...63

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c102 unsigned slot; in vs_exec_run_linear() local
124 for (slot = 0; slot < shader->info.num_inputs; slot++) { in vs_exec_run_linear()
125 debug_printf("\t%d: %f %f %f %f\n", slot, in vs_exec_run_linear()
126 input[slot][0], in vs_exec_run_linear()
127 input[slot][1], in vs_exec_run_linear()
128 input[slot][2], in vs_exec_run_linear()
129 input[slot][3]); in vs_exec_run_linear()
150 for (slot = 0; slot < shader->info.num_inputs; slot++) { in vs_exec_run_linear()
152 assert(!util_is_inf_or_nan(input[slot][0])); in vs_exec_run_linear()
153 assert(!util_is_inf_or_nan(input[slot][1])); in vs_exec_run_linear()
[all …]
Ddraw_tess.c61 unsigned slot, i; in llvm_fetch_tcs_input() local
76 for (slot = 0, vs_slot = 0; slot < shader->info.num_inputs; ++slot) { in llvm_fetch_tcs_input()
78 shader->info.input_semantic_name[slot], in llvm_fetch_tcs_input()
79 shader->info.input_semantic_index[slot], in llvm_fetch_tcs_input()
83 (*input_data)[i][slot][0] = 0; in llvm_fetch_tcs_input()
84 (*input_data)[i][slot][1] = 0; in llvm_fetch_tcs_input()
85 (*input_data)[i][slot][2] = 0; in llvm_fetch_tcs_input()
86 (*input_data)[i][slot][3] = 0; in llvm_fetch_tcs_input()
88 (*input_data)[i][slot][0] = input[vs_slot][0]; in llvm_fetch_tcs_input()
89 (*input_data)[i][slot][1] = input[vs_slot][1]; in llvm_fetch_tcs_input()
[all …]
/external/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 …]
/external/deqp/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 …]
/external/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()
107 int slot = 0; in brw_compute_vue_map() local
124 assign_vue_slot(vue_map, VARYING_SLOT_PSIZ, slot++); in brw_compute_vue_map()
125 assign_vue_slot(vue_map, BRW_VARYING_SLOT_NDC, slot++); in brw_compute_vue_map()
126 assign_vue_slot(vue_map, VARYING_SLOT_POS, slot++); in brw_compute_vue_map()
135 assign_vue_slot(vue_map, VARYING_SLOT_PSIZ, slot++); in brw_compute_vue_map()
136 assign_vue_slot(vue_map, VARYING_SLOT_POS, slot++); in brw_compute_vue_map()
144 vue_map->slot_to_varying[slot++] = VARYING_SLOT_POS; in brw_compute_vue_map()
[all …]
/external/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 …]
/external/python/cpython2/Modules/_ctypes/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 …]
/external/tensorflow/tensorflow/python/training/
Dslot_creator_test.py42 slot = slot_creator.create_slot(v, v.initialized_value(), name="slot")
46 self.assertEqual("var/slot", slot.op.name)
47 self.assertEqual([2], slot.get_shape().as_list())
48 self.assertEqual(dtypes.float32, slot.dtype.base_dtype)
49 self.assertAllEqual([1.0, 2.5], self.evaluate(slot))
55 slot = slot_creator.create_slot(v, v * 2, name="slot")
59 self.assertEqual("const/slot", slot.op.name)
60 self.assertEqual([2], slot.get_shape().as_list())
61 self.assertEqual(dtypes.float32, slot.dtype.base_dtype)
62 self.assertAllEqual([2.0, 5.0], self.evaluate(slot))
[all …]
/external/libchrome/base/threading/
Dsequence_local_storage_slot_unittest.cc35 SequenceLocalStorageSlot<int> slot; in TEST_F() local
36 slot.Set(5); in TEST_F()
37 EXPECT_EQ(slot.Get(), 5); in TEST_F()
45 SequenceLocalStorageSlot<bool> slot; in TEST_F() local
47 slot.Set(should_be_false); in TEST_F()
49 EXPECT_FALSE(slot.Get()); in TEST_F()
50 slot.Get() = true; in TEST_F()
51 EXPECT_TRUE(slot.Get()); in TEST_F()
53 EXPECT_NE(should_be_false, slot.Get()); in TEST_F()
83 SequenceLocalStorageSlot<bool> slot; in TEST_F() local
[all …]
/external/flatbuffers/tests/FlatBuffers.Test/
DTestTable.cs31 public bool GetSlot(int slot, bool def) in GetSlot()
33 var off = t.__offset(slot); in GetSlot()
42 public sbyte GetSlot(int slot, sbyte def) in GetSlot()
44 var off = t.__offset(slot); in GetSlot()
53 public byte GetSlot(int slot, byte def) in GetSlot()
55 var off = t.__offset(slot); in GetSlot()
64 public short GetSlot(int slot, short def) in GetSlot()
66 var off = t.__offset(slot); in GetSlot()
75 public ushort GetSlot(int slot, ushort def) in GetSlot()
77 var off = t.__offset(slot); in GetSlot()
[all …]
/external/rust/crates/tokio/src/time/driver/wheel/
Dlevel.rs21 slot: [EntryList; LEVEL_MULT], field
31 pub(crate) slot: usize, field
61 slot: [ in new()
135 let slot = match self.next_occupied_slot(now) { in next_expiration() localVariable
136 Some(slot) => slot, in next_expiration()
148 let mut deadline = level_start + slot as u64 * slot_range; in next_expiration()
180 slot, in next_expiration()
186 slot, in next_expiration()
200 let slot = (zeros + now_slot) % 64; in next_occupied_slot() localVariable
202 Some(slot) in next_occupied_slot()
[all …]
/external/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 …]
/external/avb/boot_control/
Dboot_control_avb.c77 unsigned int slot) { in module_setActiveBootSlot() argument
78 if (slot >= module_getNumberSlots(module)) { in module_setActiveBootSlot()
80 } else if (avb_ab_mark_slot_active(ops->ab_ops, slot) == AVB_IO_RESULT_OK) { in module_setActiveBootSlot()
88 unsigned int slot) { in module_setSlotAsUnbootable() argument
89 if (slot >= module_getNumberSlots(module)) { in module_setSlotAsUnbootable()
91 } else if (avb_ab_mark_slot_unbootable(ops->ab_ops, slot) == in module_setSlotAsUnbootable()
100 unsigned int slot) { in module_isSlotBootable() argument
104 avb_assert(slot < 2); in module_isSlotBootable()
106 if (slot >= module_getNumberSlots(module)) { in module_isSlotBootable()
112 is_bootable = (ab_data.slots[slot].priority > 0) && in module_isSlotBootable()
[all …]
/external/flatbuffers/go/
Dtable.go145 func (t *Table) GetBoolSlot(slot VOffsetT, d bool) bool {
146 off := t.Offset(slot)
157 func (t *Table) GetByteSlot(slot VOffsetT, d byte) byte {
158 off := t.Offset(slot)
169 func (t *Table) GetInt8Slot(slot VOffsetT, d int8) int8 {
170 off := t.Offset(slot)
181 func (t *Table) GetUint8Slot(slot VOffsetT, d uint8) uint8 {
182 off := t.Offset(slot)
193 func (t *Table) GetInt16Slot(slot VOffsetT, d int16) int16 {
194 off := t.Offset(slot)
[all …]
/external/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 …]
/external/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 …]
/external/llvm-project/openmp/libomptarget/deviceRTLs/common/
Dstate-queuei.h39 INLINE bool omptarget_nvptx_Queue<ElementType, SIZE>::IsServing(uint32_t slot, in IsServing() argument
41 return __kmpc_atomic_add((unsigned int *)&ids[slot], 0u) == id; in IsServing()
46 omptarget_nvptx_Queue<ElementType, SIZE>::PushElement(uint32_t slot, in PushElement() argument
48 __kmpc_atomic_exchange((unsigned long long *)&elementQueue[slot], in PushElement()
54 omptarget_nvptx_Queue<ElementType, SIZE>::PopElement(uint32_t slot) { in PopElement() argument
56 (unsigned long long *)&elementQueue[slot], (unsigned long long)0); in PopElement()
60 INLINE void omptarget_nvptx_Queue<ElementType, SIZE>::DoneServing(uint32_t slot, in DoneServing() argument
62 __kmpc_atomic_exchange((unsigned int *)&ids[slot], (id + 1) % MAX_ID); in DoneServing()
69 uint32_t slot = ticket % SIZE; in Enqueue() local
71 while (!IsServing(slot, id)) in Enqueue()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dpa_avx.cpp353 bool PaTriList0(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
354 bool PaTriList1(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
355 bool PaTriList2(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
357 bool PaTriList0_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
358 bool PaTriList1_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
359 bool PaTriList2_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
361 void PaTriListSingle0(PA_STATE_OPT& pa, uint32_t slot, uint32_t primIndex, simd4scalar verts[]);
363 bool PaTriStrip0(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
364 bool PaTriStrip1(PA_STATE_OPT& pa, uint32_t slot, simdvector verts[]);
366 bool PaTriStrip0_simd16(PA_STATE_OPT& pa, uint32_t slot, simd16vector verts[]);
[all …]
/external/openscreen/cast/streaming/
Dsender.cc123 PendingFrameSlot* const slot = get_slot_for(frame.frame_id); in EnqueueFrame() local
124 OSP_DCHECK(!slot->frame); in EnqueueFrame()
125 slot->frame = crypto_.Encrypt(frame); in EnqueueFrame()
126 const int packet_count = rtp_packetizer_.ComputeNumberOfPackets(*slot->frame); in EnqueueFrame()
128 slot->frame.reset(); in EnqueueFrame()
131 slot->send_flags.Resize(packet_count, YetAnotherBitVector::SET); in EnqueueFrame()
132 slot->packet_sent_times.assign(packet_count, SenderPacketRouter::kNever); in EnqueueFrame()
136 last_enqueued_frame_id_ = slot->frame->frame_id; in EnqueueFrame()
139 if (slot->frame->dependency == EncodedFrame::KEY_FRAME) { in EnqueueFrame()
140 last_enqueued_key_frame_id_ = slot->frame->frame_id; in EnqueueFrame()
[all …]
/external/webp/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 …]
/external/grpc-grpc/src/core/lib/iomgr/
Derror.cc149 uint8_t slot = err->first_err; in unref_errs() local
150 while (slot != UINT8_MAX) { in unref_errs()
152 reinterpret_cast<grpc_linked_error*>(err->arena + slot); in unref_errs()
154 GPR_ASSERT(err->last_err == slot ? lerr->next == UINT8_MAX in unref_errs()
156 slot = lerr->next; in unref_errs()
164 uint8_t slot = err->strs[which]; in unref_strs() local
165 if (slot != UINT8_MAX) { in unref_strs()
166 unref_slice(*reinterpret_cast<grpc_slice*>(err->arena + slot)); in unref_strs()
229 uint8_t slot = (*err)->ints[which]; in internal_set_int() local
230 if (slot == UINT8_MAX) { in internal_set_int()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Derror.cc144 uint8_t slot = err->first_err; in unref_errs() local
145 while (slot != UINT8_MAX) { in unref_errs()
147 reinterpret_cast<grpc_linked_error*>(err->arena + slot); in unref_errs()
149 GPR_ASSERT(err->last_err == slot ? lerr->next == UINT8_MAX in unref_errs()
151 slot = lerr->next; in unref_errs()
157 uint8_t slot = err->strs[which]; in unref_strs() local
158 if (slot != UINT8_MAX) { in unref_strs()
160 *reinterpret_cast<grpc_slice*>(err->arena + slot)); in unref_strs()
222 uint8_t slot = (*err)->ints[which]; in internal_set_int() local
223 if (slot == UINT8_MAX) { in internal_set_int()
[all …]
/external/elfutils/lib/
Dfixedsizehash.h180 struct CONCAT(PREFIX,fshashent) *slot; in CONCAT()
182 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
183 if (slot->hval != 0) in CONCAT()
187 slot->hval = hval; in CONCAT()
189 slot->entry = data; in CONCAT()
191 slot->entry = *data; in CONCAT()
204 struct CONCAT(PREFIX,fshashent) *slot; in CONCAT()
206 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
207 if (slot->hval != 0) in CONCAT()
211 slot->hval = hval; in CONCAT()
[all …]

12345678910>>...63