/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 …]
|
D | CLPlatform.cpp | 184 cl_device_id *devices, in getDeviceIDs() argument 192 if (devices != nullptr && found < numEntries) in getDeviceIDs() 194 devices[found] = device.get(); in getDeviceIDs() 215 const cl_device_id *devices, in CreateContext() argument 228 devs.emplace_back(&(*devices++)->cast<Device>()); in CreateContext() 263 DevicePtrs devices; in createDevices() local 264 devices.reserve(createDatas.size()); in createDevices() 267 devices.emplace_back( in createDevices() 270 devices.back()->release(); in createDevices() 271 if (!devices.back()->mInfo.isValid()) in createDevices() [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/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/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/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()
|
D | context.hpp | 78 explicit context(const std::vector<device> &devices, in context() argument 81 BOOST_ASSERT(!devices.empty()); in context() 87 static_cast<cl_uint>(devices.size()), in context() 88 reinterpret_cast<const cl_device_id *>(&devices[0]), in context() 178 std::vector<device> devices = get_devices(); in get_device() local 180 if(devices.empty()) { in get_device() 184 return devices.front(); in get_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/uboot/u-boot-2020.01/examples/api/ |
D | glue.c | 166 static struct device_info devices[UB_MAX_DEV]; variable 170 return ((i < 0 || i >= UB_MAX_DEV) ? NULL : &devices[i]); in ub_dev_get() 184 memset(&devices, 0, sizeof(struct device_info) * UB_MAX_DEV); in ub_dev_enum() 185 di = &devices[0]; in ub_dev_enum() 199 di->cookie = devices[n - 1].cookie; in ub_dev_enum() 221 di = &devices[handle]; in ub_dev_open() 236 di = &devices[handle]; in ub_dev_close() 257 if (devices[handle].state != DEV_STA_OPEN) in dev_valid() 268 if (!(devices[handle].type & DEV_TYP_STOR)) in dev_stor_valid() 284 di = &devices[handle]; in ub_dev_read() [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 …]
|
D | what-is-libinput.rst | 18 commonly used input devices. That includes mice, keyboards, touchpads, 20 and provides an easy-to-use API to receive events from devices. 22 libinput is designed to handle all input devices available on a system but 23 it is possible to limit which devices libinput has access to. 25 for specific devices. But libinput works best if it handles all input 26 devices as this allows for smarter handling of features that affect multiple 27 devices. 29 libinput restricts device-specific features to those devices that require 32 software buttons on other devices, libinput does not do so. 44 libinput is **not** a project to support experimental devices. Unless a [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/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/uboot/u-boot-2020.01/drivers/block/ |
D | Kconfig | 2 bool "Support block devices" 6 Enable support for block devices, such as SCSI, MMC and USB 9 devices often have a partition table which allows the device to 16 Some devices require block support whether or not DM is enabled 19 bool "Support block devices in SPL" 23 Enable support for block devices, such as SCSI, MMC and USB 26 devices often have a partition table which allows the device to 31 bool "Support block devices in TPL" 35 Enable support for block devices, such as SCSI, MMC and USB 38 devices often have a partition table which allows the device to [all …]
|
/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/flutter/skia/tools/ |
D | hello-opencl.cpp | 29 std::vector<cl::Device> devices; in main() local 33 devices.insert(devices.end(), platform_devices.begin(), platform_devices.end()); in main() 36 if (devices.empty()) { in main() 42 for (cl::Device device : devices) { in main() 57 std::vector<cl::Device> devices = { device }; in main() local 62 cl::Context ctx(devices, in main()
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | v4l2-utils.c | 38 GList *devices; member 52 it->devices = g_udev_client_query_by_subsystem (it->client, "video4linux"); in gst_v4l2_iterator_new() 70 if (it->devices == NULL) in gst_v4l2_iterator_next() 73 it->device = it->devices->data; in gst_v4l2_iterator_next() 74 it->devices = g_list_delete_link (it->devices, it->devices); in gst_v4l2_iterator_next() 93 g_list_free_full (it->devices, g_object_unref); in gst_v4l2_iterator_free()
|
/third_party/ltp/testcases/kernel/power_management/ |
D | runpwtests03.sh | 33 cpufiles=$(find /sys/devices/system/cpu/cpu"${cpu}"/cpufreq/ \ 61 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor 87 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor 98 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_setspeed 117 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` 151 if [ ! -d /sys/devices/system/cpu/cpu0/cpufreq ] ; then
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstdevice.c | 148 static GList *devices = NULL; 154 devs = g_list_copy (devices); in gst_test_device_provider_probe() 239 devices = g_list_append (NULL, test_device_new ()); in GST_START_TEST() 243 fail_unless_equals_pointer (devs->data, devices->data); in GST_START_TEST() 253 g_list_free_full (devices, (GDestroyNotify) gst_object_unref); in GST_START_TEST() 323 devices = g_list_append (NULL, test_device_new ()); in GST_START_TEST() 398 g_list_free_full (devices, (GDestroyNotify) gst_object_unref); in GST_START_TEST() 423 devices = g_list_append (NULL, test_device_new ()); in GST_START_TEST() 443 fail_unless_equals_pointer (devs->data, devices->data); in GST_START_TEST() 450 fail_unless_equals_pointer (devs->data, devices->data); in GST_START_TEST() [all …]
|
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/ |
D | devices_test.dart | 11 import 'package:flutter_tools/src/commands/devices.dart'; 20 group('devices', () { 27 await createTestCommandRunner(command).run(<String>['devices']); 30 testUsingContext('no error when no connected devices', () async { 32 await createTestCommandRunner(command).run(<String>['devices']); 33 expect(testLogger.statusText, contains('No devices detected'));
|
/third_party/flutter/skia/third_party/externals/sdl/src/audio/xaudio2/ |
D | SDL_xaudio2_winrthelpers.cpp | 47 DeviceInformationCollection^ devices = operation->GetResults(); in IXAudio2_GetDeviceCount() 48 *devcount = devices->Size; in IXAudio2_GetDeviceCount() 76 DeviceInformationCollection^ devices = operation->GetResults(); in IXAudio2_GetDeviceDetails() 77 if (index >= devices->Size) in IXAudio2_GetDeviceDetails() 82 DeviceInformation^ d = devices->GetAt(index); in IXAudio2_GetDeviceDetails()
|