/external/autotest/client/site_tests/camera_V4L2/src/ |
D | media_v4l2_unittest.cc | 25 void TestMultipleOpen(const char* dev_name, V4L2Device::IOMethod io) { in TestMultipleOpen() argument 26 V4L2Device v4l2_dev1(dev_name, io, 4); in TestMultipleOpen() 27 V4L2Device v4l2_dev2(dev_name, io, 4); in TestMultipleOpen() 29 printf("[Error] Can not open device '%s' for the first time\n", dev_name); in TestMultipleOpen() 32 printf("[Error] Can not open device '%s' for the second time\n", dev_name); in TestMultipleOpen() 40 void TestMultipleInit(const char* dev_name, V4L2Device::IOMethod io) { in TestMultipleInit() argument 41 V4L2Device v4l2_dev1(dev_name, io, 4); in TestMultipleInit() 42 V4L2Device v4l2_dev2(dev_name, io, 4); in TestMultipleInit() 44 printf("[Error] Can not open device '%s' for the first time\n", dev_name); in TestMultipleInit() 47 printf("[Error] Can not open device '%s' for the second time\n", dev_name); in TestMultipleInit() [all …]
|
D | media_v4l2_test.cc | 48 std::string dev_name = "/dev/video"; in main() local 68 dev_name = strdup(optarg); in main() 125 V4L2Device* device = new V4L2Device(dev_name.c_str(), io, buffers); in main()
|
D | media_v4l2_device.h | 33 V4L2Device(const char* dev_name,
|
/external/autotest/client/cros/faft/utils/ |
D | cgpt_handler.py | 50 def read_device_info(self, dev_name): argument 58 'cgpt show %s' % dev_name) 84 self.devices[dev_name] = device_data
|
/external/autotest/client/site_tests/usbpd_GFU/ |
D | usbpd_GFU.py | 221 for dev_name in fw_dict.keys(): 222 if flash_info['dev_major'] == self.DEV_MAJOR[dev_name]: 223 for old_rw in sorted(fw_dict[dev_name], reverse=True)[1:]: 225 port.index, dev_name, old_rw)
|
/external/toybox/toys/pending/ |
D | route.c | 310 …ext_params_inet6(char **argv, struct sockaddr_in6 *sock_in6, struct in6_rtmsg *rt, char **dev_name) in get_next_params_inet6() argument 329 if (!*dev_name) *dev_name = *argv; in get_next_params_inet6() 340 char *targetip, *dev_name = 0; in setroute_inet6() local 359 get_next_params_inet6(argv, &sock_in6, &rt, (char **)&dev_name); in setroute_inet6() 362 if (dev_name) { in setroute_inet6() 365 xstrncpy(ifre->ifr_name, dev_name, IFNAMSIZ); in setroute_inet6()
|
D | fsck.c | 58 char *prog_name, *dev_name; member 235 child->dev_name = xstrdup(finfo->device); in do_fsck() 286 temp->prog_name, temp->dev_name, status); in wait_for() 292 free(temp->dev_name); in wait_for()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/ |
D | blockdevicemapping.py | 135 for dev_name in self: 137 params['%s.DeviceName' % pre] = dev_name 138 block_dev = self[dev_name]
|
/external/libpcap/ |
D | pcap-dos.c | 110 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf); 621 open_driver (const char *dev_name, char *ebuf, int promisc) in open_driver() argument 629 if (strcmp (dev_name,dev->name)) in open_driver() 638 sprintf (ebuf, "failed to detect device `%s'", dev_name); in open_driver() 660 sprintf (ebuf, "failed to activate device `%s'", dev_name); in open_driver() 682 sprintf (ebuf, "device `%s' not supported", dev_name); in open_driver() 689 sprintf (ebuf, "device `%s' not probed", dev_name); in open_driver() 924 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf) in init_watt32() argument 949 if (dev_name && strncmp(dev_name,"pkt",3)) in init_watt32()
|
D | pcap-canusb-linux.c | 123 char dev_name[30]; in canusb_findalldevs() local 128 snprintf(dev_name, 30, CANUSB_IFACE"%s", sernum); in canusb_findalldevs() 133 if (pcap_add_if(alldevsp, dev_name, 0, dev_descr, err_str) < 0) in canusb_findalldevs()
|
D | pcap-bt-linux.c | 117 char dev_name[20], dev_descr[30]; in bt_findalldevs() local 119 snprintf(dev_name, 20, BT_IFACE"%d", dev_req->dev_id); in bt_findalldevs() 122 if (pcap_add_if(alldevsp, dev_name, 0, in bt_findalldevs()
|
D | pcap-usb-linux.c | 145 char dev_name[10]; in usb_dev_add() local 147 snprintf(dev_name, 10, USB_IFACE"%d", n); in usb_dev_add() 150 if (pcap_add_if(alldevsp, dev_name, 0, in usb_dev_add()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 131 char* dev_name; in drm_open() local 135 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drm_open() 139 fd = open(dev_name, O_RDWR, 0); in drm_open() 140 free(dev_name); in drm_open()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_validate.c | 385 static int wps_validate_dev_name(const u8 *dev_name, size_t len, in wps_validate_dev_name() argument 388 if (dev_name == NULL) { in wps_validate_dev_name() 396 if (len > 0 && dev_name[len - 1] == 0) { in wps_validate_dev_name() 398 "attribute value", dev_name, len); in wps_validate_dev_name() 1159 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, probe) || in wps_validate_beacon_probe_resp() 1214 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, wps2) || in wps_validate_probe_req() 1320 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) || in wps_validate_m1() 1375 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) || in wps_validate_m2() 1429 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) || in wps_validate_m2d()
|
D | wps.c | 619 if (attr.dev_name) { in wps_attr_text() 625 if (attr.dev_name[i] == 0 || in wps_attr_text() 626 is_ctrl_char(attr.dev_name[i])) in wps_attr_text() 629 str[i] = attr.dev_name[i]; in wps_attr_text()
|
D | wps_er.h | 27 char *dev_name; member
|
D | wps_attr_parse.h | 65 const u8 *dev_name; member
|
D | wps.h | 337 const char *dev_name); 498 const u8 *dev_name; member 549 const char *dev_name; member
|
/external/libdrm/ |
D | xf86drm.c | 311 const char *dev_name; in drmOpenDevice() local 324 dev_name = DRM_DEV_NAME; in drmOpenDevice() 327 dev_name = DRM_CONTROL_DEV_NAME; in drmOpenDevice() 330 dev_name = DRM_RENDER_DEV_NAME; in drmOpenDevice() 336 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenDevice() 441 const char *dev_name; in drmOpenMinor() local 448 dev_name = DRM_DEV_NAME; in drmOpenMinor() 451 dev_name = DRM_CONTROL_DEV_NAME; in drmOpenMinor() 454 dev_name = DRM_RENDER_DEV_NAME; in drmOpenMinor() 460 sprintf(buf, dev_name, DRM_DIR_NAME, minor); in drmOpenMinor() [all …]
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_build.c | 234 nlen = p2p->cfg->dev_name ? os_strlen(p2p->cfg->dev_name) : 0; in p2p_buf_add_device_info() 237 wpabuf_put_data(buf, p2p->cfg->dev_name, nlen); in p2p_buf_add_device_info() 794 if (p2p_add_wps_string(buf, ATTR_DEV_NAME, p2p->cfg->dev_name) in p2p_build_wps_ie()
|
D | p2p_parse.c | 464 if (attr.dev_name && attr.dev_name_len < sizeof(msg->device_name) && in p2p_parse_wps_ie() 466 os_memcpy(msg->device_name, attr.dev_name, attr.dev_name_len); in p2p_parse_wps_ie() 692 cli->dev_name = (const char *) g; in p2p_group_info_parse() 754 os_memcpy(name, cli->dev_name, cli->dev_name_len); in p2p_group_info_text()
|
D | p2p.h | 524 char *dev_name; member 857 const char *dev_name, u16 supp_config_methods, 1173 int p2p_set_dev_name(struct p2p_data *p2p, const char *dev_name);
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | super.c | 343 const char *dev_name, void *data, in squashfs_get_sb() argument 346 return get_sb_bdev(fs_type, flags, dev_name, data, squashfs_fill_super, in squashfs_get_sb()
|
/external/autotest/client/deps/fakegudev/src/ |
D | fakegudev.c | 464 const gchar *dev_name = in g_udev_client_query_by_subsystem_and_name() local 467 if (dev_subsystem && dev_name && in g_udev_client_query_by_subsystem_and_name() 469 (strcmp (name, dev_name) == 0)) { in g_udev_client_query_by_subsystem_and_name()
|
/external/e2fsprogs/misc/ |
D | e4defrag.c | 1728 char dev_name[PATH_MAX + 1]; in main() local 1770 memset(dev_name, 0, PATH_MAX + 1); in main() 1801 strncpy(dev_name, argv[i], strnlen(argv[i], PATH_MAX)); in main() 1838 if (is_ext4(argv[i], dev_name) < 0) in main() 1849 ret = ext2fs_open(dev_name, 0, 0, block_size, in main()
|