Home
last modified time | relevance | path

Searched refs:num_elems (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp283 unsigned num_elems; in try_mark_partial_variable() local
285 num_elems = type->length; in try_mark_partial_variable()
291 num_elems = type->matrix_columns; in try_mark_partial_variable()
295 if (index_as_constant->value.u[0] >= num_elems) { in try_mark_partial_variable()
/third_party/alsa-lib/src/topology/
Ddata.c639 array->num_elems = tuple_set->num_tuples; in copy_tuples()
1690 j = tplg_get_tuple_size(va->type) * va->num_elems; in tplg_verify_tuple_set()
1694 va->size, j + sizeof(*va), va->type, va->num_elems); in tplg_verify_tuple_set()
1698 if (va->num_elems > 4096) { in tplg_verify_tuple_set()
1699 tplg_log(tplg, 'A', pos, "tuple set verify: tuples overflow %d", va->num_elems); in tplg_verify_tuple_set()
1737 j = tplg_get_tuple_size(va->type) * va->num_elems; in tplg_decode_tuple_set()
1741 va->size, j + sizeof(*va), va->type, va->num_elems); in tplg_decode_tuple_set()
1745 if (va->num_elems > 4096) { in tplg_decode_tuple_set()
1746 SNDERR("tuples: tuples overflow %d", va->num_elems); in tplg_decode_tuple_set()
1750 set = calloc(1, sizeof(*set) + va->num_elems * sizeof(struct tplg_tuple)); in tplg_decode_tuple_set()
[all …]
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_module.c392 retval = (lhs->array_or_vector_def.num_elems == rhs->array_or_vector_def.num_elems) && in types_equal()
632 size_t num_elems) in dxil_module_get_array_type() argument
640 type->array_or_vector_def.num_elems == num_elems) in dxil_module_get_array_type()
647 type->array_or_vector_def.num_elems = num_elems; in dxil_module_get_array_type()
655 size_t num_elems) in dxil_module_get_vector_type() argument
661 type->array_or_vector_def.num_elems == num_elems) in dxil_module_get_vector_type()
670 type->array_or_vector_def.num_elems = num_elems; in dxil_module_get_vector_type()
1433 type->array_or_vector_def.num_elems, in emit_array_type()
1464 temp[1] = type->array_or_vector_def.num_elems; in emit_vector_type()
1720 unsigned int num_values = type->array_or_vector_def.num_elems; in dxil_module_get_array_const()
[all …]
Ddxil_module.h320 size_t num_elems);
325 size_t num_elems);
Ddxil_dump.c221 _mesa_string_buffer_printf(d->buf, "[%d]", type->array_or_vector_def.num_elems); in dump_type_name()
237 _mesa_string_buffer_printf(d->buf, ", %d>", type->array_or_vector_def.num_elems); in dump_type_name()
367 i < cnst->value.type->array_or_vector_def.num_elems; i++) { in dump_constants()
371 if (i != cnst->value.type->array_or_vector_def.num_elems - 1) in dump_constants()
Ddxil_internal.h68 size_t num_elems; member
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c293 unsigned num_elems, in lp_build_uninterleave1() argument
299 assert(num_elems <= LP_MAX_VECTOR_LENGTH); in lp_build_uninterleave1()
301 for (i = 0; i < num_elems / 2; ++i) in lp_build_uninterleave1()
304 shuffle = LLVMConstVector(elems, num_elems / 2); in lp_build_uninterleave1()
Dlp_bld_pack.h63 unsigned num_elems,
/third_party/spirv-tools/source/opt/
Ddesc_sroa.cpp332 uint32_t num_elems = length_const->GetU32(); in GetNumBindingsUsedByType() local
333 return num_elems * GetNumBindingsUsedByType(element_type_id); in GetNumBindingsUsedByType()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddesc_sroa.cpp332 uint32_t num_elems = length_const->GetU32(); in GetNumBindingsUsedByType() local
333 return num_elems * GetNumBindingsUsedByType(element_type_id); in GetNumBindingsUsedByType()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddesc_sroa.cpp331 uint32_t num_elems = length_const->GetU32(); in GetNumBindingsUsedByType() local
332 return num_elems * GetNumBindingsUsedByType(element_type_id); in GetNumBindingsUsedByType()
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_context.c244 unsigned num_elems, in dd_context_create_vertex_elements_state() argument
252 hstate->cso = pipe->create_vertex_elements_state(pipe, num_elems, elems); in dd_context_create_vertex_elements_state()
253 memcpy(hstate->state.velems.velems, elems, sizeof(elems[0]) * num_elems); in dd_context_create_vertex_elements_state()
254 hstate->state.velems.count = num_elems; in dd_context_create_vertex_elements_state()
/third_party/mesa3d/src/microsoft/clc/
Dcompute_test.cpp421 const void *data, size_t num_elems, in add_uav_resource() argument
424 size_t size = align(elem_size * num_elems, 4); in add_uav_resource()
439 create_uav_buffer(res, num_elems, elem_size, handle); in add_uav_resource()
Dcompute_test.h148 const void *data = NULL, size_t num_elems = 0,
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstaacparse.c1021 guint num_elems = 0; in gst_aac_parse_detect_stream()
1024 num_elems = (adif[3 + skip_size] & 0x1e); in gst_aac_parse_detect_stream()
1025 GST_INFO ("ADIF num_config_elems: %d", num_elems); in gst_aac_parse_detect_stream()
/third_party/alsa-lib/include/sound/uapi/
Dasoc.h226 __le32 num_elems; /* number of elements in array */ member
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc4350 const auto num_elems = pointee_type_inst->GetSingleWordInOperand(1); in MakeAccessChain() local
4351 if (index_const_val < 0 || num_elems <= index_const_val) { in MakeAccessChain()
4355 << num_elems << " elements"; in MakeAccessChain()
4513 const auto num_elems = current_type_inst->GetSingleWordInOperand(1); in MakeCompositeValueDecomposition() local
4514 if (num_elems <= index_val) { in MakeCompositeValueDecomposition()
4517 << " is out of bounds for vector of " << num_elems in MakeCompositeValueDecomposition()
4534 const auto num_elems = current_type_inst->GetSingleWordInOperand(1); in MakeCompositeValueDecomposition() local
4535 if (num_elems <= index_val) { in MakeCompositeValueDecomposition()
4538 << " is out of bounds for matrix of " << num_elems in MakeCompositeValueDecomposition()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c1694 unsigned num_elems = sctx->num_vertex_elements; in si_rebind_buffer() local
1704 sctx->vertex_buffers_dirty = num_elems > 0; in si_rebind_buffer()
1706 for (i = 0; i < num_elems; i++) { in si_rebind_buffer()
1715 sctx->vertex_buffers_dirty = num_elems > 0; in si_rebind_buffer()
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dpsaux.h158 FT_Int num_elems; member
/third_party/freetype/include/freetype/internal/
Dpsaux.h158 FT_Int num_elems; member
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/internal/
Dpsaux.h159 FT_Int num_elems; member
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c2102 int num_elems = num_components - i; in visit_load_buffer() local
2104 num_elems = 1; in visit_load_buffer()
2105 if (num_elems * elem_size_bytes > 16) in visit_load_buffer()
2106 num_elems = 16 / elem_size_bytes; in visit_load_buffer()
2107 int load_bytes = num_elems * elem_size_bytes; in visit_load_buffer()
2132 LLVMTypeRef ret_type = LLVMVectorType(def_elem_type, num_elems); in visit_load_buffer()
2135 for (unsigned j = 0; j < num_elems; j++) { in visit_load_buffer()
2139 i += num_elems; in visit_load_buffer()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsobjs.c87 table->num_elems = 0; in ps_table_new()
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dpsobjs.c88 table->num_elems = 0; in ps_table_new()
/third_party/freetype/src/psaux/
Dpsobjs.c87 table->num_elems = 0; in ps_table_new()

12