/third_party/boost/libs/compute/example/ |
D | opencl_test.cpp | 111 cl_uint num_devices = 0; in main() local 112 ret = clGetDeviceIDs(platform, CL_DEVICE_TYPE_ALL, 0, NULL, &num_devices); in main() 119 std::cout << "platform " << i << " has " << num_devices << " devices:" << std::endl; in main() 122 cl_device_id *devices = new cl_device_id[num_devices]; in main() 123 ret = clGetDeviceIDs(platform, CL_DEVICE_TYPE_ALL, num_devices, devices, NULL); in main() 131 for(cl_uint j = 0; j < num_devices; j++){ in main()
|
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/ |
D | EGL_EXT_device_enumeration.txt | 73 EGLint *num_devices); 81 EGLint *num_devices); 84 success, EGL_TRUE is returned, and <num_devices> devices are 85 stored in the array pointed to by <devices>. <num_devices> will 88 <devices>, and <num_devices> will be set to the number of 94 <devices> is NULL, or if <num_devices> is NULL."
|
/third_party/EGL/extensions/EXT/ |
D | EGL_EXT_device_enumeration.txt | 73 EGLint *num_devices); 81 EGLint *num_devices); 84 success, EGL_TRUE is returned, and <num_devices> devices are 85 stored in the array pointed to by <devices>. <num_devices> will 88 <devices>, and <num_devices> will be set to the number of 94 <devices> is NULL, or if <num_devices> is NULL."
|
/third_party/pulseaudio/src/modules/macosx/ |
D | module-coreaudio-detect.c | 120 UInt32 i, size, num_devices; in ca_update_device_list() local 139 num_devices = size / sizeof(AudioDeviceID); in ca_update_device_list() 140 device_id = pa_xnew(AudioDeviceID, num_devices); in ca_update_device_list() 150 for (i = 0; i < num_devices; i++) { in ca_update_device_list() 169 for (i = 0; i < num_devices; i++) in ca_update_device_list()
|
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
D | cl_stubs.cpp | 62 cl_uint *num_devices) in GetDeviceIDs() argument 65 num_devices); in GetDeviceIDs() 80 cl_uint num_devices, in CreateSubDevices() argument 84 return in_device->cast<Device>().createSubDevices(properties, num_devices, out_devices, in CreateSubDevices() 131 cl_uint num_devices, in CreateContext() argument 140 return Platform::CreateContext(properties, num_devices, devices, pfn_notify, user_data, in CreateContext() 407 cl_uint num_devices, in CreateProgramWithBinary() argument 414 return context->cast<Context>().createProgramWithBinary(num_devices, device_list, lengths, in CreateProgramWithBinary() 419 cl_uint num_devices, in CreateProgramWithBuiltInKernels() argument 424 return context->cast<Context>().createProgramWithBuiltInKernels(num_devices, device_list, in CreateProgramWithBuiltInKernels() [all …]
|
D | entry_points_cl_autogen.cpp | 64 cl_uint *num_devices) in clGetDeviceIDs() argument 73 (uintptr_t)devices, (uintptr_t)num_devices); in clGetDeviceIDs() 78 num_devices); in clGetDeviceIDs() 80 return GetDeviceIDs(platform, device_typePacked, num_entries, devices, num_devices); in clGetDeviceIDs() 106 cl_uint num_devices, in clCreateContext() argument 121 (uintptr_t)properties, num_devices, (uintptr_t)devices, (uintptr_t)pfn_notify, in clCreateContext() 124 ANGLE_CL_VALIDATE_ERRCODE_RET(CreateContext, properties, num_devices, devices, pfn_notify, in clCreateContext() 129 CreateContext(properties, num_devices, devices, pfn_notify, user_data, errorCode); in clCreateContext() 433 cl_uint num_devices, in clCreateProgramWithBinary() argument 444 (uintptr_t)context, num_devices, (uintptr_t)device_list, (uintptr_t)lengths, in clCreateProgramWithBinary() [all …]
|
D | cl_stubs_autogen.h | 28 cl_uint *num_devices); 36 cl_uint num_devices, 49 cl_uint num_devices, 166 cl_uint num_devices, 173 cl_uint num_devices, 184 cl_uint num_devices, 190 cl_uint num_devices, 199 cl_uint num_devices,
|
D | entry_points_cl_autogen.h | 32 cl_uint *num_devices); 39 cl_uint num_devices, 106 cl_uint num_devices, 115 cl_uint num_devices, 401 cl_uint num_devices, 413 cl_uint num_devices, 418 cl_uint num_devices, 428 cl_uint num_devices,
|
/third_party/skia/third_party/externals/angle2/include/CL/ |
D | cl_dx9_media_sharing.h | 87 cl_uint * num_devices) CL_API_SUFFIX__VERSION_1_2; 162 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_1; 171 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_1;
|
D | cl_icd.h | 56 cl_device_id *devices, cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0; 67 cl_uint num_entries, cl_device_id *out_devices, cl_uint *num_devices); 85 const cl_context_properties *properties, cl_uint num_devices, 264 cl_context context, cl_uint num_devices, const cl_device_id *device_list, 272 cl_context context, cl_uint num_devices, const cl_device_id *device_list, 288 cl_program program, cl_uint num_devices, const cl_device_id *device_list, 296 cl_program program, cl_uint num_devices, const cl_device_id *device_list, 303 cl_context context, cl_uint num_devices, const cl_device_id *device_list, 795 cl_uint *num_devices) CL_API_SUFFIX__VERSION_1_0; 826 cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices); [all …]
|
D | cl_va_api_media_sharing_intel.h | 71 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2; 80 cl_uint* num_devices) CL_API_SUFFIX__VERSION_1_2;
|
/third_party/libinput/test/ |
D | test-keyboard.c | 35 const int num_devices = ARRAY_LENGTH(devices); in START_TEST() local 45 for (i = 0; i < num_devices; ++i) { in START_TEST() 55 for (i = 0; i < num_devices; ++i) in START_TEST() 73 ck_assert_int_eq(seat_key_count, num_devices); in START_TEST() 75 for (i = 0; i < num_devices; ++i) in START_TEST() 97 for (i = 0; i < num_devices; ++i) in START_TEST()
|
D | test-udev.c | 388 int num_devices = 0; in START_TEST() local 402 process_events_count_devices(li, &num_devices); in START_TEST() 403 ck_assert_int_gt(num_devices, 0); in START_TEST() 408 process_events_count_devices(li, &num_devices); in START_TEST() 409 ck_assert_int_eq(num_devices, 0); in START_TEST() 414 process_events_count_devices(li, &num_devices); in START_TEST() 415 ck_assert_int_gt(num_devices, 0); in START_TEST()
|
/third_party/skia/third_party/externals/angle2/src/libOpenCL/ |
D | libOpenCL_autogen.cpp | 36 cl_uint *num_devices) in clGetDeviceIDs() argument 39 num_devices); in clGetDeviceIDs() 53 cl_uint num_devices, in clCreateContext() argument 62 return cl::GetDispatch().clCreateContext(properties, num_devices, devices, pfn_notify, in clCreateContext() 201 cl_uint num_devices, in clCreateProgramWithBinary() argument 208 return cl::GetDispatch().clCreateProgramWithBinary(context, num_devices, device_list, lengths, in clCreateProgramWithBinary() 223 cl_uint num_devices, in clBuildProgram() argument 230 return cl::GetDispatch().clBuildProgram(program, num_devices, device_list, options, pfn_notify, in clBuildProgram() 753 cl_uint num_devices, in clCreateSubDevices() argument 757 return cl::GetDispatch().clCreateSubDevices(in_device, properties, num_devices, out_devices, in clCreateSubDevices() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationCL_autogen.h | 32 const cl_uint *num_devices); 39 cl_uint num_devices, 101 cl_uint num_devices, 109 cl_uint num_devices, 385 cl_uint num_devices, 396 cl_uint num_devices, 400 cl_uint num_devices, 409 cl_uint num_devices,
|
D | validationCL.cpp | 550 const cl_uint *num_devices) in ValidateGetDeviceIDs() argument 566 if ((num_entries == 0u && devices != nullptr) || (num_devices == nullptr && devices == nullptr)) in ValidateGetDeviceIDs() 682 cl_uint num_devices, in ValidateCreateContext() argument 695 if (devices == nullptr || num_devices == 0u || (pfn_notify == nullptr && user_data != nullptr)) in ValidateCreateContext() 701 while (num_devices-- > 0u) in ValidateCreateContext() 1043 cl_uint num_devices, in ValidateCreateProgramWithBinary() argument 1058 if (device_list == nullptr || num_devices == 0u || lengths == nullptr || binaries == nullptr) in ValidateCreateProgramWithBinary() 1062 while (num_devices-- != 0u) in ValidateCreateProgramWithBinary() 1094 cl_uint num_devices, in ValidateBuildProgram() argument 1109 if ((device_list != nullptr) != (num_devices != 0u)) in ValidateBuildProgram() [all …]
|
/third_party/uboot/u-boot-2020.01/net/ |
D | eth-uclass.c | 393 int num_devices = 0; in eth_initialize() local 424 if (num_devices) in eth_initialize() 436 num_devices++; in eth_initialize() 440 if (!num_devices) in eth_initialize() 445 return num_devices; in eth_initialize()
|
D | eth_legacy.c | 240 int num_devices = 0; in eth_initialize() local 285 num_devices++; in eth_initialize() 292 return num_devices; in eth_initialize()
|
/third_party/uboot/u-boot-2020.01/test/dm/ |
D | bus.c | 121 int num_devices = 8; in dm_test_bus_children() local 126 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children() 130 num_devices += 3; in dm_test_bus_children() 133 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_bus_children() 135 ut_assert(!dm_check_devices(uts, num_devices)); in dm_test_bus_children()
|
D | test-fdt.c | 156 int dm_check_devices(struct unit_test_state *uts, int num_devices) in dm_check_devices() argument 166 for (i = 0; i < num_devices; i++) { in dm_check_devices() 193 const int num_devices = 8; in dm_test_fdt() local 206 ut_asserteq(num_devices, list_count_items(&uc->dev_head)); in dm_test_fdt() 209 for (i = 0; i < num_devices; i++) { in dm_test_fdt() 216 ut_assertok(dm_check_devices(uts, num_devices)); in dm_test_fdt()
|
/third_party/e2fsprogs/misc/ |
D | fsck.c | 102 static int num_devices, num_args; variable 1115 num_devices = 0; in PRS() 1126 if (num_devices >= MAX_DEVICES) { in PRS() 1155 devices[num_devices++] = dev ? dev : string_copy(arg); in PRS() 1303 if ((num_devices == 1) || (serialize)) in main() 1310 if (num_devices == 0) { in main() 1315 for (i = 0 ; i < num_devices; i++) { in main()
|
/third_party/uboot/u-boot-2020.01/fs/btrfs/ |
D | super.c | 235 if (btrfs_info.sb.num_devices != 1) { in btrfs_read_superblock() 238 btrfs_info.sb.num_devices); in btrfs_read_superblock()
|
D | ctree.h | 123 __u64 num_devices; member 160 __u64 num_devices; member
|
D | conv-funcs.h | 163 bytes_used, num_devices) 166 root_dir_objectid, num_devices, sectorsize, nodesize,
|
/third_party/boost/libs/compute/doc/ |
D | advanced_topics.qbk | 203 cl_uint num_devices; 204 clGetContextInfo(ctx, CL_CONTEXT_NUM_DEVICES, sizeof(cl_uint), &num_devices, 0); 205 std::cout << "num_devices: " << num_devices << std::endl;
|