Home
last modified time | relevance | path

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

12345678910>>...22

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c97 unsigned slot; in vs_exec_run_linear() local
118 for (slot = 0; slot < shader->info.num_inputs; slot++) { in vs_exec_run_linear()
119 debug_printf("\t%d: %f %f %f %f\n", slot, in vs_exec_run_linear()
120 input[slot][0], in vs_exec_run_linear()
121 input[slot][1], in vs_exec_run_linear()
122 input[slot][2], in vs_exec_run_linear()
123 input[slot][3]); in vs_exec_run_linear()
133 for (slot = 0; slot < shader->info.num_inputs; slot++) { in vs_exec_run_linear()
135 assert(!util_is_inf_or_nan(input[slot][0])); in vs_exec_run_linear()
136 assert(!util_is_inf_or_nan(input[slot][1])); in vs_exec_run_linear()
[all …]
/external/freetype/src/base/
Dftsynth.c48 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) in FT_GlyphSlot_Oblique() argument
54 if ( !slot ) in FT_GlyphSlot_Oblique()
57 outline = &slot->outline; in FT_GlyphSlot_Oblique()
60 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Oblique()
90 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) in FT_GlyphSlot_Embolden() argument
98 if ( !slot ) in FT_GlyphSlot_Embolden()
101 library = slot->library; in FT_GlyphSlot_Embolden()
102 face = slot->face; in FT_GlyphSlot_Embolden()
104 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && in FT_GlyphSlot_Embolden()
105 slot->format != FT_GLYPH_FORMAT_BITMAP ) in FT_GlyphSlot_Embolden()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftsynth.c48 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) in FT_GlyphSlot_Oblique() argument
54 if ( !slot ) in FT_GlyphSlot_Oblique()
57 outline = &slot->outline; in FT_GlyphSlot_Oblique()
60 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Oblique()
90 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) in FT_GlyphSlot_Embolden() argument
98 if ( !slot ) in FT_GlyphSlot_Embolden()
101 library = slot->library; in FT_GlyphSlot_Embolden()
102 face = slot->face; in FT_GlyphSlot_Embolden()
104 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && in FT_GlyphSlot_Embolden()
105 slot->format != FT_GLYPH_FORMAT_BITMAP ) in FT_GlyphSlot_Embolden()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_point.c62 unsigned slot, in constant_coef() argument
66 info->a0[slot][i] = value; in constant_coef()
67 info->dadx[slot][i] = 0.0f; in constant_coef()
68 info->dady[slot][i] = 0.0f; in constant_coef()
75 unsigned slot, in point_persp_coeff() argument
89 info->a0[slot][i] = info->v0[slot][i]*w0; in point_persp_coeff()
90 info->dadx[slot][i] = 0.0f; in point_persp_coeff()
91 info->dady[slot][i] = 0.0f; in point_persp_coeff()
106 unsigned slot, in texcoord_coef() argument
121 info->dadx[slot][0] = dadx; in texcoord_coef()
[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/dbus/dbus/
Ddbus-dataslot.c73 dbus_int32_t slot; in _dbus_data_slot_allocator_alloc() local
90 slot = *slot_id_p; in _dbus_data_slot_allocator_alloc()
92 _dbus_assert (slot < allocator->n_allocated_slots); in _dbus_data_slot_allocator_alloc()
93 _dbus_assert (allocator->allocated_slots[slot].slot_id == slot); in _dbus_data_slot_allocator_alloc()
95 allocator->allocated_slots[slot].refcount += 1; in _dbus_data_slot_allocator_alloc()
104 slot = 0; in _dbus_data_slot_allocator_alloc()
105 while (slot < allocator->n_allocated_slots) in _dbus_data_slot_allocator_alloc()
107 if (allocator->allocated_slots[slot].slot_id < 0) in _dbus_data_slot_allocator_alloc()
109 allocator->allocated_slots[slot].slot_id = slot; in _dbus_data_slot_allocator_alloc()
110 allocator->allocated_slots[slot].refcount = 1; in _dbus_data_slot_allocator_alloc()
[all …]
/external/v8/src/
Dtype-feedback-vector.h79 FeedbackVectorSlotKind GetKind(int slot) const { in GetKind() argument
80 DCHECK(slot >= 0 && slot < slots_); in GetKind()
81 return kinds_[slot]; in GetKind()
107 FeedbackVectorSlotKind GetKind(int slot) const { in GetKind() argument
108 return static_cast<FeedbackVectorSlotKind>(slot_kinds_.at(slot)); in GetKind()
143 FeedbackVectorSlotKind GetKind(FeedbackVectorSlot slot) const;
162 void SetKind(FeedbackVectorSlot slot, FeedbackVectorSlotKind kind);
197 inline int GetIndex(FeedbackVectorSlot slot) const;
199 FeedbackVectorSlot slot);
203 inline Object* Get(FeedbackVectorSlot slot) const;
[all …]
Dtype-info.cc52 Handle<Object> TypeFeedbackOracle::GetInfo(FeedbackVectorSlot slot) { in GetInfo() argument
53 DCHECK(slot.ToInt() >= 0 && slot.ToInt() < feedback_vector_->length()); in GetInfo()
56 Object* obj = feedback_vector_->Get(slot); in GetInfo()
76 FeedbackVectorSlot slot) { in LoadInlineCacheState() argument
77 if (!slot.IsInvalid()) { in LoadInlineCacheState()
78 FeedbackVectorSlotKind kind = feedback_vector_->GetKind(slot); in LoadInlineCacheState()
80 LoadICNexus nexus(feedback_vector_, slot); in LoadInlineCacheState()
83 KeyedLoadICNexus nexus(feedback_vector_, slot); in LoadInlineCacheState()
94 bool TypeFeedbackOracle::StoreIsUninitialized(FeedbackVectorSlot slot) { in StoreIsUninitialized() argument
95 if (!slot.IsInvalid()) { in StoreIsUninitialized()
[all …]
Dtype-info.h28 InlineCacheState LoadInlineCacheState(FeedbackVectorSlot slot);
29 bool StoreIsUninitialized(FeedbackVectorSlot slot);
30 bool CallIsUninitialized(FeedbackVectorSlot slot);
31 bool CallIsMonomorphic(FeedbackVectorSlot slot);
32 bool CallNewIsMonomorphic(FeedbackVectorSlot slot);
40 void GetStoreModeAndKeyType(FeedbackVectorSlot slot,
44 void PropertyReceiverTypes(FeedbackVectorSlot slot, Handle<Name> name,
46 void KeyedPropertyReceiverTypes(FeedbackVectorSlot slot,
49 void AssignmentReceiverTypes(FeedbackVectorSlot slot, Handle<Name> name,
51 void KeyedAssignmentReceiverTypes(FeedbackVectorSlot slot,
[all …]
Dtype-feedback-vector-inl.h19 int slot = derived->slots(); in AddSlot() local
25 return FeedbackVectorSlot(slot); in AddSlot()
78 FeedbackVectorSlot slot) const { in GetKind() argument
80 return metadata()->GetKind(slot); in GetKind()
84 int TypeFeedbackVector::GetIndex(FeedbackVectorSlot slot) const { in GetIndex() argument
85 DCHECK(slot.ToInt() < slot_count()); in GetIndex()
86 return kReservedIndexCount + slot.ToInt(); in GetIndex()
98 Object* TypeFeedbackVector::Get(FeedbackVectorSlot slot) const { in Get() argument
99 return get(GetIndex(slot)); in Get()
103 void TypeFeedbackVector::Set(FeedbackVectorSlot slot, Object* value, in Set() argument
[all …]
/external/freetype/src/autofit/
Dafloader.c95 FT_GlyphSlot slot = face->glyph; in af_loader_load_g() local
96 FT_Slot_Internal internal = slot->internal; in af_loader_load_g()
120 switch ( slot->format ) in af_loader_load_g()
125 FT_Outline_Translate( &slot->outline, in af_loader_load_g()
133 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g()
138 if ( slot->outline.n_points == 0 ) in af_loader_load_g()
200 slot->lsb_delta = loader->pp1.x - pp1x_uh; in af_loader_load_g()
201 slot->rsb_delta = loader->pp2.x - pp2x_uh; in af_loader_load_g()
212 slot->lsb_delta = loader->pp1.x - pp1x; in af_loader_load_g()
213 slot->rsb_delta = loader->pp2.x - pp2x; in af_loader_load_g()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_program.c215 unsigned slot = stvp->num_outputs++; in st_prepare_vertex_program() local
217 stvp->result_to_output[attr] = slot; in st_prepare_vertex_program()
221 stvp->output_semantic_name[slot] = TGSI_SEMANTIC_POSITION; in st_prepare_vertex_program()
222 stvp->output_semantic_index[slot] = 0; in st_prepare_vertex_program()
225 stvp->output_semantic_name[slot] = TGSI_SEMANTIC_COLOR; in st_prepare_vertex_program()
226 stvp->output_semantic_index[slot] = 0; in st_prepare_vertex_program()
229 stvp->output_semantic_name[slot] = TGSI_SEMANTIC_COLOR; in st_prepare_vertex_program()
230 stvp->output_semantic_index[slot] = 1; in st_prepare_vertex_program()
233 stvp->output_semantic_name[slot] = TGSI_SEMANTIC_BCOLOR; in st_prepare_vertex_program()
234 stvp->output_semantic_index[slot] = 0; in st_prepare_vertex_program()
[all …]
/external/webp/src/utils/
Dquant_levels.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/opencv3/3rdparty/libwebp/utils/
Dquant_levels.c82 int s, slot = 0; in QuantizeLevels() local
87 while (slot < num_levels - 1 && in QuantizeLevels()
88 2 * s > inv_q_level[slot] + inv_q_level[slot + 1]) { in QuantizeLevels()
89 ++slot; in QuantizeLevels()
92 q_sum[slot] += s * freq[s]; in QuantizeLevels()
93 q_count[slot] += freq[s]; in QuantizeLevels()
95 q_level[s] = slot; in QuantizeLevels()
100 for (slot = 1; slot < num_levels - 1; ++slot) { in QuantizeLevels()
101 const double count = q_count[slot]; in QuantizeLevels()
103 inv_q_level[slot] = q_sum[slot] / count; in QuantizeLevels()
[all …]
/external/freetype/src/smooth/
Dftsmooth.c60 FT_GlyphSlot slot, in ft_smooth_transform() argument
67 if ( slot->format != render->glyph_format ) in ft_smooth_transform()
74 FT_Outline_Transform( &slot->outline, matrix ); in ft_smooth_transform()
77 FT_Outline_Translate( &slot->outline, delta->x, delta->y ); in ft_smooth_transform()
87 FT_GlyphSlot slot, in ft_smooth_get_cbox() argument
92 if ( slot->format == render->glyph_format ) in ft_smooth_get_cbox()
93 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_smooth_get_cbox()
100 FT_GlyphSlot slot, in ft_smooth_render_generic() argument
106 FT_Outline* outline = &slot->outline; in ft_smooth_render_generic()
107 FT_Bitmap* bitmap = &slot->bitmap; in ft_smooth_render_generic()
[all …]
/external/pdfium/third_party/freetype/src/smooth/
Dftsmooth.c60 FT_GlyphSlot slot, in ft_smooth_transform() argument
67 if ( slot->format != render->glyph_format ) in ft_smooth_transform()
74 FT_Outline_Transform( &slot->outline, matrix ); in ft_smooth_transform()
77 FT_Outline_Translate( &slot->outline, delta->x, delta->y ); in ft_smooth_transform()
87 FT_GlyphSlot slot, in ft_smooth_get_cbox() argument
92 if ( slot->format == render->glyph_format ) in ft_smooth_get_cbox()
93 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_smooth_get_cbox()
100 FT_GlyphSlot slot, in ft_smooth_render_generic() argument
106 FT_Outline* outline = &slot->outline; in ft_smooth_render_generic()
107 FT_Bitmap* bitmap = &slot->bitmap; in ft_smooth_render_generic()
[all …]
/external/elfutils/lib/
Dfixedsizehash.h175 struct CONCAT(PREFIX,fshashent) *slot; in CONCAT()
177 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
178 if (slot->hval != 0) in CONCAT()
182 slot->hval = hval; in CONCAT()
184 slot->entry = data; in CONCAT()
186 slot->entry = *data; in CONCAT()
199 struct CONCAT(PREFIX,fshashent) *slot; in CONCAT()
201 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
202 if (slot->hval != 0) in CONCAT()
206 slot->hval = hval; in CONCAT()
[all …]
/external/toybox/toys/posix/
Dps.c261 int (*match_process)(long long *slot);
308 long long slot[55]; // data from /proc member
318 signed char width, slot; member
358 static int shared_match_process(long long *slot) in shared_match_process() argument
373 for (j = 0; j<mm->len; j++) if (ll[j] == slot[match[i].len]) return 1; in shared_match_process()
382 static int ps_match_process(long long *slot) in ps_match_process() argument
384 int i = shared_match_process(slot); in ps_match_process()
391 if ((toys.optflags&(FLAG_a|FLAG_d)) && slot[SLOT_sid]==*slot) return 0; in ps_match_process()
392 if ((toys.optflags&FLAG_a) && !slot[SLOT_ttynr]) return 0; in ps_match_process()
394 && TT.tty!=slot[SLOT_ttynr]) return 0; in ps_match_process()
[all …]
/external/mesa3d/src/mapi/mapi/
Dentry_x86_tsd.h43 #define STUB_ASM_CODE(slot) \ argument
47 "jmp *(4 * " slot ")(%eax)\n" \
50 "jmp *(4 * " slot ")(%eax)"
72 entry_get_public(int slot) in entry_get_public() argument
74 return (mapi_func) (x86_entry_start + slot * X86_ENTRY_SIZE); in entry_get_public()
78 entry_patch(mapi_func entry, int slot) in entry_patch() argument
82 *((unsigned long *) (code + 11)) = slot * sizeof(mapi_func); in entry_patch()
83 *((unsigned long *) (code + 22)) = slot * sizeof(mapi_func); in entry_patch()
87 entry_generate(int slot) in entry_generate() argument
99 entry_patch(entry, slot); in entry_generate()
Dstub.c43 int slot; member
116 stub->slot = -1; in stub_add_dynamic()
159 int slot; in stub_fix_dynamic() local
161 if (stub->slot >= 0) in stub_fix_dynamic()
165 slot = alias->slot; in stub_fix_dynamic()
167 slot = next_dynamic_slot++; in stub_fix_dynamic()
169 entry_patch(stub->addr, slot); in stub_fix_dynamic()
170 stub->slot = slot; in stub_fix_dynamic()
196 return stub->slot; in stub_get_slot()
205 assert(stub->addr || (unsigned int) stub->slot < MAPI_TABLE_NUM_STATIC); in stub_get_addr()
[all …]
/external/v8/src/heap/
Dscavenger.cc145 static inline bool SemiSpaceCopyObject(Map* map, HeapObject** slot, in SemiSpaceCopyObject() argument
164 *slot = target; in SemiSpaceCopyObject()
174 static inline bool PromoteObject(Map* map, HeapObject** slot, in PromoteObject() argument
186 *slot = target; in PromoteObject()
199 static inline void EvacuateObject(Map* map, HeapObject** slot, in EvacuateObject() argument
208 if (SemiSpaceCopyObject<alignment>(map, slot, object, object_size)) { in EvacuateObject()
213 if (PromoteObject<object_contents, alignment>(map, slot, object, in EvacuateObject()
219 if (SemiSpaceCopyObject<alignment>(map, slot, object, object_size)) return; in EvacuateObject()
225 static inline void EvacuateJSFunction(Map* map, HeapObject** slot, in EvacuateJSFunction() argument
227 ObjectEvacuationStrategy<POINTER_OBJECT>::Visit(map, slot, object); in EvacuateJSFunction()
[all …]
/external/freetype/src/raster/
Dftrend1.c61 FT_GlyphSlot slot, in ft_raster1_transform() argument
68 if ( slot->format != render->glyph_format ) in ft_raster1_transform()
75 FT_Outline_Transform( &slot->outline, matrix ); in ft_raster1_transform()
78 FT_Outline_Translate( &slot->outline, delta->x, delta->y ); in ft_raster1_transform()
88 FT_GlyphSlot slot, in ft_raster1_get_cbox() argument
93 if ( slot->format == render->glyph_format ) in ft_raster1_get_cbox()
94 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_raster1_get_cbox()
101 FT_GlyphSlot slot, in ft_raster1_render() argument
116 if ( slot->format != render->glyph_format ) in ft_raster1_render()
129 outline = &slot->outline; in ft_raster1_render()
[all …]
/external/pdfium/third_party/freetype/src/raster/
Dftrend1.c61 FT_GlyphSlot slot, in ft_raster1_transform() argument
68 if ( slot->format != render->glyph_format ) in ft_raster1_transform()
75 FT_Outline_Transform( &slot->outline, matrix ); in ft_raster1_transform()
78 FT_Outline_Translate( &slot->outline, delta->x, delta->y ); in ft_raster1_transform()
88 FT_GlyphSlot slot, in ft_raster1_get_cbox() argument
93 if ( slot->format == render->glyph_format ) in ft_raster1_get_cbox()
94 FT_Outline_Get_CBox( &slot->outline, cbox ); in ft_raster1_get_cbox()
101 FT_GlyphSlot slot, in ft_raster1_render() argument
116 if ( slot->format != render->glyph_format ) in ft_raster1_render()
129 outline = &slot->outline; in ft_raster1_render()
[all …]
/external/libchrome/base/threading/
Dthread_local_posix.cc18 void ThreadLocalPlatform::AllocateSlot(SlotType* slot) { in AllocateSlot() argument
19 int error = pthread_key_create(slot, NULL); in AllocateSlot()
24 void ThreadLocalPlatform::FreeSlot(SlotType slot) { in FreeSlot() argument
25 int error = pthread_key_delete(slot); in FreeSlot()
30 void* ThreadLocalPlatform::GetValueFromSlot(SlotType slot) { in GetValueFromSlot() argument
31 return pthread_getspecific(slot); in GetValueFromSlot()
35 void ThreadLocalPlatform::SetValueInSlot(SlotType slot, void* value) { in SetValueInSlot() argument
36 int error = pthread_setspecific(slot, value); in SetValueInSlot()

12345678910>>...22