/external/OpenCL-CTS/test_conformance/device_execution/ |
D | utils.h | 33 #define arr_size(a) (sizeof(a)/sizeof(a[0])) macro 36 #define KERNEL(name) { arr_size(name), name, #name }
|
D | host_queue_order.cpp | 124 cl_uint num = arr_size(result); in test_host_queue_order() 137 context, &program1, &kernel1, arr_size(enqueue_block_first_kernel), in test_host_queue_order() 142 context, &program2, &kernel2, arr_size(enqueue_block_second_kernel), in test_host_queue_order()
|
D | nested_blocks.cpp | 346 for(k = 0; k < arr_size(sources_nested_blocks); ++k) in test_enqueue_nested_blocks() 351 …nel (%d of %d) ...\n", sources_nested_blocks[k].src.kernel_name, k + 1, arr_size(sources_nested_bl… in test_enqueue_nested_blocks() 354 …ernel_name, 0, MAX_GLOBAL_WORK_SIZE, kernel_results, sizeof(kernel_results), arr_size(args), args); in test_enqueue_nested_blocks() 367 log_error("ERROR: %d of %d kernels failed.\n", failCnt, arr_size(sources_nested_blocks)); in test_enqueue_nested_blocks()
|
D | enqueue_block.cpp | 610 static const size_t num_kernels_enqueue_block = arr_size(sources_enqueue_block); 668 …else if((n = check_kernel_results(kernel_results, arr_size(kernel_results))) >= 0 && check_error(-… in test_enqueue_block()
|
D | enqueue_ndrange.cpp | 354 static const size_t num_kernels_ndrange_Xd = arr_size(sources_ndrange_Xd); 701 …urces_ndrange_Xd[i].src.kernel_name, kernel_results, sizeof(kernel_results), arr_size(args), args); in test_enqueue_ndrange() 707 …else if((k = check_kernel_results(kernel_results, arr_size(kernel_results))) >= 0 && check_error(-… in test_enqueue_ndrange()
|
D | enqueue_multi_queue.cpp | 188 …else if((k = check_kernel_results(kernel_results, arr_size(kernel_results))) >= 0 && check_error(-… in test_enqueue_multi_queue()
|
D | enqueue_flags.cpp | 671 static const size_t num_enqueue_block_flags = arr_size(sources_enqueue_block_flags); 725 …ernel_name, local_size, global_size, kernel_results, sizeof(kernel_results), arr_size(args), args); in test_enqueue_flags()
|
D | enqueue_wg_size.cpp | 1666 for(k = 0; k < arr_size(sources_enqueue_wg_size); ++k) in test_enqueue_wg_size() 1671 …l (%d of %d) ...\n", sources_enqueue_wg_size[k].src.kernel_name, k + 1, arr_size(sources_enqueue_w… in test_enqueue_wg_size() 1684 for(i = 0; i < arr_size(prime); ++i) in test_enqueue_wg_size() 1703 …ernel_name, local_size, global_size, kernel_results, sizeof(kernel_results), arr_size(args), args); in test_enqueue_wg_size() 1715 log_error("ERROR: %d of %d kernels failed.\n", failCnt, arr_size(sources_enqueue_wg_size)); in test_enqueue_wg_size()
|
D | host_multi_queue.cpp | 129 static const size_t num_kernels_multi_queue_block = arr_size(sources_multi_queue_block);
|
D | execute_block.cpp | 1002 static const size_t num_kernels_execute_block = arr_size(sources_execute_block); 1037 …else if((n = check_kernel_results(kernel_results, arr_size(kernel_results))) >= 0 && check_error(-… in test_execute_block()
|
/external/ltp/libs/libltpnuma/ |
D | tst_numa.c | 32 size_t arr_size = sizeof(unsigned int) * nodes->cnt; in tst_nodemap_reset_counters() local 35 nodes->counters = SAFE_MALLOC(arr_size); in tst_nodemap_reset_counters() 37 memset(nodes->counters, 0, arr_size); in tst_nodemap_reset_counters()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | bincount_op_test.cc | 27 static Graph* Bincount(int arr_size, int nbins) { in Bincount() argument 30 Tensor arr(DT_INT32, TensorShape({arr_size})); in Bincount()
|
/external/mesa3d/src/compiler/glsl/ |
D | gl_nir_lower_buffers.c | 48 unsigned arr_size = glsl_get_length(parent->type); in get_block_array_index() local 60 arr_index = nir_umin(b, arr_index, nir_imm_int(b, arr_size - 1)); in get_block_array_index() 71 array_elements *= arr_size; in get_block_array_index()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_progvar.cpp | 1286 const size_t arr_size = 10*1024*1024; in l_capacity() local 1287 cl_uchar* buffer = (cl_uchar*) align_malloc( arr_size, ALIGNMENT ); in l_capacity() 1293 clMemWrapper buffer_mem( clCreateBuffer( context, CL_MEM_READ_WRITE, arr_size, 0, &status ) ); in l_capacity() 1315 for ( size_t offset = 0; offset < max_size ; offset += arr_size ) { in l_capacity() 1316 size_t curr_size = (max_size - offset) < arr_size ? (max_size - offset) : arr_size; in l_capacity() 1324 for ( size_t offset = 0; offset < max_size ; offset += arr_size ) { in l_capacity() 1325 size_t curr_size = (max_size - offset) < arr_size ? (max_size - offset) : arr_size; in l_capacity()
|
/external/blktrace/iowatcher/ |
D | plot.c | 155 int arr_size; in alloc_dot_data() local 163 arr_size = (rows + 1) * cols; in alloc_dot_data() 166 arr_size = (arr_size + 7) / 8; in alloc_dot_data() 168 gdd = calloc(1, size + arr_size); in alloc_dot_data()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | table.c | 631 size_t arr_size = max[size_lg2] + 1; /* +1 so arr[max] will fit. */ in upb_inttable_compact2() local 636 upb_inttable_sizedinit(&new_t, arr_size, hashsize_lg2, a); in upb_inttable_compact2() 642 UPB_ASSERT(new_t.array_size == arr_size); in upb_inttable_compact2()
|
D | msg.h | 236 const size_t arr_size = UPB_ALIGN_UP(sizeof(upb_array), 8); in _upb_array_new() local 240 arr->data = _upb_tag_arrptr(UPB_PTR_AT(arr, arr_size, void), elem_size_lg2); in _upb_array_new()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cc | 442 int arr_size) { in ReadNullSepFileToArray() argument 446 *arr = (char **)MmapOrDie(arr_size * sizeof(char *), "NullSepFileArray"); in ReadNullSepFileToArray() 457 CHECK_LE(count, arr_size - 1); // FIXME: make this more flexible. in ReadNullSepFileToArray()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cpp | 559 int arr_size) { in ReadNullSepFileToArray() argument 563 *arr = (char **)MmapOrDie(arr_size * sizeof(char *), "NullSepFileArray"); in ReadNullSepFileToArray() 574 CHECK_LE(count, arr_size - 1); // FIXME: make this more flexible. in ReadNullSepFileToArray()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_io.c | 2001 nir_ssa_def *arr_size = in lower_explicit_io_array_length() local 2005 nir_ssa_def_rewrite_uses(&intrin->dest.ssa, nir_src_for_ssa(arr_size)); in lower_explicit_io_array_length()
|
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 5279 size_t arr_size = max[size_lg2] + 1; /* +1 so arr[max] will fit. */ in upb_inttable_compact2() local 5284 upb_inttable_sizedinit(&new_t, t->t.ctype, arr_size, hashsize_lg2, a); in upb_inttable_compact2() 5290 UPB_ASSERT(new_t.array_size == arr_size); in upb_inttable_compact2()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 7070 size_t arr_size = max[size_lg2] + 1; /* +1 so arr[max] will fit. */ in upb_inttable_compact2() local 7075 upb_inttable_sizedinit(&new_t, t->t.ctype, arr_size, hashsize_lg2, a); in upb_inttable_compact2() 7081 UPB_ASSERT(new_t.array_size == arr_size); in upb_inttable_compact2()
|