/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | hardware_before_streaming_test.cc | 38 char device_name[128] = {0}; in TEST_F() local 43 -1, device_name, guid_name)); in TEST_F() 44 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage; in TEST_F() 45 device_name[0] = '\0'; in TEST_F() 48 -1, device_name, guid_name)); in TEST_F() 49 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage; in TEST_F() 53 0, device_name, guid_name)); in TEST_F() 54 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage; in TEST_F() 55 device_name[0] = '\0'; in TEST_F() 58 0, device_name, guid_name)); in TEST_F() [all …]
|
D | hardware_test.cc | 48 char device_name[128] = {0}; in TEST_F() local 51 0, device_name, guid_name)); in TEST_F() 53 0, device_name, guid_name)); in TEST_F()
|
/external/autotest/client/site_tests/network_WlanDriver/ |
D | network_WlanDriver.py | 98 device_name, module_path = device_description 100 device_name, module_path) 101 if not device_name in self.EXPECTED_DRIVER: 103 device_name) 105 if not base_revision in self.EXPECTED_DRIVER[device_name]: 108 (base_revision, device_name)) 110 expected_driver = self.EXPECTED_DRIVER[device_name][base_revision] 114 (base_revision, device_name,
|
/external/webrtc/talk/media/devices/ |
D | linuxdevicemanager.cc | 144 std::string device_name = devdir + filename; in ScanDeviceDirectory() local 147 V4LLookup::IsV4L2Device(device_name)) { in ScanDeviceDirectory() 148 devices->push_back(Device(device_name, device_name)); in ScanDeviceDirectory() 156 std::string device_name; in GetVideoDeviceNameK2_6() local 162 if (device_meta_stream->ReadLine(&device_name) != rtc::SR_SUCCESS) { in GetVideoDeviceNameK2_6() 168 return device_name; in GetVideoDeviceNameK2_6() 209 std::string device_name; in GetVideoDeviceName() local 216 device_name = GetVideoDeviceNameK2_6(meta_file_path); in GetVideoDeviceName() 218 if (device_name.empty()) { in GetVideoDeviceName() 222 device_name = GetVideoDeviceNameK2_6(meta_file_path); in GetVideoDeviceName() [all …]
|
/external/e2fsprogs/resize/ |
D | main.c | 45 static char *device_name, *io_options; variable 329 device_name = argv[optind++]; in main() 335 io_options = strchr(device_name, '?'); in main() 349 retval = ext2fs_check_mount_point(device_name, &mount_flags, in main() 354 device_name); in main() 363 fd = ext2fs_open_file(device_name, O_RDWR, 0); in main() 366 device_name); in main() 374 device_name); in main() 383 device_name); in main() 406 retval = resize2fs_setup_tdb(device_name, undo_file, &io_ptr); in main() [all …]
|
/external/e2fsprogs/misc/ |
D | e2freefrag.c | 216 static void close_device(char *device_name, ext2_filsys fs) in close_device() argument 221 com_err(device_name, retval, "while closing the filesystem.\n"); in close_device() 228 fprintf(f, "Device: %s\n", fs->device_name); in collect_info() 233 com_err(fs->device_name, retval, "while reading block bitmap"); in collect_info() 234 close_device(fs->device_name, fs); in collect_info() 242 com_err(fs->device_name, retval, "while collecting chunk info"); in collect_info() 243 close_device(fs->device_name, fs); in collect_info() 249 static void open_device(char *device_name, ext2_filsys *fs) in open_device() argument 254 retval = ext2fs_open(device_name, flag, 0, 0, unix_io_manager, fs); in open_device() 256 com_err(device_name, retval, "while opening filesystem"); in open_device() [all …]
|
/external/e2fsprogs/debugfs/ |
D | e2freefrag.c | 216 static void close_device(char *device_name, ext2_filsys fs) in close_device() argument 221 com_err(device_name, retval, "while closing the filesystem.\n"); in close_device() 228 fprintf(f, "Device: %s\n", fs->device_name); in collect_info() 233 com_err(fs->device_name, retval, "while reading block bitmap"); in collect_info() 234 close_device(fs->device_name, fs); in collect_info() 242 com_err(fs->device_name, retval, "while collecting chunk info"); in collect_info() 243 close_device(fs->device_name, fs); in collect_info() 249 static void open_device(char *device_name, ext2_filsys *fs) in open_device() argument 254 retval = ext2fs_open(device_name, flag, 0, 0, unix_io_manager, fs); in open_device() 256 com_err(device_name, retval, "while opening filesystem"); in open_device() [all …]
|
/external/autotest/client/bin/input/ |
D | input_event_recorder.py | 147 def __init__(self, device_name): argument 153 self.device_name = device_name 154 self.device_node = self.get_device_node_by_name(device_name) 156 err_msg = 'Failed to find the device node of %s' % device_name 164 def get_device_node_by_name(self, device_name): argument 188 device_pattern = re.compile('N: Name=.*%s' % device_name, re.I) 309 device_name = 'Atmel maXTouch Touchpad' 310 recorder = InputEventRecorder(device_name) 311 print 'Samus touchpad device name:', recorder.device_name
|
/external/e2fsprogs/e2fsck/ |
D | iscan.c | 31 const char * device_name = NULL; variable 75 device_name = argv[optind]; in PRS() 77 int fd = open(device_name, O_RDONLY, 0); in PRS() 81 _("while opening %s for flushing"), device_name); in PRS() 86 _("while trying to flush %s"), device_name); in PRS() 107 retval = ext2fs_open(device_name, 0, in main() 111 device_name); in main()
|
D | scantest.c | 38 const char * device_name = NULL; variable 100 device_name = "/dev/hda3"; in main() 104 retval = ext2fs_open(device_name, 0, in main() 108 device_name); in main()
|
/external/vulkan-validation-layers/libs/vkjson/ |
D | vkjson_info.cc | 36 std::string device_name; member 62 options->device_name = arg2; in ParseOptions() 72 !options->device_name.empty())) { in ParseOptions() 77 if (options->device_index != unsignedNegOne && !options->device_name.empty()) { in ParseOptions() 88 options->device_index == unsignedNegOne && options->device_name.empty()) { in ParseOptions() 108 } else if (!options.device_name.empty()) { in Dump() 110 if (device.properties.deviceName == options.device_name) { in Dump() 115 std::cerr << "Error: device '" << options.device_name in Dump() 162 !options.device_name.empty()) { in main()
|
/external/toybox/toys/pending/ |
D | mdev.c | 37 char *device_name = 0, *s, *temp; in make_device() local 68 device_name = getenv("DEVNAME"); in make_device() 70 if (!device_name) in make_device() 71 device_name = strrchr(path, '/') + 1; in make_device() 74 while ((temp = strchr(device_name, '!'))) { in make_device() 117 result=regexec(&match, device_name, 1, &off, 0); in make_device() 123 || off.rm_eo!=strlen(device_name)) in make_device() 184 sprintf(toybuf, "/dev/%s", device_name); in make_device() 191 if (strchr(device_name, '/')) in make_device()
|
/external/mesa3d/src/gallium/state_trackers/egl/drm/ |
D | native_drm.c | 135 if (drmdpy->device_name) in drm_display_destroy() 136 FREE(drmdpy->device_name); in drm_display_destroy() 156 char *device_name = NULL; in drm_get_device_name() local 179 device_name = strdup(tmp); in drm_get_device_name() 186 return device_name; in drm_get_device_name() 216 drmdpy->device_name, in drm_display_bind_wayland_display() 278 drmdpy->device_name = drm_get_device_name(drmdpy->fd); in drm_create_display() 297 if (drmdpy->device_name) in drm_create_display() 317 const char *device_name="/dev/dri/card0"; in native_create_display() local 319 fd = open(device_name, O_RDWR | O_CLOEXEC); in native_create_display() [all …]
|
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
D | native_drm.c | 59 char *device_name; member 76 if (drmdpy->device_name) in wayland_drm_display_destroy() 77 FREE(drmdpy->device_name); in wayland_drm_display_destroy() 133 drmdpy->device_name = strdup(device); in drm_handle_device() 134 if (!drmdpy->device_name) in drm_handle_device() 138 drmdpy->fd = open(drmdpy->device_name, O_RDWR | O_CLOEXEC); in drm_handle_device() 142 drmdpy->fd = open(drmdpy->device_name, O_RDWR); in drm_handle_device() 148 drmdpy->device_name, strerror(errno)); in drm_handle_device() 275 wayland_drm_init(wl_dpy, drmdpy->device_name, in wayland_drm_display_bind_wayland_display()
|
/external/e2fsprogs/ext2ed/ |
D | disk.c | 62 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); in low_read() 68 wprintw (command_win,"Error - Failed to read from offset %ld in device %s\n",offset,device_name); in low_read() 118 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); in low_write() 124 wprintw (command_win,"Error - Failed to write to offset %ld in device %s\n",offset,device_name); in low_write() 156 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) ¤t_time),device_name); in log_changes()
|
/external/e2fsprogs/lib/ext2fs/ |
D | dupfs.c | 35 fs->device_name = 0; in ext2fs_dup_handle() 51 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name); in ext2fs_dup_handle() 54 strcpy(fs->device_name, src->device_name); in ext2fs_dup_handle()
|
/external/webrtc/webrtc/sound/ |
D | sounddevicelocator.h | 32 const std::string &device_name() const { return device_name_; } in device_name() function 39 const std::string &device_name) in SoundDeviceLocator() argument 40 : name_(name), device_name_(device_name) {} in SoundDeviceLocator()
|
/external/mesa3d/src/egl/wayland/wayland-drm/ |
D | wayland-drm.c | 43 char *device_name; member 194 wl_resource_post_event(resource, WL_DRM_DEVICE, drm->device_name); in bind_drm() 210 wayland_drm_init(struct wl_display *display, char *device_name, in wayland_drm_init() argument 218 drm->device_name = strdup(device_name); in wayland_drm_init() 230 free(drm->device_name); in wayland_drm_uninit()
|
/external/mesa3d/src/gbm/main/ |
D | common.c | 66 char *device_name = NULL; in _gbm_fd_get_device_name() local 76 device_name = strdup(const_device_name); in _gbm_fd_get_device_name() 82 return device_name; in _gbm_fd_get_device_name()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_dev_attr.c | 163 len = dev->device_name ? os_strlen(dev->device_name) : 0; in wps_build_dev_name() 177 wpabuf_put_data(msg, dev->device_name, len); in wps_build_dev_name() 331 os_free(dev->device_name); in wps_process_dev_name() 332 dev->device_name = dup_binstr(str, str_len); in wps_process_dev_name() 333 if (dev->device_name == NULL) in wps_process_dev_name() 409 os_free(dev->device_name); in wps_device_data_free() 410 dev->device_name = NULL; in wps_device_data_free()
|
/external/autotest/client/cros/multimedia/ |
D | input_facade_native.py | 28 def initialize_input_recorder(self, device_name): argument 34 self.recorder = input_event_recorder.InputEventRecorder(device_name) 36 self.recorder.device_name, self.recorder.device_node)
|
/external/webrtc/talk/media/webrtc/ |
D | fakewebrtcdeviceinfo.h | 47 void AddDevice(const std::string& device_name, const std::string& device_id) { in AddDevice() argument 48 devices_.push_back(Device(device_name, device_id)); in AddDevice() 61 char* device_name, in GetDeviceName() argument 69 rtc::strcpyn(reinterpret_cast<char*>(device_name), device_name_len, in GetDeviceName()
|
/external/autotest/client/deps/gfxtest/src/ |
D | getfb.c | 16 const char* device_name = "/dev/fb0"; in main() local 31 fd = open(device_name, O_RDONLY); in main() 33 fprintf(stderr, "Cannot open framebuffer device %s\n", device_name); in main()
|
/external/toybox/toys/other/ |
D | eject.c | 62 char *device_name = "/dev/cdrom"; in eject_main() local 64 if (*toys.optargs) device_name = *toys.optargs; in eject_main() 66 fd = xopen(device_name, O_RDONLY | O_NONBLOCK); in eject_main()
|
/external/webrtc/webrtc/test/ |
D | vcm_capturer.cc | 27 char device_name[256]; in Init() local 29 if (device_info->GetDeviceName(0, device_name, sizeof(device_name), in Init()
|