/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/include/ |
D | cpuhotplug_hotplug.sh | 72 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then 78 $TIME echo 1 > /sys/devices/system/cpu/cpu${CPU}/online 93 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then 99 $TIME echo 0 > /sys/devices/system/cpu/cpu${CPU}/online 112 [ -d /sys/devices/system/cpu/cpu0 ] || return -1 113 NUM=`ls /sys/devices/system/cpu/ \ 128 [ -d /sys/devices/system/cpu ] || return 1 129 (cd /sys/devices/system/cpu; ls -d cpu[0-9]*) 157 if [ -e /sys/devices/system/cpu/cpu$cpu ]; then 185 if [ -e /sys/devices/system/cpu/$cpu/online ]; then [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | CLProgram.cpp | 24 DevicePtrs devices; in build() local 25 devices.reserve(numDevices); in build() 28 devices.emplace_back(&(*deviceList++)->cast<Device>()); in build() 38 return mImpl->build(devices, options, notify); in build() 50 DevicePtrs devices; in compile() local 51 devices.reserve(numDevices); in compile() 54 devices.emplace_back(&(*deviceList++)->cast<Device>()); in compile() 70 return mImpl->compile(devices, options, programs, headerIncludeNames, notify); in compile() 75 std::vector<cl_device_id> devices; in getInfo() local 99 devices.reserve(mDevices.size()); in getInfo() [all …]
|
D | CLContext.cpp | 25 std::vector<cl_device_id> devices; in getInfo() local 43 devices.reserve(mDevices.size()); in getInfo() 46 devices.emplace_back(device->getNative()); in getInfo() 48 copyValue = devices.data(); in getInfo() 49 copySize = devices.size() * sizeof(decltype(devices)::value_type); in getInfo() 269 const cl_device_id *devices, in createProgramWithBinary() argument 279 devs.emplace_back(&(*devices++)->cast<Device>()); in createProgramWithBinary() 286 const cl_device_id *devices, in createProgramWithBuiltInKernels() argument 294 devs.emplace_back(&(*devices++)->cast<Device>()); in createProgramWithBuiltInKernels() 308 DevicePtrs devices; in linkProgram() local [all …]
|
/third_party/vk-gl-cts/scripts/android/ |
D | install_apk.py | 59 devices = [] 69 devices.append(Device(m.group(1), m.group(2), m.group(3), m.group(4))) 71 return devices 145 def installToDevices (devices, doParallel, adbPath, packageName, apkPath): argument 146 padLen = max([len(device.model) for device in devices])+1 148 …apkPath, ("(%s):%s" % (device.model, ' ' * (padLen - len(device.model))))) for device in devices]); 150 serialApply(installToDevice, [(device, adbPath, packageName, apkPath) for device in devices]); 153 devices = getDevices(adbPath) 154 installToDevices(devices, doParallel, adbPath, packageName, apkPath) 227 devices = getDevices(args.adbPath) variable [all …]
|
/third_party/ffmpeg/libavdevice/ |
D | pulse_audio_common.c | 54 AVDeviceInfoList *devices; member 158 if ((ret = av_dynarray_add_nofree(&info->devices->devices, in pulse_add_detected_device() 159 &info->devices->nb_devices, new_device)) < 0) { in pulse_add_detected_device() 197 int ff_pulse_audio_get_devices(AVDeviceInfoList *devices, const char *server, int output) in ff_pulse_audio_get_devices() argument 207 dev_list.devices = devices; in ff_pulse_audio_get_devices() 208 if (!devices) in ff_pulse_audio_get_devices() 210 devices->nb_devices = 0; in ff_pulse_audio_get_devices() 211 devices->devices = NULL; in ff_pulse_audio_get_devices() 237 devices->default_device = -1; in ff_pulse_audio_get_devices() 238 for (i = 0; i < devices->nb_devices; i++) { in ff_pulse_audio_get_devices() [all …]
|
/third_party/openh264/autotest/unitTest/ |
D | run_unitTest.sh | 34 devices=`$ADB devices | awk -F" " '/\tdevice/{print $1}'` 35 if [ "#$devices" = "#" ];then 38 echo Start to run the unittest on android devices 43 echo There is something wrong happened when runing unittest on android devices,please to check 45 echo Finish run the unittest on android devices sucessfully 56 echo Start to run the unittest on ios devices 61 echo There is something wrong happened when runing unittest on ios devices,please to check 63 echo Finish run the unittest on android devices sucessfully 80 echo Unit test run on the android devices have not any failure case 92 echo Unit test run on the ios devices have not any failure case
|
/third_party/libdrm/tests/ |
D | drmdevice.c | 110 drmDevicePtr *devices; in main() local 125 devices = calloc(max_devices, sizeof(drmDevicePtr)); in main() 126 if (devices == NULL) { in main() 132 ret = drmGetDevices2(0, devices, max_devices); in main() 135 free(devices); in main() 140 print_device_info(devices[i], i, false); in main() 143 if (devices[i]->available_nodes & 1 << j) { in main() 144 printf("--- Opening device node %s ---\n", devices[i]->nodes[j]); in main() 145 fd = open(devices[i]->nodes[j], O_RDONLY | O_CLOEXEC, 0); in main() 151 printf("--- Retrieving device info, for node %s ---\n", devices[i]->nodes[j]); in main() [all …]
|
/third_party/cef/libcef/browser/ |
D | media_capture_devices_dispatcher.cc | 19 const blink::MediaStreamDevices& devices, in FindDefaultDeviceWithId() argument 21 if (devices.empty()) in FindDefaultDeviceWithId() 24 blink::MediaStreamDevices::const_iterator iter = devices.begin(); in FindDefaultDeviceWithId() 25 for (; iter != devices.end(); ++iter) { in FindDefaultDeviceWithId() 31 return &(*devices.begin()); in FindDefaultDeviceWithId() 57 blink::MediaStreamDevices* devices) { in GetDefaultDevices() argument 64 GetRequestedDevice(default_device, true, false, devices); in GetDefaultDevices() 69 GetRequestedDevice(default_device, false, true, devices); in GetDefaultDevices() 77 blink::MediaStreamDevices* devices) { in GetRequestedDevice() argument 86 devices->push_back(*device); in GetRequestedDevice() [all …]
|
/third_party/mesa3d/src/tool/pps/ |
D | pps_device.cc | 24 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in device_count() local 25 int num_devices = drmGetDevices2(0, devices, MAX_DRM_DEVICES); in device_count() 26 drmFreeDevices(devices, num_devices); in device_count() 69 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in create_all() local 70 int num_devices = drmGetDevices2(0, devices, MAX_DRM_DEVICES); in create_all() 76 drmDevicePtr device = devices[gpu_num]; in create_all() 87 drmFreeDevices(devices, num_devices); in create_all() 99 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in create() local 100 int num_devices = drmGetDevices2(0, devices, MAX_DRM_DEVICES); in create() 103 drmDevicePtr device = devices[gpu_num]; in create() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvadevice.c | 73 GQueue devices = G_QUEUE_INIT; in gst_va_device_find_devices() local 93 g_queue_push_head (&devices, gst_va_device_new (dpy, path)); in gst_va_device_find_devices() 96 g_queue_sort (&devices, compare_device_path, NULL); in gst_va_device_find_devices() 100 return devices.head; in gst_va_device_find_devices() 107 GQueue devices = G_QUEUE_INIT; in gst_va_device_find_devices() local 120 g_queue_push_head (&devices, gst_va_device_new (dpy, path)); in gst_va_device_find_devices() 123 g_queue_sort (&devices, compare_device_path, NULL); in gst_va_device_find_devices() 124 return devices.head; in gst_va_device_find_devices() 129 gst_va_device_list_free (GList * devices) in gst_va_device_list_free() argument 131 g_list_free_full (devices, (GDestroyNotify) gst_mini_object_unref); in gst_va_device_list_free()
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ |
D | device_manager.cc | 62 RankList devices, stage_map; in InitDevice() local 64 devices.push_back(i); in InitDevice() 93 if (g_device_manager->Init(devices, global_rank, stage_map, backend) == SUCCESS) { in InitDevice() 108 int64_t GetListMemberByIndex(size_t index, const RankList &devices) { in GetListMemberByIndex() argument 111 if ((devices.empty()) || (index >= devices.size())) { in GetListMemberByIndex() 114 auto it = devices.begin(); in GetListMemberByIndex() 115 for (; it != devices.end(); ++it) { in GetListMemberByIndex() 144 Status DeviceManager::Init(const RankList &devices, int64_t global_device_rank, const RankList &sta… in Init() argument 151 if (stage_map.empty() || devices.empty()) { in Init() 156 for (auto &dev : devices) { in Init() [all …]
|
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/ |
D | device_test.dart | 19 final List<Device> devices = await deviceManager.getDevices().toList(); 20 expect(devices, isList); 27 final List<Device> devices = <Device>[device1, device2, device3]; 28 final DeviceManager deviceManager = TestDeviceManager(devices); 42 group('Filter devices', () { 62 final List<Device> devices = <Device>[ 69 final DeviceManager deviceManager = TestDeviceManager(devices); 76 final List<Device> devices = <Device>[ 81 final DeviceManager deviceManager = TestDeviceManager(devices); 91 final List<Device> devices = <Device>[ [all …]
|
/third_party/boost/libs/compute/include/boost/compute/ |
D | system.hpp | 91 const std::vector<device> devices = system::devices(); in find_device() local 92 for(size_t i = 0; i < devices.size(); i++){ in find_device() 93 const device& device = devices[i]; in find_device() 113 static std::vector<device> devices() in devices() function in boost::compute::system 115 std::vector<device> devices; in devices() local 119 const std::vector<device> platform_devices = platforms[i].devices(); in devices() 121 devices.insert( in devices() 122 devices.end(), platform_devices.begin(), platform_devices.end() in devices() 126 return devices; in devices() 217 const std::vector<device> devices_ = devices(); in find_default_device()
|
/third_party/boost/boost/compute/ |
D | system.hpp | 91 const std::vector<device> devices = system::devices(); in find_device() local 92 for(size_t i = 0; i < devices.size(); i++){ in find_device() 93 const device& device = devices[i]; in find_device() 113 static std::vector<device> devices() in devices() function in boost::compute::system 115 std::vector<device> devices; in devices() local 119 const std::vector<device> platform_devices = platforms[i].devices(); in devices() 121 devices.insert( in devices() 122 devices.end(), platform_devices.begin(), platform_devices.end() in devices() 126 return devices; in devices() 217 const std::vector<device> devices_ = devices(); in find_default_device()
|
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/ |
D | EGL_EXT_device_enumeration.txt | 51 native devices and constructing EGL displays and surfaces from 59 given EGLDisplay and enumerating devices from scratch. It was later 61 that have no need or ability to allow enumerating all the devices 72 EGLDeviceEXT *devices, 77 "EGL devices can be enumerated before EGL is initialized. Use: 80 EGLDeviceEXT *devices, 83 "to obtain a list of all supported devices in the system. On 84 success, EGL_TRUE is returned, and <num_devices> devices are 85 stored in the array pointed to by <devices>. <num_devices> will 86 be less than or equal to <max_devices>. If <devices> is NULL, [all …]
|
/third_party/EGL/extensions/EXT/ |
D | EGL_EXT_device_enumeration.txt | 51 native devices and constructing EGL displays and surfaces from 59 given EGLDisplay and enumerating devices from scratch. It was later 61 that have no need or ability to allow enumerating all the devices 72 EGLDeviceEXT *devices, 77 "EGL devices can be enumerated before EGL is initialized. Use: 80 EGLDeviceEXT *devices, 83 "to obtain a list of all supported devices in the system. On 84 success, EGL_TRUE is returned, and <num_devices> devices are 85 stored in the array pointed to by <devices>. <num_devices> will 86 be less than or equal to <max_devices>. If <devices> is NULL, [all …]
|
/third_party/libinput/doc/user/ |
D | seats.rst | 9 physical name is summarized as the list of devices a process on the same 11 logical group of devices. A compositor may use that to create additional 14 devices on the other logical seats. 26 The devices "Foo", "Bar" and "Spam" share the same physical seat and are 37 Thus, devices "Foo" and "Bar" both reference the same struct 38 **libinput_seat**, all other devices reference their own respective seats. 46 A logical set is interpreted as a group of devices that usually belong to a 47 single user that interacts with a computer. Thus, the devices are 48 semantically related. This means for devices within the same logical seat: 50 - if the same button is pressed on different devices, the button should only [all …]
|
/third_party/mesa3d/src/vulkan/device-select-layer/ |
D | device_select_x11.c | 63 int device_select_find_xcb_pci_default(struct device_pci_info *devices, uint32_t device_count) in device_select_find_xcb_pci_default() argument 102 if (devices[i].has_bus_info) { in device_select_find_xcb_pci_default() 103 if (xdev->businfo.pci->domain == devices[i].bus_info.domain && in device_select_find_xcb_pci_default() 104 xdev->businfo.pci->bus == devices[i].bus_info.bus && in device_select_find_xcb_pci_default() 105 xdev->businfo.pci->dev == devices[i].bus_info.dev && in device_select_find_xcb_pci_default() 106 xdev->businfo.pci->func == devices[i].bus_info.func) { in device_select_find_xcb_pci_default() 110 if (xdev->deviceinfo.pci->vendor_id == devices[i].dev_info.vendor_id && in device_select_find_xcb_pci_default() 111 xdev->deviceinfo.pci->device_id == devices[i].dev_info.device_id) in device_select_find_xcb_pci_default()
|
D | device_select_wayland.c | 99 int device_select_find_wayland_pci_default(struct device_pci_info *devices, uint32_t device_count) in device_select_find_wayland_pci_default() argument 126 if (devices[i].has_bus_info) { in device_select_find_wayland_pci_default() 127 if (info.dev_info->businfo.pci->domain == devices[i].bus_info.domain && in device_select_find_wayland_pci_default() 128 info.dev_info->businfo.pci->bus == devices[i].bus_info.bus && in device_select_find_wayland_pci_default() 129 info.dev_info->businfo.pci->dev == devices[i].bus_info.dev && in device_select_find_wayland_pci_default() 130 info.dev_info->businfo.pci->func == devices[i].bus_info.func) in device_select_find_wayland_pci_default() 133 if (info.dev_info->deviceinfo.pci->vendor_id == devices[i].dev_info.vendor_id && in device_select_find_wayland_pci_default() 134 info.dev_info->deviceinfo.pci->device_id == devices[i].dev_info.device_id) in device_select_find_wayland_pci_default()
|
/third_party/libinput/tools/ |
D | libinput-record-verify-yaml.py | 51 devices = self.yaml['devices'] 52 for d in devices: 106 devices = self.yaml['devices'] 107 for d in devices: 114 devices = self.yaml['devices'] 115 for d in devices: 121 devices = self.yaml['devices'] 122 for d in devices: 129 devices = self.yaml['devices'] 130 for d in devices: [all …]
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/ |
D | devices.dart | 16 final String name = 'devices'; 19 final String description = 'List all connected devices.'; 30 final List<Device> devices = await deviceManager.getAllConnectedDevices().toList(); 32 if (devices.isEmpty) { 34 'No devices detected.\n\n' 46 printStatus('${devices.length} connected ${pluralize('device', devices.length)}:\n'); 47 await Device.printDevices(devices);
|
/third_party/openh264/autotest/performanceTest/ |
D | run_perfTest.sh | 10 echo Default testing will run on android and ios devices meanwhile 14 echo Running the test just on ios devices 17 echo Running the test just on android devices 56 echo Run the Encoder performance test on ios devices 65 echo Run the Encoder performance test on android devices 92 echo Run the Decoder performance test on ios devices 101 echo Run the Decoder performance test on android devices 113 echo There is nothing result log generated at ios or android devices
|
/third_party/flutter/flutter/packages/flutter_tools/lib/src/ |
D | device.dart | 19 import 'ios/devices.dart'; 62 /// A class to get all available devices. 96 /// True when the user has specified all devices by setting 101 final List<Device> devices = await getAllConnectedDevices().toList(); 110 final Device exactMatch = devices.firstWhere( 118 for (Device device in devices.where(startsWithDeviceId)) 122 /// Return the list of connected devices, filtered by any user-specified device id. 133 /// Return the list of all connected devices. 136 for (Device device in await discoverer.devices) { 142 /// Whether we're capable of listing any devices given the current environment configuration. [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkDeviceUtil.cpp | 107 const vector<VkPhysicalDevice> devices = enumeratePhysicalDevices(vkInstance, instance); in chooseDeviceIndex() local 109 if (devices.empty()) in chooseDeviceIndex() 113 if (!de::inBounds(deviceIdFromCmdLine, 0u, static_cast<deUint32>(devices.size() + 1))) in chooseDeviceIndex() 122 for (deUint32 deviceNdx = 0u; deviceNdx < devices.size(); ++deviceNdx) in chooseDeviceIndex() 124 …const VkPhysicalDeviceProperties props = getPhysicalDeviceProperties(vkInstance, devices[devic… in chooseDeviceIndex() 138 const vector<VkPhysicalDevice> devices = enumeratePhysicalDevices(vkInstance, instance); in chooseDevice() local 140 if (devices.empty()) in chooseDevice() 144 return devices[deviceId]; in chooseDevice()
|
/third_party/mesa3d/src/egl/main/ |
D | egldevice.c | 298 drmDevicePtr devices[64]; in _eglRefreshDeviceList() local 301 num_devs = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in _eglRefreshDeviceList() 303 if (!(devices[i]->available_nodes & (1 << DRM_NODE_RENDER))) in _eglRefreshDeviceList() 306 ret = _eglAddDRMDevice(devices[i], NULL); in _eglRefreshDeviceList() 310 drmFreeDevice(&devices[i]); in _eglRefreshDeviceList() 322 _EGLDevice **devices, in _eglQueryDevicesEXT() argument 328 if ((devices && max_devices <= 0) || !num_devices) in _eglQueryDevicesEXT() 337 if (!devices) { in _eglQueryDevicesEXT() 351 devices[i] = dev; in _eglQueryDevicesEXT() 358 devices[num_devs - 1] = devs; in _eglQueryDevicesEXT()
|