Home
last modified time | relevance | path

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

12345678910>>...26

/external/chromium_org/third_party/mesa/src/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/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/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/chromium_org/third_party/mesa/src/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/freetype/src/base/
Dftsynth.c48 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) in FT_GlyphSlot_Oblique() argument
51 FT_Outline* outline = &slot->outline; in FT_GlyphSlot_Oblique()
55 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Oblique()
85 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) in FT_GlyphSlot_Embolden() argument
87 FT_Library library = slot->library; in FT_GlyphSlot_Embolden()
88 FT_Face face = slot->face; in FT_GlyphSlot_Embolden()
93 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && in FT_GlyphSlot_Embolden()
94 slot->format != FT_GLYPH_FORMAT_BITMAP ) in FT_GlyphSlot_Embolden()
102 if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Embolden()
105 (void)FT_Outline_EmboldenXY( &slot->outline, xstr, ystr ); 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/chromium_org/third_party/freetype/src/base/
Dftsynth.c48 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) in FT_GlyphSlot_Oblique() argument
51 FT_Outline* outline = &slot->outline; in FT_GlyphSlot_Oblique()
55 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Oblique()
85 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) in FT_GlyphSlot_Embolden() argument
87 FT_Library library = slot->library; in FT_GlyphSlot_Embolden()
88 FT_Face face = slot->face; in FT_GlyphSlot_Embolden()
93 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && in FT_GlyphSlot_Embolden()
94 slot->format != FT_GLYPH_FORMAT_BITMAP ) in FT_GlyphSlot_Embolden()
102 if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Embolden()
105 (void)FT_Outline_EmboldenXY( &slot->outline, xstr, ystr ); in FT_GlyphSlot_Embolden()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftsynth.c48 FT_GlyphSlot_Oblique( FT_GlyphSlot slot ) in FT_GlyphSlot_Oblique() argument
51 FT_Outline* outline = &slot->outline; in FT_GlyphSlot_Oblique()
55 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Oblique()
85 FT_GlyphSlot_Embolden( FT_GlyphSlot slot ) in FT_GlyphSlot_Embolden() argument
87 FT_Library library = slot->library; in FT_GlyphSlot_Embolden()
88 FT_Face face = slot->face; in FT_GlyphSlot_Embolden()
93 if ( slot->format != FT_GLYPH_FORMAT_OUTLINE && in FT_GlyphSlot_Embolden()
94 slot->format != FT_GLYPH_FORMAT_BITMAP ) in FT_GlyphSlot_Embolden()
102 if ( slot->format == FT_GLYPH_FORMAT_OUTLINE ) in FT_GlyphSlot_Embolden()
105 (void)FT_Outline_EmboldenXY( &slot->outline, xstr, ystr ); in FT_GlyphSlot_Embolden()
[all …]
/external/chromium_org/content/browser/gamepad/
Dgamepad_platform_data_fetcher_mac.mm159 size_t slot) {
160 WebGamepad& pad = data_.items[slot];
161 AssociatedData& associated = associated_[slot];
230 // Find a free slot for this device.
231 for (size_t slot = 0; slot < WebGamepads::itemsLengthCap; ++slot) {
232 if (!data_.items[slot].connected)
233 return slot;
239 for (size_t slot = 0; slot < WebGamepads::itemsLengthCap; ++slot) {
242 if (data_.items[slot].connected &&
243 !associated_[slot].is_xbox &&
[all …]
/external/chromium_org/third_party/freetype/src/autofit/
Dafloader.c113 FT_GlyphSlot slot = face->glyph; in af_loader_load_g() local
114 FT_Slot_Internal internal = slot->internal; in af_loader_load_g()
137 switch ( slot->format ) in af_loader_load_g()
142 FT_Outline_Translate( &slot->outline, in af_loader_load_g()
149 slot->outline.n_points + 4, in af_loader_load_g()
150 slot->outline.n_contours ); in af_loader_load_g()
155 slot->outline.points, in af_loader_load_g()
156 slot->outline.n_points ); in af_loader_load_g()
159 slot->outline.contours, in af_loader_load_g()
160 slot->outline.n_contours ); 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/chromium_org/third_party/mesa/src/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/freetype/src/autofit/
Dafloader.c114 FT_GlyphSlot slot = face->glyph; in af_loader_load_g() local
115 FT_Slot_Internal internal = slot->internal; in af_loader_load_g()
138 switch ( slot->format ) in af_loader_load_g()
143 FT_Outline_Translate( &slot->outline, in af_loader_load_g()
150 slot->outline.n_points + 4, in af_loader_load_g()
151 slot->outline.n_contours ); in af_loader_load_g()
156 slot->outline.points, in af_loader_load_g()
157 slot->outline.n_points ); in af_loader_load_g()
160 slot->outline.contours, in af_loader_load_g()
161 slot->outline.n_contours ); in af_loader_load_g()
[all …]
/external/chromium_org/third_party/libwebp/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/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/elfutils/0.153/lib/
Dfixedsizehash.h196 struct CONCAT(PREFIX,fshashent) *slot; in CONCAT()
198 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
199 if (slot->hval != 0) in CONCAT()
203 slot->hval = hval; in CONCAT()
205 slot->entry = data; in CONCAT()
207 slot->entry = *data; in CONCAT()
220 struct CONCAT(PREFIX,fshashent) *slot; in CONCAT()
222 slot = CONCAT(PREFIX,fshash_lookup) (htab, hval, data); in CONCAT()
223 if (slot->hval != 0) in CONCAT()
227 slot->hval = hval; in CONCAT()
[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/chromium_org/third_party/mesa/src/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()
/external/chromium_org/mojo/public/cpp/utility/lib/
Dthread_local_win.cc14 void ThreadLocalPlatform::AllocateSlot(SlotType* slot) { in AllocateSlot() argument
15 *slot = TlsAlloc(); in AllocateSlot()
16 assert(*slot != TLS_OUT_OF_INDEXES); in AllocateSlot()
20 void ThreadLocalPlatform::FreeSlot(SlotType slot) { in FreeSlot() argument
21 if (!TlsFree(slot)) { in FreeSlot()
27 void* ThreadLocalPlatform::GetValueFromSlot(SlotType slot) { in GetValueFromSlot() argument
28 return TlsGetValue(slot); in GetValueFromSlot()
32 void ThreadLocalPlatform::SetValueInSlot(SlotType slot, void* value) { in SetValueInSlot() argument
33 if (!TlsSetValue(slot, value)) { in SetValueInSlot()
/external/chromium_org/base/threading/
Dthread_local_win.cc15 void ThreadLocalPlatform::AllocateSlot(SlotType* slot) { in AllocateSlot() argument
16 *slot = TlsAlloc(); in AllocateSlot()
17 CHECK_NE(*slot, TLS_OUT_OF_INDEXES); in AllocateSlot()
21 void ThreadLocalPlatform::FreeSlot(SlotType slot) { in FreeSlot() argument
22 if (!TlsFree(slot)) { in FreeSlot()
28 void* ThreadLocalPlatform::GetValueFromSlot(SlotType slot) { in GetValueFromSlot() argument
29 return TlsGetValue(slot); in GetValueFromSlot()
33 void ThreadLocalPlatform::SetValueInSlot(SlotType slot, void* value) { in SetValueInSlot() argument
34 if (!TlsSetValue(slot, value)) { in SetValueInSlot()
/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
112 FT_Bitmap* bitmap = &slot->bitmap; in ft_smooth_render_generic()
128 if ( slot->format != render->glyph_format ) in ft_smooth_render_generic()
[all …]
/external/chromium_org/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
112 FT_Bitmap* bitmap = &slot->bitmap; in ft_smooth_render_generic()
128 if ( slot->format != render->glyph_format ) in ft_smooth_render_generic()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/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
112 FT_Bitmap* bitmap = &slot->bitmap; in ft_smooth_render_generic()
128 if ( slot->format != render->glyph_format ) in ft_smooth_render_generic()
[all …]

12345678910>>...26