Home
last modified time | relevance | path

Searched refs:vid (Results 1 – 25 of 65) sorted by relevance

123

/external/tcpdump/tests/
Disakmp5-v.out6 (vid: len=16)
7 (vid: len=16)
8 (vid: len=16)
14 (vid: len=16)
19 (vid: len=16)
20 (vid: len=16)
21 (vid: len=16)
22 (vid: len=8)
29 (vid: len=16)
30 (vid: len=16)
[all …]
/external/iproute2/bridge/
Dvlan.c34 short vid = -1; in vlan_modify() local
59 vid = atoi(*argv); in vlan_modify()
63 vid = atoi(*argv); in vlan_modify()
81 if (d == NULL || vid == -1) { in vlan_modify()
92 if (vid >= 4096) { in vlan_modify()
93 fprintf(stderr, "Invalid VLAN ID \"%hu\"\n", vid); in vlan_modify()
98 if (vid_end == -1 || vid_end >= 4096 || vid >= vid_end) { in vlan_modify()
100 vid, vid_end); in vlan_modify()
115 vinfo.vid = vid; in vlan_modify()
124 vinfo.vid = vid_end; in vlan_modify()
[all …]
Dmdb.c67 if (e->vid) in print_mdb_entry()
68 fprintf(f, " vid %hu", e->vid); in print_mdb_entry()
188 short vid = 0; in mdb_modify() local
215 vid = atoi(*argv); in mdb_modify()
249 entry.vid = vid; in mdb_modify()
Dfdb.c121 __u16 vid = rta_getattr_u16(tb[NDA_VLAN]); in print_fdb() local
122 fprintf(fp, "vlan %hu ", vid); in print_fdb()
251 short vid = -1; in fdb_modify() local
307 if (vid >= 0) in fdb_modify()
310 vid = atoi(*argv); in fdb_modify()
350 if (vid >= 0) in fdb_modify()
351 addattr16(&req.n, sizeof(req), NDA_VLAN, vid); in fdb_modify()
/external/autotest/client/common_lib/cros/
Dpower_cycle_usb_util.py75 def power_cycle_usb_vidpid(dut, board, vid, pid): argument
93 bus_idx, port_idx = get_port_number_from_vidpid(dut, vid, pid)
95 raise KeyError('Couldn\'t find target device, {}:{}.'.format(vid, pid))
106 def get_port_number_from_vidpid(dut, vid, pid): argument
121 cmd = 'lsusb -d {}:{}'.format(vid, pid)
124 target_bus_idx, target_dev_idx = get_bus_dev_id(lsusb_output, vid, pid)
133 def get_bus_dev_id(lsusb_output, vid, pid): argument
152 logging.info('find more than one device with VID:PID: %s:%s', vid, pid)
160 vid, pid, target_bus_idx, target_device_idx)
/external/ipsec-tools/src/racoon/
Dvendorid.c149 vchar_t vid; in compute_vendorids() local
165 vid.v = (char *) all_vendor_ids[i].string; in compute_vendorids()
166 vid.l = strlen(vid.v); in compute_vendorids()
168 all_vendor_ids[i].hash = eay_md5_one(&vid); in compute_vendorids()
188 vchar_t vid, *new; in set_vendorid() local
220 vchar_t vid, *vidhash; in check_vendorid() local
Dnattraversal.c85 natt_vendorid (int vid) in natt_vendorid() argument
89 vid == VENDORID_NATT_00 || in natt_vendorid()
92 vid == VENDORID_NATT_01 || in natt_vendorid()
95 vid == VENDORID_NATT_02 || in natt_vendorid()
96 vid == VENDORID_NATT_02_N || in natt_vendorid()
99 vid == VENDORID_NATT_03 || in natt_vendorid()
102 vid == VENDORID_NATT_04 || in natt_vendorid()
105 vid == VENDORID_NATT_05 || in natt_vendorid()
108 vid == VENDORID_NATT_06 || in natt_vendorid()
111 vid == VENDORID_NATT_07 || in natt_vendorid()
[all …]
Disakmp_base.c417 vchar_t *vid = NULL; local
467 vid = set_vendorid(iph1->approval->vendorid);
476 if (vid)
477 plist = isakmp_plist_append(plist, vid, ISAKMP_NPTYPE_VID);
571 if (vid)
572 vfree(vid);
1230 vchar_t *vid = NULL; local
1283 vid = set_vendorid(iph1->approval->vendorid);
1294 if (vid)
1296 vid, ISAKMP_NPTYPE_VID);
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_exec.c131 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID]; in vs_exec_run_linear() local
132 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
133 machine->SystemValue[vid].xyzw[0].i[j] = i + j; in vs_exec_run_linear()
137 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_BASEVERTEX]; in vs_exec_run_linear() local
138 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
139 machine->SystemValue[vid].xyzw[0].i[j] = 0; in vs_exec_run_linear()
143 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID_NOBASE]; in vs_exec_run_linear() local
144 assert(vid < ARRAY_SIZE(machine->SystemValue)); in vs_exec_run_linear()
145 machine->SystemValue[vid].xyzw[0].i[j] = i + j; in vs_exec_run_linear()
/external/webrtc/talk/media/devices/
Dwin32deviceinfo.cc35 const char vid[] = "vid_"; // Also contains '\0'. in GetUsbId() local
36 const size_t vid_location = device.id.find(vid); in GetUsbId()
38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { in GetUsbId()
47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1, in GetUsbId()
/external/wpa_supplicant_8/src/ap/
Dvlan_ioctl.c62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument
68 if_name, vid); in vlan_add()
88 vid); in vlan_add()
93 if_request.u.VID == vid) { in vlan_add()
111 if_request.u.VID = vid; in vlan_add()
Dvlan_full.c361 const char *br_name, int vid, in vlan_newlink_tagged() argument
369 tagged_interface, vid); in vlan_newlink_tagged()
371 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", vid); in vlan_newlink_tagged()
375 if (!vlan_add(tagged_interface, vid, vlan_ifname)) in vlan_newlink_tagged()
387 static void vlan_bridge_name(char *br_name, struct hostapd_data *hapd, int vid) in vlan_bridge_name() argument
393 hapd->conf->vlan_bridge, vid); in vlan_bridge_name()
396 tagged_interface, vid); in vlan_bridge_name()
398 os_snprintf(br_name, IFNAMSIZ, "brvlan%d", vid); in vlan_bridge_name()
404 int vid) in vlan_get_bridge() argument
415 vid, hapd); in vlan_get_bridge()
[all …]
Dvlan_util.c24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) in vlan_add() argument
32 "vlan_if_name=%s)", if_name, vid, vlan_if_name); in vlan_add()
97 err = rtnl_link_vlan_set_id(rlink, vid); in vlan_add()
108 vlan_if_name, vid, if_name, if_idx, in vlan_add()
/external/libusb/examples/
Dfxload.c94 unsigned vid = 0, pid = 0; in main() local
105 if (sscanf(device_id, "%x:%x" , &vid, &pid) != 2 ) { in main()
204 if ((desc.idVendor == known_device[j].vid) in main()
209 … ((type == NULL) && (device_id != NULL) && (vid == desc.idVendor) && (pid == desc.idProduct)) || in main()
215 vid = desc.idVendor; in main()
226 known_device[j].designation, vid, pid, busnum, devaddr); in main()
245 device = libusb_open_device_with_vid_pid(NULL, (uint16_t)vid, (uint16_t)pid); in main()
/external/toybox/toys/other/
Dlsusb.c22 int busnum = 0, devnum = 0, pid = 0, vid = 0; in list_device() local
35 || sscanf(toybuf, "PRODUCT=%x/%x/", &pid, &vid)) count++; in list_device()
38 printf("Bus %03d Device %03d: ID %04x:%04x\n", busnum, devnum, pid, vid); in list_device()
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/
Dkernel_ExternalUsbPeripheralsDetectionTest.py135 for vid in vendor_id_dict_control_file.keys():
136 peripheral = vendor_id_dict_control_file[vid]
137 if vid not in vendor_ids.keys():
143 self.host.run('ls -1 %s' % vendor_ids[vid],
152 driver_path = os.path.join(vendor_ids[vid],
/external/autotest/client/site_tests/camera_V4L2/src/
Dcamera_characteristics.cc96 std::string vid, pid; in GetCharacteristicsFromFile() local
135 vid.clear(); in GetCharacteristicsFromFile()
145 vid = tmp_vid; in GetCharacteristicsFromFile()
149 tmp_device_infos[camera_id].usb_vid = vid; in GetCharacteristicsFromFile()
156 } else if (!vid.empty() && !pid.empty()) { in GetCharacteristicsFromFile()
159 if (tmp_device_infos[camera_id].usb_vid != vid || in GetCharacteristicsFromFile()
162 << "vid: " << vid << " pid: " << pid; in GetCharacteristicsFromFile()
/external/autotest/client/cros/
Dpower_utils.py661 def __init__(self, vid, pid, whitelisted, path): argument
662 self.vid = vid
729 def _is_whitelisted(self, vid, pid): argument
742 match_str = "%s:%s" % (vid, pid)
763 vid = utils.read_one_line(vid_path)
765 whitelisted = self._is_whitelisted(vid, pid)
766 self.devices.append(USBDevicePower(vid, pid, whitelisted, dirpath))
/external/autotest/server/site_tests/enterprise_CFM_SiSFwUpdater/
Denterprise_CFM_SiSFwUpdater.py51 self.vid = self._SIS_VID
91 self.host, self.board, self.vid, self.pid)
94 'vid:pid {}:{}'.format(self.vid, self.pid))
/external/syslinux/com32/modules/
Dethersel.c64 unsigned long vid, did, m1, m2; in get_did() local
69 vid = strtoul(p, &p, 16); in get_did()
74 *idptr = (did << 16) + vid; in get_did()
/external/valgrind/memcheck/
Dmc_leakcheck.c1332 XT_BIBK vid[3]; // indexed by XT_VID member
1351 xto->xt_lr[r].vid[d].szB += xtl->xt_lr[r].vid[d].szB; in MC_()
1352 xto->xt_lr[r].vid[d].indirect_szB += xtl->xt_lr[r].vid[d].indirect_szB; in MC_()
1353 xto->xt_lr[r].vid[d].num_blocks += xtl->xt_lr[r].vid[d].num_blocks; in MC_()
1363 xtl.xt_lr[i].vid[XT_Value].szB = lr->szB; in XT_insert_lr()
1364 xtl.xt_lr[i].vid[XT_Value].indirect_szB = lr->indirect_szB; in XT_insert_lr()
1365 xtl.xt_lr[i].vid[XT_Value].num_blocks = lr->num_blocks; in XT_insert_lr()
1368 xtl.xt_lr[i].vid[XT_Increase].szB = lr->szB - lr->old_szB; in XT_insert_lr()
1370 xtl.xt_lr[i].vid[XT_Decrease].szB = lr->old_szB - lr->szB; in XT_insert_lr()
1372 xtl.xt_lr[i].vid[XT_Increase].indirect_szB in XT_insert_lr()
[all …]
/external/clang/test/SemaObjC/
Dmethod-def-1.m14 - (vid)myMethod2; // expected-error {{expected a type}}
19 - (vid)myMethod2 { } // expected-error {{expected a type}}
/external/kernel-headers/original/uapi/linux/
Dif_bridge.h134 __u16 vid; member
142 __u16 vid; member
229 __u16 vid; member
/external/syslinux/core/legacynet/
Didle.c59 #define PCI_DEV(vid, did) (((vid) << 16) + (did)) argument
/external/mesa3d/src/gallium/targets/d3dadapter9/
Ddrm.c121 int vid, did; in get_bus_info() local
123 if (loader_get_pci_id_for_fd(fd, &vid, &did)) { in get_bus_info()
125 vid, did); in get_bus_info()
126 *vendorid = vid; in get_bus_info()

123