/external/ltp/testcases/kernel/fs/doio/ |
string_to_tokens.c | 42 * int string_to_tokens(arg_string, arg_array, array_size, separator) 45 * int array_size; 58 * 'arg_array' must contains at least 'array_size' elements. 59 * Only the first 'array_size' minus one tokens will be placed into 60 * 'arg_array'. If there are more than 'array_size'-1 tokens, the rest are 66 * If 'arg_array' or 'separator' is NULL or 'array_size' is less than 2, -1 is returned. 80 string_to_tokens(char *arg_string, char *arg_array[], int array_size, 86 if (arg_array == NULL || array_size <= 1 || separator == NULL) 97 for (num_toks = 1; num_toks < array_size; num_toks++) { 102 if (num_toks == array_size) [all...] |
/art/test/303-verification-stress/ |
classes-gen.c | 11 static int createFiles(int count, int array_size) 28 fprintf(fp, " static String[] array = new String[%d];\n", array_size); 30 for (k = 0; k < array_size; k++) {
|
/frameworks/rs/tests/lldb/tests/testcases/ |
test_script_group.py | 39 array_size = 8 83 for x in range(array_size): 100 for x in range(array_size):
|
/external/clang/test/Index/ |
index-refs.cpp | 58 const int array_size = 3; variable 59 typedef int some_arr[array_size]; 118 // CHECK: [indexEntityReference]: kind: variable | name: array_size | {{.*}} | loc: 59:22
|
/external/mesa3d/src/compiler/glsl/tests/ |
uniform_initializer_utils.h | 42 unsigned columns, unsigned rows, unsigned array_size,
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
ilo_state_viewport.h | 79 uint8_t array_size; member in struct:ilo_state_viewport 92 ilo_state_viewport_data_size(const struct ilo_dev *dev, uint8_t array_size) 97 sizeof(vp->scissor[0])) * array_size;
|
/external/mesa3d/src/gallium/drivers/r600/ |
r600_uvd.c | 68 unsigned i, array_size; local 77 array_size = tmpl->interlaced ? 2 : 1; 80 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT); 82 vl_video_buffer_template(&templ, &template, resource_formats[0], 1, array_size, PIPE_USAGE_DEFAULT, 0); 91 vl_video_buffer_template(&templ, &template, resource_formats[1], 1, array_size, PIPE_USAGE_DEFAULT, 1); 101 vl_video_buffer_template(&templ, &template, resource_formats[2], 1, array_size, PIPE_USAGE_DEFAULT, 2); 129 template.height *= array_size;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_uvd.c | 52 unsigned i, array_size; local 61 array_size = tmpl->interlaced ? 2 : 1; 64 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT); 66 vl_video_buffer_template(&templ, &template, resource_formats[0], 1, array_size, PIPE_USAGE_DEFAULT, 0); 75 vl_video_buffer_template(&templ, &template, resource_formats[1], 1, array_size, PIPE_USAGE_DEFAULT, 1); 84 vl_video_buffer_template(&templ, &template, resource_formats[2], 1, array_size, PIPE_USAGE_DEFAULT, 2); 111 template.height *= array_size;
|
/external/libdrm/radeon/ |
bof.c | 38 if (bof->array_size < bof->nentry) 68 for (i = 0; i < object->array_size; i += 2) { 89 object->array[object->array_size++] = key; 90 object->array[object->array_size++] = value; 119 array->array[array->array_size++] = value; 127 if (!bof_is_array(bof) || i >= bof->array_size) 136 return bof->array_size; 253 fprintf(stderr, "%p object [%d %d]\n", bof, bof->array_size / 2, bof->size); 256 fprintf(stderr, "%p array [%d %d]\n", bof, bof->array_size, bof->size); 269 for (i = 0; i < bof->array_size; i++) [all...] |
/external/mesa3d/src/intel/vulkan/ |
anv_nir_apply_pipeline_layout.c | 116 uint32_t array_size = local 117 state->layout->set[set].layout->binding[binding].array_size; 122 block_index = nir_umin(b, block_index, nir_imm_int(b, array_size - 1)); 133 unsigned *const_index, unsigned array_size, 149 index = nir_umin(b, index, nir_imm_int(b, array_size - 1)); 170 *const_index += MIN2(deref_array->base_offset, array_size - 1); 199 unsigned array_size = local 200 state->layout->set[set].layout->binding[binding].array_size; 202 lower_tex_deref(tex, tex->texture, &tex->texture_index, array_size, 208 unsigned array_size local 320 unsigned array_size = set_layout->binding[b].array_size; local 360 const uint32_t array_size = local [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/util/ |
EmulateArray.h | 203 template <typename T> struct array_size; 204 template<class T, std::size_t N> struct array_size<array<T,N> > { struct in namespace:Eigen::internal 207 template <typename T> struct array_size; 208 template<class T, std::size_t N> struct array_size<array<T,N>& > { struct in namespace:Eigen::internal 211 template <typename T> struct array_size; 212 template<class T, std::size_t N> struct array_size<const array<T,N> > { struct in namespace:Eigen::internal 215 template <typename T> struct array_size; 216 template<class T, std::size_t N> struct array_size<const array<T,N>& > { struct in namespace:Eigen::internal 254 template <typename T> struct array_size; 255 template<class T, std::size_t N> struct array_size<const std::array<T,N> > [all...] |
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
heap.h | 25 int array_size; member in struct:heap_context
|
/external/mesa3d/src/amd/vulkan/ |
radv_descriptor_set.h | 35 uint16_t array_size; member in struct:radv_descriptor_set_binding_layout
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_resource.c | 54 slices = res->array_size;
|
/external/mesa3d/src/gallium/drivers/radeon/ |
r600_test_dma.c | 65 tex->size = tex->layer_stride * templ->array_size; 80 tex->array_size, &t); 83 for (z = 0; z < tex->array_size; z++) { 113 tex->array_size, &t); 116 for (z = 0; z < tex->array_size; z++) { 238 tsrc.array_size = (rand() % max_tex_layers) + 1; 256 tdst.array_size = (rand() % max_tex_layers) + 1; 266 if ((uint64_t)tsrc.width0 * tsrc.height0 * tsrc.array_size * bpp + 267 (uint64_t)tdst.width0 * tdst.height0 * tdst.array_size * bpp > 294 i, tdst.width0, tdst.height0, tdst.array_size, [all...] |
/system/extras/libpagemap/ |
pm_memusage.c | 36 unsigned int array_size; member in struct:pm_proportional_swap 67 p_swap->array_size = swap_size / getpagesize(); 68 p_swap->offset_array = calloc(p_swap->array_size, sizeof(pm_pswap_refcount_t)); 92 if (offset >= mu->p_swap->array_size) {
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_video_buffer.h | 120 unsigned depth, unsigned array_size, 131 * extended create function, gets depth, array_size, usage and formats for each plane seperately 137 unsigned depth, unsigned array_size, unsigned usage);
|
vl_video_buffer.c | 238 unsigned depth, unsigned array_size, 244 else if (array_size > 1) 252 templ->array_size = array_size; 371 unsigned i, j, array_size, surf; local 377 array_size = buffer->interlaced ? 2 : 1; 379 for (j = 0; j < array_size; ++j, ++surf) { 456 unsigned depth, unsigned array_size, unsigned usage) 466 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[0], depth, array_size, usage, 0); 476 vl_video_buffer_template(&res_tmpl, tmpl, resource_formats[1], depth, array_size, usage, 1) [all...] |
/external/tpm2/generator/ |
structure_generator.py | 123 The 'array_size' and 'run_time_size' attributes below are related to the 133 elements at run time. So, when this object is constructed, array_size is 149 array_size: a string, see example above 172 selector=None, array_size='', 181 array_size: Initial value for the array_size attribute. 198 self.array_size = array_size 210 if self.array_size: 214 real_size = self.array_size [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_resource.c | 86 assert(res->array_size == 6); 96 arraySize = res->array_size;
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
radeon_drm_surface.c | 109 surf_drm->array_size = 1; 134 surf_drm->array_size = tex->array_size; 137 assert(tex->array_size % 6 == 0); 141 surf_drm->array_size = tex->array_size;
|
/external/libxcam/modules/ocl/ |
cl_memory.cpp | 35 , array_size (0) 49 desc.array_size == this->array_size)// && 362 image_desc.array_size = 0; 439 image_desc.array_size = 2; 462 image_desc.array_size = 3; 474 image_desc.array_size = 4; 491 size_t width = 0, height = 0, row_pitch = 0, slice_pitch = 0, array_size = 0, mem_size = 0; local 499 get_cl_image_info (CL_IMAGE_ARRAY_SIZE, sizeof(array_size), &array_size); [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
tensor_array_ops.cc | 313 int32 array_size = 0; variable 315 TF_RETURN_IF_ERROR(tensor_array->Size(&array_size)); 318 if (array_size < 0) { 330 auto creator = [this, key, tensor_array, array_size, marked_size, 335 array_size, tensor_array->ElemShape(), 807 int32 array_size; variable 1029 int32 array_size; variable 1247 int32 array_size; variable [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorContractionMapper.h | 118 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--) [all...] |
/bionic/linker/tests/ |
linker_memory_allocator_test.cpp | 79 const size_t array_size = 512 / sizeof(uint32_t); local 90 memcpy(array, model, array_size); 97 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size) == 0); 101 memcpy(array, model, 2*array_size); 113 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size * 2) == 0);
|