Home
last modified time | relevance | path

Searched refs:size_ret (Results 1 – 16 of 16) sorted by relevance

/external/OpenCL-CTS/test_conformance/computeinfo/
Ddevice_uuid.cpp67 size_t size_ret; in get_uuid() local
68 cl_int err = clGetDeviceInfo(device, info, id_size, id.data(), &size_ret); in get_uuid()
69 if (!check_device_info_returns(err, size_ret, id_size)) in get_uuid()
143 size_t size_ret{}; in test_device_uuid() local
149 &size_ret); in test_device_uuid()
150 if (!check_device_info_returns(err, size_ret, sizeof(device_luid_valid))) in test_device_uuid()
182 sizeof(device_node_mask), &device_node_mask, &size_ret); in test_device_uuid()
183 if (!check_device_info_returns(err, size_ret, sizeof(device_node_mask))) in test_device_uuid()
Dpci_bus_info.cpp37 size_t size_ret; in test_pci_bus_info() local
39 &size_ret); in test_pci_bus_info()
42 size_ret == sizeof(info), in test_pci_bus_info()
/external/OpenCL-CTS/test_conformance/device_execution/
Ddevice_queue.cpp33 size_t size_ret; in check_device_queue() local
38 …err_ret = clGetCommandQueueInfo(queue, CL_QUEUE_CONTEXT, sizeof(q_context), &q_context, &size_ret); in check_device_queue()
40 if(size_ret != sizeof(q_context) || q_context != context) in check_device_queue()
46 err_ret = clGetCommandQueueInfo(queue, CL_QUEUE_DEVICE, sizeof(q_device), &q_device, &size_ret); in check_device_queue()
48 if(size_ret != sizeof(q_device) || q_device != device) in check_device_queue()
54 … clGetCommandQueueInfo(queue, CL_QUEUE_PROPERTIES, sizeof(q_properties), &q_properties, &size_ret); in check_device_queue()
56 …if(size_ret != sizeof(q_properties) || !(q_properties & (CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE|CL… in check_device_queue()
62 err_ret = clGetCommandQueueInfo(queue, CL_QUEUE_SIZE, sizeof(q_size), &q_size, &size_ret); in check_device_queue()
64 if(size_ret != sizeof(q_size) || q_size < 1) in check_device_queue()
/external/OpenCL-CTS/test_common/harness/
DerrorHelpers.cpp549 size_t size_ret; in OutputBuildLogs() local
566 &size_ret); in OutputBuildLogs()
568 num_devices = static_cast<cl_uint>(size_ret / sizeof(cl_device_id)); in OutputBuildLogs()
569 device_list = (cl_device_id *)malloc(size_ret); in OutputBuildLogs()
575 error = clGetContextInfo(context, CL_CONTEXT_DEVICES, size_ret, in OutputBuildLogs()
589 sizeof(build_status), &build_status, &size_ret); in OutputBuildLogs()
601 &size_ret); in OutputBuildLogs()
603 char *build_log = (char *)malloc(size_ret); in OutputBuildLogs()
605 CL_PROGRAM_BUILD_LOG, size_ret, in OutputBuildLogs()
606 build_log, &size_ret); in OutputBuildLogs()
/external/ltp/pan/
Dsplitstr.c165 int i, y, test_size = 1000, size_ret; in main() local
182 ret = splitstr(test_str, NULL, &size_ret); in main()
183 assert(size_ret == i); in main()
/external/igt-gpu-tools/lib/
Digt_fb.h125 uint64_t *size_ret, unsigned *stride_ret);
172 uint64_t *size_ret, unsigned *stride_ret,
Digt_fb.c721 uint64_t *size_ret, unsigned *stride_ret) in igt_calc_fb_size() argument
730 if (size_ret) in igt_calc_fb_size()
731 *size_ret = fb.size; in igt_calc_fb_size()
982 unsigned stride, uint64_t *size_ret, in igt_create_bo_with_dimensions() argument
995 if (size_ret) in igt_create_bo_with_dimensions()
996 *size_ret = fb.size; in igt_create_bo_with_dimensions()
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_compile.cpp2985 size_t size_ret; in test_large_compile_and_link_status_options_log() local
3055 error = clGetProgramBuildInfo( program, deviceID, CL_PROGRAM_BUILD_LOG, 0, NULL, &size_ret ); in test_large_compile_and_link_status_options_log()
3057 compile_log = (char *)malloc(size_ret); in test_large_compile_and_link_status_options_log()
3058 …error = clGetProgramBuildInfo( program, deviceID, CL_PROGRAM_BUILD_LOG, size_ret, compile_log, NUL… in test_large_compile_and_link_status_options_log()
3066 … error = clGetProgramBuildInfo( program, deviceID, CL_PROGRAM_BUILD_OPTIONS, 0, NULL, &size_ret ); in test_large_compile_and_link_status_options_log()
3068 compile_options = (char *)malloc(size_ret); in test_large_compile_and_link_status_options_log()
3069 …error = clGetProgramBuildInfo( program, deviceID, CL_PROGRAM_BUILD_OPTIONS, size_ret, compile_opti… in test_large_compile_and_link_status_options_log()
3114 …GetProgramBuildInfo( my_newly_minted_library, deviceID, CL_PROGRAM_BUILD_LOG, 0, NULL, &size_ret ); in test_large_compile_and_link_status_options_log()
3116 library_log = (char *)malloc(size_ret); in test_large_compile_and_link_status_options_log()
3117 …gramBuildInfo( my_newly_minted_library, deviceID, CL_PROGRAM_BUILD_LOG, size_ret, library_log, NUL… in test_large_compile_and_link_status_options_log()
[all …]
/external/fsverity-utils/programs/
Dutils.c121 bool get_file_size(struct filedes *file, u64 *size_ret) in get_file_size() argument
129 *size_ret = stbuf.st_size; in get_file_size()
Dutils.h42 bool get_file_size(struct filedes *file, u64 *size_ret);
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_integer_dot_product.cpp384 size_t size_ret; in test_integer_dot_product() local
388 nullptr, &size_ret); in test_integer_dot_product()
405 0, nullptr, &size_ret); in test_integer_dot_product()
/external/python/cpython2/Modules/
Dcstubs683 long size, size_ret;
693 size_ret = readdisplay(x1, y1, x2, y2, parray, hints);
694 if ( size_ret != size ) {
696 size_ret, size);
Dglmodule.c639 long size, size_ret; in gl_readdisplay() local
649 size_ret = readdisplay(x1, y1, x2, y2, parray, hints); in gl_readdisplay()
650 if ( size_ret != size ) { in gl_readdisplay()
652 size_ret, size); in gl_readdisplay()
/external/ComputeLibrary/include/CL/
Dopencl.hpp1618 cl_uint param, size_type size, void* value, size_type* size_ret) in operator ()()
1619 { return f_(arg0_, param, size, value, size_ret); } in operator ()()
1627 cl_uint param, size_type size, void* value, size_type* size_ret) in operator ()()
1628 { return f_(arg0_, arg1_, param, size, value, size_ret); } in operator ()()
/external/mesa3d/include/CL/
Dcl2.hpp1539 cl_uint param, size_type size, void* value, size_type* size_ret) in operator ()()
1540 { return f_(arg0_, param, size, value, size_ret); } in operator ()()
1548 cl_uint param, size_type size, void* value, size_type* size_ret) in operator ()()
1549 { return f_(arg0_, arg1_, param, size, value, size_ret); } in operator ()()
Dcl.hpp1617 cl_uint param, ::size_t size, void* value, ::size_t* size_ret) in operator ()()
1618 { return f_(arg0_, param, size, value, size_ret); } in operator ()()
1626 cl_uint param, ::size_t size, void* value, ::size_t* size_ret) in operator ()()
1627 { return f_(arg0_, arg1_, param, size, value, size_ret); } in operator ()()