/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
H A D | vktTestCase.cpp | 198 const vector<VkPhysicalDevice> devices = enumeratePhysicalDevices(preinterface, preinstance.get()); in determineDeviceVersions() local 200 for (deUint32 deviceNdx = 0u; deviceNdx < devices.size(); ++deviceNdx) in determineDeviceVersions() 202 const VkPhysicalDeviceProperties props = getPhysicalDeviceProperties(preinterface, devices[deviceNdx]); in determineDeviceVersions() 321 // devices created for Vulkan SC must have VkDeviceObjectReservationCreateInfo structure defined in VkDeviceCreateInfo::pNext chain in createDefaultDevice()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
H A D | vktTestCase.cpp | 185 const vector<VkPhysicalDevice> devices = enumeratePhysicalDevices(preinterface, preinstance.get()); in determineDeviceVersions() local 187 for (deUint32 deviceNdx = 0u; deviceNdx < devices.size(); ++deviceNdx) in determineDeviceVersions() 189 const VkPhysicalDeviceProperties props = getPhysicalDeviceProperties(preinterface, devices[deviceNdx]); in determineDeviceVersions() 319 // devices created for Vulkan SC must have VkDeviceObjectReservationCreateInfo structure defined in VkDeviceCreateInfo::pNext chain in createDefaultDevice()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_instance.c | 846 vn_physical_device_fini(&instance->physical_device.devices[i]); in vn_DestroyInstance() 847 vk_free(alloc, instance->physical_device.devices); in vn_DestroyInstance()
|
/third_party/opencl-headers/CL/ |
H A D | cl_function_types.h | 46 cl_device_id* devices, 65 const cl_device_id* devices,
|
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | entry_points_cl_autogen.h | 31 cl_device_id *devices, 40 const cl_device_id *devices,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_sd.c | 105 dl_list_for_each(dev, &p2p->devices, struct p2p_device, list) { in p2p_decrease_sd_bc_queries() 128 * all the devices */ in p2p_unlink_sd_query() 901 /* Update all the devices for the newly added broadcast query */ in p2p_sd_request() 902 dl_list_for_each(dev, &p2p->devices, struct p2p_device, list) { in p2p_sd_request()
|
H A D | p2p_i.h | 259 * devices - List of known P2P Device peers 261 struct dl_list devices; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_sd.c | 105 dl_list_for_each(dev, &p2p->devices, struct p2p_device, list) { in p2p_decrease_sd_bc_queries() 128 * all the devices */ in p2p_unlink_sd_query() 901 /* Update all the devices for the newly added broadcast query */ in p2p_sd_request() 902 dl_list_for_each(dev, &p2p->devices, struct p2p_device, list) { in p2p_sd_request()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 421 std::vector<std::string> devices = {"<localDeviceType>"}; in CreateDistributedRequest() local 422 request.SetDevicesSupportDisplay(devices); in CreateDistributedRequest() 2234 std::vector<std::string> devices = {"<localDeviceType>"}; in HWTEST_F() local 2238 request.SetDevicesSupportDisplay(devices); in HWTEST_F() 2279 std::vector<std::string> devices = {"<localDeviceType>"}; in HWTEST_F() local 2283 request.SetDevicesSupportDisplay(devices); in HWTEST_F()
|
/third_party/libinput/test/ |
H A D | test-pointer.c | 62 /* low-dpi devices scale up, not down, especially for slow motion. in test_relative_event() 1104 struct litest_device *devices[4]; in START_TEST() local 1105 const int num_devices = ARRAY_LENGTH(devices); in START_TEST() 1117 devices[i] = litest_add_device_with_overrides(libinput, in START_TEST() 1124 litest_button_click_debounced(devices[i], in START_TEST() 1157 litest_button_click_debounced(devices[i], in START_TEST() 1190 litest_delete_device(devices[i]); in START_TEST() 3348 /* Not all devices can disable middle button emulation, time out on in START_TEST() 3402 /* Not all devices can disable middle button emulation, time out on in START_TEST()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_registrar.c | 178 struct wps_registrar_device *devices; member 297 for (dev = reg->devices; dev; dev = dev->next) { in wps_device_get() 334 d->next = reg->devices; in wps_device_store() 335 reg->devices = d; in wps_device_store() 734 wps_free_devices(reg->devices); in wps_registrar_flush() 735 reg->devices = NULL; in wps_registrar_flush() 1034 * @p2p_dev_addr: Limit allowed PBC devices to the specified P2P device, %NULL
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_registrar.c | 179 struct wps_registrar_device *devices; member 298 for (dev = reg->devices; dev; dev = dev->next) { in wps_device_get() 335 d->next = reg->devices; in wps_device_store() 336 reg->devices = d; in wps_device_store() 735 wps_free_devices(reg->devices); in wps_registrar_flush() 736 reg->devices = NULL; in wps_registrar_flush() 1035 * @p2p_dev_addr: Limit allowed PBC devices to the specified P2P device, %NULL
|
/base/msdp/device_status/intention/cooperate/plugin/src/ |
H A D | dsoftbus_handler.cpp | 438 event.devices.push_back(device); in OnRemoteInputDevice()
|
/third_party/ffmpeg/libavdevice/ |
H A D | alsa.c | 392 if ((ret = av_dynarray_add_nofree(&device_list->devices, in ff_alsa_get_device_list()
|
H A D | dshow.c | 47 // These may be provided by DirectShow devices (e.g. LAVFilters 454 * Cycle through available devices using the device enumerator devenum, 458 * If device_list is not NULL, populate it with found devices instead of 484 av_log(avctx, AV_LOG_ERROR, "Could not enumerate %s devices (or none found).\n", in dshow_cycle_devices() 561 if (av_reallocp_array(&(*device_list)->devices, in dshow_cycle_devices() 563 sizeof(*(*device_list)->devices)) < 0) in dshow_cycle_devices() 573 (*device_list)->devices[(*device_list)->nb_devices] = device; in dshow_cycle_devices() 618 av_log(avctx, AV_LOG_ERROR, "Could not find %s device with name [%s] among source devices of type %s.\n", in dshow_cycle_devices() 642 av_log(avctx, AV_LOG_ERROR, "Could not enumerate system devices.\n"); in dshow_get_device_list() 876 // NB: some devices ( in dshow_cycle_formats() [all...] |
/third_party/mesa3d/.gitlab-ci/common/ |
H A D | intel-gpu-freq.sh | 52 CPU_SYSFS_PREFIX=/sys/devices/system/cpu
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_device.c | 1178 /* TODO: Check for more devices ? */ in anv_enumerate_physical_devices() 1179 drmDevicePtr devices[8]; in anv_enumerate_physical_devices() local 1182 max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in anv_enumerate_physical_devices() 1188 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in anv_enumerate_physical_devices() 1189 devices[i]->bustype == DRM_BUS_PCI && in anv_enumerate_physical_devices() 1190 devices[i]->deviceinfo.pci->vendor_id == 0x8086) { in anv_enumerate_physical_devices() 1193 result = anv_physical_device_try_create(instance, devices[i], in anv_enumerate_physical_devices() 1208 drmFreeDevices(devices, max_devices); in anv_enumerate_physical_devices() 1210 /* If we successfully enumerated any devices, cal in anv_enumerate_physical_devices() [all...] |
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_request.cpp | 699 void NotificationRequest::SetDevicesSupportDisplay(const std::vector<std::string> &devices) in SetDevicesSupportDisplay() argument 701 distributedOptions_.SetDevicesSupportDisplay(devices); in SetDevicesSupportDisplay() 704 void NotificationRequest::SetDevicesSupportOperate(const std::vector<std::string> &devices) in SetDevicesSupportOperate() argument 706 distributedOptions_.SetDevicesSupportOperate(devices); in SetDevicesSupportOperate() 1395 ANS_LOGE("Failed to write notification devices flags size"); in Marshalling() 1400 ANS_LOGE("Failed to write notification devices flags key"); in Marshalling() 1404 ANS_LOGE("Failed to write notification devices flags value"); in Marshalling()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_test.cpp | 1976 std::vector<std::string> devices; in HWTEST_F() local 1977 devices.push_back("a"); in HWTEST_F() 1978 devices.push_back("b"); in HWTEST_F() 1979 devices.push_back("c"); in HWTEST_F() 1980 req->GetNotificationDistributedOptions().SetDevicesSupportDisplay(devices); in HWTEST_F()
|
/third_party/libinput/src/ |
H A D | evdev-mt-touchpad.c | 126 /* Don't do this on single-touch or semi-mt devices */ in tp_calculate_motion_speed() 625 /* Synaptics devices may end touch 2 on transition to/from in tp_restore_synaptics_touches() 669 * All touchpad devices have at least one slot so we only do this in tp_process_fake_touches() 1520 /* For test devices we always force the time delta to 12, at least in tp_detect_jumps() 1540 /* Special case for the ALPS devices in the Lenovo ThinkPad E465, in tp_detect_jumps() 1541 * E550. These devices send occasional 4095/0 events on two fingers in tp_detect_jumps() 1608 devices (Dell XPS) the i2c controller sleeps after a timeout. On in tp_process_msc_timestamp() 2081 /* On devices with top softwarebuttons we don't actually suspend the in tp_suspend() 2904 /* Semi-mt devices are not reliable for true multitouch data, so we in tp_init_slots() 3719 * The kernel/udev set the resolution to non-zero on those devices in tp_init_pressurepad() 3898 WacomDevice **devices = NULL, tp_requires_rotation() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_vulkan.c | 777 VkPhysicalDevice *devices = NULL; in find_device() local 784 av_log(ctx, AV_LOG_ERROR, "No devices found: %s!\n", vk_ret2str(ret)); in find_device() 788 devices = av_malloc_array(num, sizeof(VkPhysicalDevice)); in find_device() 789 if (!devices) in find_device() 792 ret = vk->EnumeratePhysicalDevices(hwctx->inst, &num, devices); in find_device() 794 av_log(ctx, AV_LOG_ERROR, "Failed enumerating devices: %s\n", in find_device() 818 vk->GetPhysicalDeviceProperties2(devices[i], &prop[i]); in find_device() 888 hwctx->phys_dev = devices[choice]; in find_device() 891 av_free(devices); in find_device()
|
/third_party/backends/backend/ |
H A D | umax_pp_low.c | 436 char *devices[] = { in sanei_parport_find_device() local 462 while (devices[i] != NULL) in sanei_parport_find_device() 464 DBG (16, "Controlling %s: ", devices[i]); in sanei_parport_find_device() 465 file = open (devices[i], O_RDWR); in sanei_parport_find_device() 477 DBG (16, "no %s device ...\n", devices[i]); in sanei_parport_find_device() 481 devices[i]); in sanei_parport_find_device() 484 perror (devices[i]); in sanei_parport_find_device() 506 DBG (16, "no %s device ...\n", devices[i]); in sanei_parport_find_device() 510 devices[i]); in sanei_parport_find_device() 514 perror (devices[ in sanei_parport_find_device() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_device.c | 1192 /* TODO: Check for more devices ? */ in radv_enumerate_physical_devices() 1193 drmDevicePtr devices[8]; in radv_enumerate_physical_devices() local 1194 int max_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in radv_enumerate_physical_devices() 1203 if (devices[i]->available_nodes & 1 << DRM_NODE_RENDER && in radv_enumerate_physical_devices() 1204 devices[i]->bustype == DRM_BUS_PCI && in radv_enumerate_physical_devices() 1205 devices[i]->deviceinfo.pci->vendor_id == ATI_VENDOR_ID) { in radv_enumerate_physical_devices() 1208 result = radv_physical_device_try_create(instance, devices[i], &pdevice); in radv_enumerate_physical_devices() 1222 drmFreeDevices(devices, max_devices); in radv_enumerate_physical_devices() 1225 /* If we successfully enumerated any devices, cal in radv_enumerate_physical_devices() [all...] |
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
H A D | scsimain.c | 10 generic devices). 24 F. Jansen - modification to extend beyond 26 sg devices. 301 char *devices[] = variable 354 static Sg_map sg_map_arr[(sizeof(devices) / sizeof(char *)) + 1]; 1780 do_inq = 0; /* won't try SCSI INQUIRY on IDE devices */ in show_devfs_devices() 3162 printf("Stopping because no sg devices found\n"); in show_scsi_maps() 3565 case 0: /* disk (direct access) type devices */ in find_mode_page_table() 3571 case 1: /* tape devices */ in find_mode_page_table() 3575 case 5: /* cd/dvd devices */ in find_mode_page_table() 3578 case 8: /* medium changer devices */ in find_mode_page_table() [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/ |
H A D | notification_rdb_data_mgr_test.cpp | 317 virtual bool DropDeviceData(const std::vector<std::string>& devices, const DropOption& option)
in DropDeviceData() argument
|