Home
last modified time | relevance | path

Searched refs:device_list (Results 1 – 20 of 20) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/
Ddevice_list.py43 def WritePersistentDeviceList(file_name, device_list): argument
45 assert isinstance(device_list, list)
48 device_list = [d for d in device_list if d != '(error)']
52 json.dump(device_list, f)
/external/libusb/tests/
Dstress.c59 libusb_device ** device_list; in test_get_device_list() local
60 ssize_t list_size = libusb_get_device_list(ctx, &device_list); in test_get_device_list()
61 if (list_size < 0 || device_list == NULL) { in test_get_device_list()
64 i, -list_size, device_list); in test_get_device_list()
67 libusb_free_device_list(device_list, 1); in test_get_device_list()
/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_device.h37 auto device_list = Eigen::get_sycl_supported_devices(); in GSYCLInterface() local
39 for (const auto& device : device_list) { in GSYCLInterface()
53 for (const auto& device : device_list) { in GSYCLInterface()
66 for (const auto& device : device_list) { in GSYCLInterface()
81 for (int i = 0; i < device_list.size(); i++) { in GSYCLInterface()
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/
Dcluster_resolver_test.py58 device_list = [
63 mock_list_devices.return_value = device_list
82 device_list = [
87 mock_list_devices.return_value = device_list
106 device_list = [
111 mock_list_devices.return_value = device_list
Dtpu_cluster_resolver_test.py576 device_list = [
582 device_list)
601 device_list = [
607 device_list)
639 device_list = [
644 mock_list_devices.return_value = device_list
Dtfconfig_cluster_resolver_test.py274 device_list = [
279 mock_list_devices.return_value = device_list
/external/autotest/client/common_lib/cros/fake_device_server/client_lib/
Dclient_lib_test.py90 device_list = d_client.list_devices()['devices']
91 device_ids = [device['id'] for device in device_list]
/external/adhd/cras/src/server/
Dcras_bt_device.c316 struct cras_bt_device **device_list = NULL; in cras_bt_device_get_list() local
322 tmp = realloc(device_list, in cras_bt_device_get_list()
323 sizeof(device_list[0]) * (num_devices + 1)); in cras_bt_device_get_list()
325 free(device_list); in cras_bt_device_get_list()
329 device_list = tmp; in cras_bt_device_get_list()
330 device_list[num_devices++] = device; in cras_bt_device_get_list()
333 *device_list_out = device_list; in cras_bt_device_get_list()
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_status.py22 from devil.android import device_list
219 expected_devices.update(device_list.GetPersistentDeviceList(path))
273 device_list.WritePersistentDeviceList(
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddispatch.hpp205 const cl_device_id *device_list,
220 const cl_device_id *device_list,
667 const cl_device_id *device_list,
674 const cl_device_id *device_list,
685 const cl_device_id *device_list,
/external/tensorflow/tensorflow/python/eager/
Dcontext.py316 device_list = pywrap_tensorflow.TFE_ContextListDevices(
320 for i in range(pywrap_tensorflow.TF_DeviceListCount(device_list)):
321 dev_name = pywrap_tensorflow.TF_DeviceListName(device_list, i)
323 dev_type = pywrap_tensorflow.TF_DeviceListType(device_list, i)
328 pywrap_tensorflow.TF_DeleteDeviceList(device_list)
/external/autotest/client/common_lib/cros/manual/
Dcfm_helper.py268 def gpio_usb_test(dut, gpio_list, device_list, pause, board): argument
279 for device in device_list:
/external/ImageMagick/MagickCore/
Dopencl-private.h143 cl_uint num_devices,const cl_device_id *device_list,const size_t *lengths,
153 cl_uint num_devices,const cl_device_id *device_list,const char *options,
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcollective_param_resolver_distributed.cc131 for (const string& dn : gr->device_list) { in CompleteGroupAsync()
230 gr->device_list.push_back(dn); in UpdateGroupCache()
/external/webrtc/talk/media/devices/
Ddevicemanager_unittest.cc238 const char* const device_list[], int list_size) { in CompareDeviceList() argument
243 if (devices[i].name.compare(device_list[i]) != 0) { in CompareDeviceList()
/external/tensorflow/tensorflow/core/common_runtime/
Dcollective_param_resolver_local.cc109 gr->device_list.push_back(device); in CompleteGroupLocal()
407 ir->shared.instance.device_names.assign(gr->device_list.begin(), in InitInstanceSharedParams()
408 gr->device_list.end()); in InitInstanceSharedParams()
Dcollective_param_resolver_local.h71 std::vector<string> device_list GUARDED_BY(mu);
/external/tensorflow/tensorflow/python/client/
Dsession.py705 device_list = []
712 device_list.append(
715 return device_list
/external/tensorflow/tensorflow/c/
Dc_api_test.cc71 TF_DeviceList* device_list = list.get(); in GPUDeviceName() local
75 const int num_devices = TF_DeviceListCount(device_list); in GPUDeviceName()
78 const char* device_name = TF_DeviceListName(device_list, i, s); in GPUDeviceName()
80 const char* device_type = TF_DeviceListType(device_list, i, s); in GPUDeviceName()
/external/libmtp/src/
Dlibmtp.c2350 uint32_t LIBMTP_Number_Devices_In_List(LIBMTP_mtpdevice_t *device_list) in LIBMTP_Number_Devices_In_List() argument
2354 for(iter = device_list; iter != NULL; iter = iter->next) in LIBMTP_Number_Devices_In_List()
2368 LIBMTP_error_number_t LIBMTP_Get_Connected_Devices(LIBMTP_mtpdevice_t **device_list) in LIBMTP_Get_Connected_Devices() argument
2376 *device_list = NULL; in LIBMTP_Get_Connected_Devices()
2382 *device_list = NULL; in LIBMTP_Get_Connected_Devices()
2387 *device_list = create_usb_mtp_devices(devices, numdevs); in LIBMTP_Get_Connected_Devices()
2393 if (*device_list == NULL) in LIBMTP_Get_Connected_Devices()