Searched refs:dev_name (Results 1 - 25 of 77) sorted by relevance

1234

/external/autotest/client/site_tests/camera_V4L2/src/
H A Dmedia_v4l2_unittest.cc25 void TestMultipleOpen(const char* dev_name, V4L2Device::IOMethod io) { argument
26 V4L2Device v4l2_dev1(dev_name, io, 4);
27 V4L2Device v4l2_dev2(dev_name, io, 4);
29 printf("[Error] Can not open device '%s' for the first time\n", dev_name);
32 printf("[Error] Can not open device '%s' for the second time\n", dev_name);
40 void TestMultipleInit(const char* dev_name, V4L2Device::IOMethod io) { argument
41 V4L2Device v4l2_dev1(dev_name, io, 4);
42 V4L2Device v4l2_dev2(dev_name, io, 4);
44 printf("[Error] Can not open device '%s' for the first time\n", dev_name);
47 printf("[Error] Can not open device '%s' for the second time\n", dev_name);
67 TestEnumInputAndStandard(const char* dev_name, V4L2Device::IOMethod io) argument
78 TestEnumControl(const char* dev_name, V4L2Device::IOMethod io) argument
88 TestSetControl(const char* dev_name, V4L2Device::IOMethod io) argument
104 TestSetCrop(const char* dev_name, V4L2Device::IOMethod io) argument
122 TestGetCrop(const char* dev_name, V4L2Device::IOMethod io) argument
135 TestProbeCaps(const char* dev_name, V4L2Device::IOMethod io) argument
148 TestEnumFormats(const char* dev_name, V4L2Device::IOMethod io) argument
158 TestEnumFrameSize(const char* dev_name, V4L2Device::IOMethod io) argument
179 TestFrameRate(const char* dev_name, V4L2Device::IOMethod io) argument
252 std::string dev_name = "/dev/video", io_name; local
[all...]
H A Dmedia_v4l2_test.cc48 std::string dev_name = "/dev/video"; local
68 dev_name = strdup(optarg);
125 V4L2Device* device = new V4L2Device(dev_name.c_str(), io, buffers);
H A Dmedia_v4l2_device.h33 V4L2Device(const char* dev_name,
/external/autotest/client/cros/faft/utils/
H A Dcgpt_handler.py50 def read_device_info(self, dev_name):
54 dev_name: a string the Linux storage device name, (i.e. '/dev/sda')
58 'cgpt show %s' % dev_name)
84 self.devices[dev_name] = device_data
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/
H A Dblockdevicemapping.py135 for dev_name in self:
137 params['%s.DeviceName' % pre] = dev_name
138 block_dev = self[dev_name]
/external/autotest/client/site_tests/usbpd_GFU/
H A Dusbpd_GFU.py221 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/
H A Droute.c310 static void get_next_params_inet6(char **argv, struct sockaddr_in6 *sock_in6, struct in6_rtmsg *rt, char **dev_name) argument
329 if (!*dev_name) *dev_name = *argv;
340 char *targetip, *dev_name = 0; local
359 get_next_params_inet6(argv, &sock_in6, &rt, (char **)&dev_name);
362 if (dev_name) {
365 xstrncpy(ifre->ifr_name, dev_name, IFNAMSIZ);
H A Dfsck.c58 char *prog_name, *dev_name; member in struct:child_list
235 child->dev_name = xstrdup(finfo->device);
286 temp->prog_name, temp->dev_name, status);
292 free(temp->dev_name);
/external/autotest/client/site_tests/graphics_Gbm/src/
H A Dgbmtest.c131 char* dev_name; local
135 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i);
139 fd = open(dev_name, O_RDWR, 0);
140 free(dev_name);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_attr_parse.h65 const u8 *dev_name; member in struct:wps_parse_attr
H A Dwps_er.h27 char *dev_name; member in struct:wps_er_sta
H A Dwps_validate.c385 static int wps_validate_dev_name(const u8 *dev_name, size_t len, argument
388 if (dev_name == NULL) {
396 if (len > 0 && dev_name[len - 1] == 0) {
398 "attribute value", dev_name, len);
1159 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, probe) ||
1214 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, wps2) ||
1320 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
1375 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
1429 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
H A Dwps.c619 if (attr.dev_name) {
625 if (attr.dev_name[i] == 0 ||
626 is_ctrl_char(attr.dev_name[i]))
629 str[i] = attr.dev_name[i];
/external/wpa_supplicant_8/src/wps/
H A Dwps_attr_parse.h65 const u8 *dev_name; member in struct:wps_parse_attr
H A Dwps_er.h27 char *dev_name; member in struct:wps_er_sta
H A Dwps_validate.c385 static int wps_validate_dev_name(const u8 *dev_name, size_t len, argument
388 if (dev_name == NULL) {
396 if (len > 0 && dev_name[len - 1] == 0) {
398 "attribute value", dev_name, len);
1159 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, probe) ||
1214 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, wps2) ||
1320 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
1375 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
1429 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
H A Dwps.c619 if (attr.dev_name) {
625 if (attr.dev_name[i] == 0 ||
626 is_ctrl_char(attr.dev_name[i]))
629 str[i] = attr.dev_name[i];
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_attr_parse.h65 const u8 *dev_name; member in struct:wps_parse_attr
H A Dwps_er.h27 char *dev_name; member in struct:wps_er_sta
H A Dwps_validate.c385 static int wps_validate_dev_name(const u8 *dev_name, size_t len, argument
388 if (dev_name == NULL) {
396 if (len > 0 && dev_name[len - 1] == 0) {
398 "attribute value", dev_name, len);
1159 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, probe) ||
1214 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, wps2) ||
1320 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
1375 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
1429 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) ||
H A Dwps.c619 if (attr.dev_name) {
625 if (attr.dev_name[i] == 0 ||
626 is_ctrl_char(attr.dev_name[i]))
629 str[i] = attr.dev_name[i];
/external/libpcap/
H A Dpcap-dos.c110 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) argument
629 if (strcmp (dev_name,dev->name))
638 sprintf (ebuf, "failed to detect device `%s'", dev_name);
660 sprintf (ebuf, "failed to activate device `%s'", dev_name);
678 /* 'dev_name' not matched in 'dev_base' list.
682 sprintf (ebuf, "device `%s' not supported", dev_name);
689 sprintf (ebuf, "device `%s' not probed", dev_name);
924 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf) argument
949 if (dev_name
[all...]
H A Dpcap-bt-linux.c117 char dev_name[20], dev_descr[30]; local
119 snprintf(dev_name, 20, BT_IFACE"%d", dev_req->dev_id);
122 if (pcap_add_if(alldevsp, dev_name, 0,
H A Dpcap-canusb-linux.c123 char dev_name[30]; local
128 snprintf(dev_name, 30, CANUSB_IFACE"%s", sernum);
133 if (pcap_add_if(alldevsp, dev_name, 0, dev_descr, err_str) < 0)
/external/squashfs-tools/kernel/fs/squashfs/
H A Dsuper.c343 const char *dev_name, void *data,
346 return get_sb_bdev(fs_type, flags, dev_name, data, squashfs_fill_super,
342 squashfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) argument

Completed in 4832 milliseconds

1234