Home
last modified time | relevance | path

Searched refs:array_size (Results 1 – 25 of 166) sorted by relevance

1234567

/external/libdrm/radeon/
Dbof.c38 if (bof->array_size < bof->nentry) in bof_entry_grow()
68 for (i = 0; i < object->array_size; i += 2) { in bof_object_get()
89 object->array[object->array_size++] = key; in bof_object_set()
90 object->array[object->array_size++] = value; in bof_object_set()
119 array->array[array->array_size++] = value; in bof_array_append()
127 if (!bof_is_array(bof) || i >= bof->array_size) in bof_array_get()
136 return bof->array_size; in bof_array_size()
253 fprintf(stderr, "%p object [%d %d]\n", bof, bof->array_size / 2, bof->size); in bof_print_bof()
256 fprintf(stderr, "%p array [%d %d]\n", bof, bof->array_size, bof->size); in bof_print_bof()
269 for (i = 0; i < bof->array_size; i++) { in bof_print_rec()
[all …]
/external/mesa3d/src/gallium/drivers/galahad/
Dglhd_screen.c151 glhd_check("%u", templat->array_size, >= 1); in galahad_screen_resource_create()
157 glhd_check("%u", templat->array_size, == 1); in galahad_screen_resource_create()
164 glhd_check("%u", templat->array_size, == 1); in galahad_screen_resource_create()
171 glhd_check("%u", templat->array_size, == 1); in galahad_screen_resource_create()
178 glhd_check("%u", templat->array_size, == 6); in galahad_screen_resource_create()
185 glhd_check("%u", templat->array_size, == 1); in galahad_screen_resource_create()
192 glhd_check("%u", templat->array_size, == 1); in galahad_screen_resource_create()
199 …glhd_check("%u", templat->array_size, <= screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYE… in galahad_screen_resource_create()
206 …glhd_check("%u", templat->array_size, <= screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYE… in galahad_screen_resource_create()
/external/v8/src/arm64/
Dcodegen-arm64.cc146 Register array_size = x6; in GenerateSmiToDouble() local
153 elements, length, array_size, array)); in GenerateSmiToDouble()
169 __ Lsl(array_size, length, kDoubleSizeLog2); in GenerateSmiToDouble()
170 __ Add(array_size, array_size, FixedDoubleArray::kHeaderSize); in GenerateSmiToDouble()
171 __ Allocate(array_size, array, x10, x11, &gc_required, DOUBLE_ALIGNMENT); in GenerateSmiToDouble()
175 Register map_root = array_size; in GenerateSmiToDouble()
250 Register array_size = x6; in GenerateDoubleToObject() local
256 elements, array_size, array, length)); in GenerateDoubleToObject()
277 __ Mov(array_size, FixedDoubleArray::kHeaderSize); in GenerateDoubleToObject()
278 __ Add(array_size, array_size, Operand(length, LSL, kPointerSizeLog2)); in GenerateDoubleToObject()
[all …]
/external/tpm2/generator/
Dstructure_generator.py172 selector=None, array_size='', argument
198 self.array_size = array_size
210 if self.array_size:
214 real_size = self.array_size
229 if self.array_size:
233 real_size = self.array_size
992 if field.array_size:
1015 if field.array_size:
1250 if f.array_size:
1251 array_lengths[f.field_name] = f.array_size
[all …]
Dtpm_table.py620 selector=selector, array_size=size))
651 if field.array_size:
652 body_lines[-1][-1] += '[%s]' % field.array_size
714 array_size = None
722 array_size = upper
725 array_size = run_time_size
753 array_size=array_size,
/external/mesa3d/src/glsl/
Dast.h320 ast_declaration(const char *identifier, int is_array, ast_expression *array_size,
327 ast_expression *array_size; variable
475 is_array(false), array_size(NULL), precision(ast_precision_none), in ast_type_specifier()
484 is_array(false), array_size(NULL), precision(ast_precision_none), in ast_type_specifier()
502 ast_expression *array_size; variable
554 this->array_size = 0; in ast_parameter_declarator()
565 ast_expression *array_size; variable
Dlower_clip_distance.cpp98 unsigned new_size = (ir->type->array_size() + 3) / 4; in visit()
233 int array_size = this->old_clip_distance_var->type->array_size(); in visit_leave() local
234 for (int i = 0; i < array_size; ++i) { in visit_leave()
Dglsl_parser_extras.cpp489 ast_opt_array_size_print(bool is_array, const ast_expression *array_size) in ast_opt_array_size_print() argument
494 if (array_size) in ast_opt_array_size_print()
495 array_size->print(); in ast_opt_array_size_print()
706 ast_opt_array_size_print(is_array, array_size); in print()
722 ast_opt_array_size_print(is_array, array_size); in print()
732 ast_expression *array_size, in ast_declaration() argument
737 this->array_size = array_size; in ast_declaration()
Dast_type.cpp41 if (array_size) { in print()
42 array_size->print(); in print()
Dhir_field_selection.cpp88 if (op->type->array_size() == 0) in _mesa_ast_field_selection_to_hir()
91 result = new(ctx) ir_constant(op->type->array_size()); in _mesa_ast_field_selection_to_hir()
Dast_to_hir.cpp648 && (lhs_type->array_size() == 0)) { in validate_assignment()
725 if (lhs->type->array_size() == 0) { in do_assignment()
734 if (var->max_array_access >= unsigned(rhs->type->array_size())) { in do_assignment()
742 rhs->type->array_size()); in do_assignment()
1598 if ((array->type->array_size() > 0) in hir()
1599 && (array->type->array_size() <= idx)) { in hir()
1600 bound = array->type->array_size(); in hir()
1632 } else if (array->type->array_size() == 0) { in hir()
1643 v->max_array_access = array->type->array_size() - 1; in hir()
1837 process_array_type(YYLTYPE *loc, const glsl_type *base, ast_node *array_size, in process_array_type() argument
[all …]
/external/clang/test/Index/
Dindex-refs.cpp58 const int array_size = 3; variable
59 typedef int some_arr[array_size];
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
DtUINT32_ARRAY.py73 self.array_size = 100
100 for index in range (self.array_size):
304 index_values = (self.array_size-1, self.array_size+1, -1)
311 if index in [0, self.array_size-1]:
DtINT16_ARRAY.py72 self.array_size = 5
99 for index in range (self.array_size):
303 index_values = (self.array_size-1, self.array_size+1, -1)
310 if index in [0, self.array_size-1]:
DtUINT8_ARRAY.py73 self.array_size = 5
100 for index in range (self.array_size):
304 index_values = (self.array_size-1, self.array_size+1, -1)
311 if index in [0, self.array_size-1]:
/external/mesa3d/src/glsl/tests/
Dset_uniform_initializer_tests.cpp103 const glsl_type *type, unsigned array_size) in establish_uniform_storage() argument
105 const unsigned elements = MAX2(1, array_size); in establish_uniform_storage()
117 prog->UniformStorage[index_to_set].array_elements = array_size; in establish_uniform_storage()
312 unsigned columns, unsigned rows, unsigned array_size, in array_test() argument
320 array_size); in array_test()
330 array_size + excess_data_size, val); in array_test()
335 verify_data(prog->UniformStorage[actual_index].storage, array_size, in array_test()
Duniform_initializer_utils.cpp147 unsigned columns, unsigned rows, unsigned array_size, in generate_array_data() argument
157 glsl_type::get_array_instance(element_type, array_size); in generate_array_data()
163 for (unsigned i = 0; i < array_size; i++) { in generate_array_data()
/external/mesa3d/src/mesa/state_tracker/
Dst_gen_mipmap.c183 oldTex->array_size, in st_generate_mipmap()
227 dstHeight = pt->array_size; in st_generate_mipmap()
233 dstDepth = pt->array_size; in st_generate_mipmap()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_texture.c86 surface->array_size = 1; in r600_init_surface()
123 surface->array_size = ptex->array_size; in r600_init_surface()
127 surface->array_size = ptex->array_size; in r600_init_surface()
336 resource.array_size = 1; in si_texture_get_transfer()
641 resource.array_size = texture->array_size; in r600_texture_depth_flush()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_miptree.c205 if (pt->array_size > 1) { in nvc0_miptree_init_layout_video()
207 mt->total_size = mt->layer_stride * pt->array_size; in nvc0_miptree_init_layout_video()
251 if (pt->array_size > 1) { in nvc0_miptree_init_layout_tiled()
254 mt->total_size = mt->layer_stride * pt->array_size; in nvc0_miptree_init_layout_tiled()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_screen.h763 unsigned array_size, in create_resource()
782 if(array_size % 6) in create_resource()
785 else if(array_size > 1) in create_resource()
801 templat.array_size = array_size; in create_resource()
840 for(unsigned slice = 0; slice < array_size; ++slice) in create_resource()
1066 def_desc.Texture1DArray.ArraySize = resource->array_size;
1076 def_desc.Texture2DArray.ArraySize = resource->array_size;
1083 if(resource->array_size > 6)
1086 def_desc.TextureCubeArray.NumCubes = resource->array_size / 6;
1198 def_desc.Texture1DArray.ArraySize = resource->array_size; in CreateRenderTargetView()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c72 slices = pt->array_size; in softpipe_resource_layout()
327 assert(box->y + box->height <= resource->array_size); in softpipe_get_transfer()
332 assert(box->z + box->depth <= resource->array_size); in softpipe_get_transfer()
478 spr->base.array_size = 1; in softpipe_user_buffer_create()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_miptree.c194 if ((pt->last_level > 0) || (pt->depth0 > 1) || (pt->array_size > 1)) in nv50_miptree_init_layout_linear()
246 if (pt->array_size > 1) { in nv50_miptree_init_layout_tiled()
249 mt->total_size = mt->layer_stride * pt->array_size; in nv50_miptree_init_layout_tiled()
317 templ->array_size > 1) in nv50_miptree_from_handle()
/external/elfutils/libdw/
Ddwarf_aggregate_size.c50 array_size (Dwarf_Die *die, Dwarf_Word *size, in array_size() function
217 return array_size (die, size, &attr_mem, type_mem); in aggregate_size()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c87 surface->array_size = 1; in r600_init_surface()
133 surface->array_size = ptex->array_size; in r600_init_surface()
137 surface->array_size = ptex->array_size; in r600_init_surface()
356 out->size = rtex->surface.array_size * align(slice_bytes, base_align); in r600_texture_get_cmask_info()
577 resource.array_size = texture->array_size; in r600_init_flushed_depth_texture()
671 resource.array_size = 1; in r600_texture_get_transfer()

1234567