Home
last modified time | relevance | path

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

12345678910>>...12

/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c116 uint32_t array_size = in lower_res_index_intrinsic() local
117 state->layout->set[set].layout->binding[binding].array_size; in lower_res_index_intrinsic()
122 block_index = nir_umin(b, block_index, nir_imm_int(b, array_size - 1)); in lower_res_index_intrinsic()
133 unsigned *const_index, unsigned array_size, in lower_tex_deref() argument
149 index = nir_umin(b, index, nir_imm_int(b, array_size - 1)); in lower_tex_deref()
170 *const_index += MIN2(deref_array->base_offset, array_size - 1); in lower_tex_deref()
199 unsigned array_size = in lower_tex() local
200 state->layout->set[set].layout->binding[binding].array_size; in lower_tex()
202 lower_tex_deref(tex, tex->texture, &tex->texture_index, array_size, in lower_tex()
208 unsigned array_size = in lower_tex() local
[all …]
/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/radeon/
Dr600_test_dma.c65 tex->size = tex->layer_stride * templ->array_size; in alloc_cpu_texture()
80 tex->array_size, &t); in set_random_pixels()
83 for (z = 0; z < tex->array_size; z++) { in set_random_pixels()
113 tex->array_size, &t); in compare_textures()
116 for (z = 0; z < tex->array_size; z++) { in compare_textures()
238 tsrc.array_size = (rand() % max_tex_layers) + 1; in r600_test_dma()
256 tdst.array_size = (rand() % max_tex_layers) + 1; in r600_test_dma()
266 if ((uint64_t)tsrc.width0 * tsrc.height0 * tsrc.array_size * bpp + in r600_test_dma()
267 (uint64_t)tdst.width0 * tdst.height0 * tdst.array_size * bpp > in r600_test_dma()
294 i, tdst.width0, tdst.height0, tdst.array_size, in r600_test_dma()
[all …]
/external/ltp/testcases/kernel/fs/doio/
Dstring_to_tokens.c80 string_to_tokens(char *arg_string, char *arg_array[], int array_size, in string_to_tokens() argument
86 if (arg_array == NULL || array_size <= 1 || separator == NULL) in string_to_tokens()
97 for (num_toks = 1; num_toks < array_size; num_toks++) { in string_to_tokens()
102 if (num_toks == array_size) in string_to_tokens()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_uvd.c52 unsigned i, array_size; in si_video_buffer_create() local
61 array_size = tmpl->interlaced ? 2 : 1; in si_video_buffer_create()
64 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT); in si_video_buffer_create()
66 …vl_video_buffer_template(&templ, &template, resource_formats[0], 1, array_size, PIPE_USAGE_DEFAULT… in si_video_buffer_create()
75 …vl_video_buffer_template(&templ, &template, resource_formats[1], 1, array_size, PIPE_USAGE_DEFAULT… in si_video_buffer_create()
84 …vl_video_buffer_template(&templ, &template, resource_formats[2], 1, array_size, PIPE_USAGE_DEFAULT… in si_video_buffer_create()
111 template.height *= array_size; in si_video_buffer_create()
/external/eigen/unsupported/Eigen/CXX11/src/util/
DEmulateArray.h203 template <typename T> struct array_size;
204 template<class T, std::size_t N> struct array_size<array<T,N> > {
207 template <typename T> struct array_size;
208 template<class T, std::size_t N> struct array_size<array<T,N>& > {
211 template <typename T> struct array_size;
212 template<class T, std::size_t N> struct array_size<const array<T,N> > {
215 template <typename T> struct array_size;
216 template<class T, std::size_t N> struct array_size<const array<T,N>& > {
254 template <typename T> struct array_size;
255 template<class T, std::size_t N> struct array_size<const std::array<T,N> > {
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_uvd.c68 unsigned i, array_size; in r600_video_buffer_create() local
77 array_size = tmpl->interlaced ? 2 : 1; in r600_video_buffer_create()
80 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT); in r600_video_buffer_create()
82 …vl_video_buffer_template(&templ, &template, resource_formats[0], 1, array_size, PIPE_USAGE_DEFAULT… in r600_video_buffer_create()
91 …vl_video_buffer_template(&templ, &template, resource_formats[1], 1, array_size, PIPE_USAGE_DEFAULT… in r600_video_buffer_create()
101 …vl_video_buffer_template(&templ, &template, resource_formats[2], 1, array_size, PIPE_USAGE_DEFAULT… in r600_video_buffer_create()
129 template.height *= array_size; in r600_video_buffer_create()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c238 unsigned depth, unsigned array_size, in vl_video_buffer_template() argument
244 else if (array_size > 1) in vl_video_buffer_template()
252 templ->array_size = array_size; in vl_video_buffer_template()
371 unsigned i, j, array_size, surf; in vl_video_buffer_surfaces() local
377 array_size = buffer->interlaced ? 2 : 1; in vl_video_buffer_surfaces()
379 for (j = 0; j < array_size; ++j, ++surf) { in vl_video_buffer_surfaces()
456 unsigned depth, unsigned array_size, unsigned usage) in vl_video_buffer_create_ex() argument
466 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[0], depth, array_size, usage, 0); in vl_video_buffer_create_ex()
476 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[1], depth, array_size, usage, 1); in vl_video_buffer_create_ex()
484 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[2], depth, array_size, usage, 2); in vl_video_buffer_create_ex()
Dvl_video_buffer.h120 unsigned depth, unsigned array_size,
137 unsigned depth, unsigned array_size, unsigned usage);
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorIndexList.h220 struct array_size<IndexTuple<T, O...> > {
224 struct array_size<const IndexTuple<T, O...> > {
302 …return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >…
305 …return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >…
308 …return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >…
316 …return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >…
319 …return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >…
323 …return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >…
337 …return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >…
340 …return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...>>:…
[all …]
DTensorContractionMapper.h118 for (int i = static_cast<int>(array_size<nocontract_t>::value) - 1; i > 0; i--) {
123 if (array_size<typename Tensor::Dimensions>::value > array_size<contract_t>::value) {
133 if(array_size<contract_t>::value > 0) {
134 for (int i = static_cast<int>(array_size<contract_t>::value) - 1; i > 0; i--) {
156 if (array_size<typename Tensor::Dimensions>::value > array_size<contract_t>::value) {
157 for (int i = static_cast<int>(array_size<nocontract_t>::value) - 1; i > 0; i--) {
176 if (array_size<contract_t>::value> 0) {
177 for (int i = static_cast<int>(array_size<contract_t>::value) - 1; i > 0; i--) {
205 …return ((side == Lhs) && inner_dim_contiguous && array_size<contract_t>::value > 0) ? m_contract_s…
262 (side == Lhs || internal::array_size<contract_t>::value <= 1 || !inner_dim_reordered) &&
[all …]
DTensorDimensions.h364 template <typename DenseIndex, int NumDims> struct array_size<const DSizes<DenseIndex, NumDims> > {
367 template <typename DenseIndex, int NumDims> struct array_size<DSizes<DenseIndex, NumDims> > {
371 template <typename std::ptrdiff_t... Indices> struct array_size<const Sizes<Indices...> > {
374 template <typename std::ptrdiff_t... Indices> struct array_size<Sizes<Indices...> > {
385 …std::size_t V2, std::size_t V3, std::size_t V4, std::size_t V5> struct array_size<const Sizes<V1,V…
388 …std::size_t V2, std::size_t V3, std::size_t V4, std::size_t V5> struct array_size<Sizes<V1,V2,V3,V…
423 …ernal::sizes_match_below_dim<Dims1, Dims2, internal::array_size<Dims1>::value, internal::array_siz…
DTensorContraction.h41 …s<RhsXprType>::NumDimensions + traits<RhsXprType>::NumDimensions - 2 * array_size<Dimensions>::val…
69 …tArgType_>::NumDimensions + traits<RightArgType_>::NumDimensions - 2 * array_size<Indices_>::value;
140 internal::array_size<typename TensorEvaluator<EvalLeftArgType, Device>::Dimensions>::value;
142 internal::array_size<typename TensorEvaluator<EvalRightArgType, Device>::Dimensions>::value;
143 static const int ContractDims = internal::array_size<Indices>::value;
254 if (nocontract_idx+1 < internal::array_size<left_nocontract_t>::value) {
277 if (nocontract_idx+1 < internal::array_size<right_nocontract_t>::value) {
304 if (i+1 < static_cast<int>(internal::array_size<contract_t>::value)) {
598 internal::array_size<typename TensorEvaluator<EvalLeftArgType, Device>::Dimensions>::value;
600 internal::array_size<typename TensorEvaluator<EvalRightArgType, Device>::Dimensions>::value;
[all …]
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_viewport.h79 uint8_t array_size; member
92 ilo_state_viewport_data_size(const struct ilo_dev *dev, uint8_t array_size) in ilo_state_viewport_data_size() argument
97 sizeof(vp->scissor[0])) * array_size; in ilo_state_viewport_data_size()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c109 surf_drm->array_size = 1; in surf_winsys_to_drm()
134 surf_drm->array_size = tex->array_size; in surf_winsys_to_drm()
137 assert(tex->array_size % 6 == 0); in surf_winsys_to_drm()
141 surf_drm->array_size = tex->array_size; in surf_winsys_to_drm()
/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/compiler/glsl/
Dlower_distance.cpp204 ir->type->array_size()); in visit()
455 int array_size = ir->lhs->type->array_size(); in visit_leave() local
456 for (int i = 0; i < array_size; ++i) { in visit_leave()
633 *clip_size = ir->type->array_size(); in visit()
635 *clip_size = ir->type->fields.array->array_size(); in visit()
642 *cull_size = ir->type->array_size(); in visit()
644 *cull_size = ir->type->fields.array->array_size(); in visit()
Dast_array_index.cpp199 if ((array->type->array_size() > 0) in _mesa_ast_array_index_to_hir()
200 && (array->type->array_size() <= idx)) { in _mesa_ast_array_index_to_hir()
202 bound = array->type->array_size(); in _mesa_ast_array_index_to_hir()
280 v->data.max_array_access = array->type->array_size() - 1; in _mesa_ast_array_index_to_hir()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dsurface.c255 for (j = 0; j < sv->texture->array_size; ++j) { in vlVdpVideoSurfaceGetBitsYCbCr()
272 i, j, transfer->stride, sv->texture->array_size, in vlVdpVideoSurfaceGetBitsYCbCr()
276 i, j, transfer->stride, sv->texture->array_size, in vlVdpVideoSurfaceGetBitsYCbCr()
280 i, j, transfer->stride, sv->texture->array_size, in vlVdpVideoSurfaceGetBitsYCbCr()
284 destination_pitches[i] * sv->texture->array_size, 0, 0, in vlVdpVideoSurfaceGetBitsYCbCr()
356 for (j = 0; j < sv->texture->array_size; ++j) { in vlVdpVideoSurfacePutBitsYCbCr()
365 source_pitches[i] * sv->texture->array_size, in vlVdpVideoSurfacePutBitsYCbCr()
/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/
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]:
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]:
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c71 assert(pt->array_size == 6); in softpipe_resource_layout()
76 slices = pt->array_size; in softpipe_resource_layout()
374 assert(box->y + box->height <= (int) resource->array_size); in softpipe_transfer_map()
379 assert(box->z + box->depth <= (int) resource->array_size); in softpipe_transfer_map()
385 assert(box->z <= (int) resource->array_size); in softpipe_transfer_map()
503 spr->base.array_size = 1; in softpipe_user_buffer_create()
/external/mesa3d/src/compiler/glsl/tests/
Dset_uniform_initializer_tests.cpp105 const glsl_type *type, unsigned array_size) in establish_uniform_storage() argument
107 const unsigned elements = MAX2(1, array_size); in establish_uniform_storage()
120 prog->data->UniformStorage[index_to_set].array_elements = array_size; in establish_uniform_storage()
306 unsigned columns, unsigned rows, unsigned array_size, in array_test() argument
314 array_size); in array_test()
324 array_size + excess_data_size, val); in array_test()
329 verify_data(prog->data->UniformStorage[actual_index].storage, array_size, in array_test()

12345678910>>...12