/external/autotest/client/common_lib/cros/cfm/usb/ |
D | cfm_usb_devices.py | 22 vid='2bd9', 29 vid='046d', 36 vid='046d', 43 vid='046d', 50 vid='046d', 58 vid='18d1', 65 vid='0b0e', 73 vid='17e9', 85 vid='17e9', 95 vid='266e',
|
D | usb_device_unittest.py | 13 vid='vid', 44 vid='vid1', 59 vid='vid',
|
/external/autotest/client/common_lib/cros/ |
D | power_cycle_usb_util.py | 75 def power_cycle_usb_vidpid(dut, board, vid, pid): argument 92 bus_idx, port_idx = get_port_number_from_vidpid(dut, vid, pid) 94 raise KeyError('Couldn\'t find target device, {}:{}.'.format(vid, pid)) 105 def get_port_number_from_vidpid(dut, vid, pid): argument 120 cmd = 'lsusb -d {}:{}'.format(vid, pid) 123 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) 205 def get_all_port_number_from_vidpid(dut, vid, pid): argument [all …]
|
/external/tcpdump/tests/ |
D | isakmp5-v.out | 6 (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/autotest/client/common_lib/cros/manual/ |
D | get_usb_devices.py | 108 vid = _vid_pid.split(':')[0] 111 if vid == _data['Vendor'] and pid == _data['ProdID']: 190 vid = vid_pid[0:4] 193 if vid == _data['Vendor'] and pid == _data['ProdID']: 210 vid = _speaker.split(':')[0] 214 if _data['Vendor'] == vid and _data['ProdID'] == pid: 241 vid = _camera.split(':')[0] 245 if _data['Vendor'] == vid and _data['ProdID'] == pid: 258 vid = _display.split(':')[0] 262 if _data['Vendor'] == vid and _data['ProdID'] == pid: [all …]
|
/external/iproute2/bridge/ |
D | vlan.c | 44 short vid = -1; in vlan_modify() local 62 vid = atoi(*argv); in vlan_modify() 66 vid = atoi(*argv); in vlan_modify() 83 if (d == NULL || vid == -1) { in vlan_modify() 94 if (vid >= 4096) { in vlan_modify() 95 fprintf(stderr, "Invalid VLAN ID \"%hu\"\n", vid); in vlan_modify() 100 if (vid_end == -1 || vid_end >= 4096 || vid >= vid_end) { in vlan_modify() 102 vid, vid_end); in vlan_modify() 117 vinfo.vid = vid; in vlan_modify() 126 vinfo.vid = vid_end; in vlan_modify() [all …]
|
D | fdb.c | 100 __u16 vid = 0; in print_fdb() local 129 vid = rta_getattr_u16(tb[NDA_VLAN]); in print_fdb() 131 if (filter_vlan && filter_vlan != vid) in print_fdb() 183 if (vid) { in print_fdb() 185 jsonw_uint_field(jw_global, "vlan", vid); in print_fdb() 187 fprintf(fp, "vlan %hu ", vid); in print_fdb() 424 short vid = -1; in fdb_modify() local 476 if (vid >= 0) in fdb_modify() 479 vid = atoi(*argv); in fdb_modify() 519 if (vid >= 0) in fdb_modify() [all …]
|
D | mdb.c | 139 if (filter_vlan && e->vid != filter_vlan) in print_mdb_entry() 175 if (e->vid) { in print_mdb_entry() 177 jsonw_uint_field(jw_global, "vid", e->vid); in print_mdb_entry() 179 fprintf(f, " vid %hu", e->vid); in print_mdb_entry() 387 short vid = 0; in mdb_modify() local 406 vid = atoi(*argv); in mdb_modify() 440 entry.vid = vid; in mdb_modify()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_vs_exec.c | 131 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/ipsec-tools/src/racoon/ |
D | vendorid.c | 149 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
|
D | nattraversal.c | 85 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 …]
|
D | isakmp_base.c | 417 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/wpa_supplicant_8/src/ap/ |
D | vlan_full.c | 361 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 …]
|
D | vlan_ioctl.c | 62 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()
|
D | vlan_util.c | 24 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/webrtc/talk/media/devices/ |
D | win32deviceinfo.cc | 35 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/libusb/examples/ |
D | fxload.c | 94 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/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/ |
D | kernel_ExternalUsbPeripheralsDetectionTest.py | 135 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/ |
D | camera_characteristics.cc | 96 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/toybox/toys/other/ |
D | lsusb.c | 22 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/client/cros/power/ |
D | power_utils.py | 739 def __init__(self, vid, pid, whitelisted, path): argument 740 self.vid = vid 805 def _is_whitelisted(self, vid, pid): argument 818 match_str = "%s:%s" % (vid, pid) 838 vid = utils.read_one_line(vid_path) 840 whitelisted = self._is_whitelisted(vid, pid) 841 self.devices.append(USBDevicePower(vid, pid, whitelisted, dirpath))
|
/external/strace/tests-m32/ |
D | nlattr_mdba_mdb_entry.c | 125 .vid = 0xcdef, in main() 142 PRINT_FIELD_U(", ", entry, vid); in main() 165 PRINT_FIELD_U(", ", entry, vid); in main()
|
/external/strace/tests-mx32/ |
D | nlattr_mdba_mdb_entry.c | 125 .vid = 0xcdef, in main() 142 PRINT_FIELD_U(", ", entry, vid); in main() 165 PRINT_FIELD_U(", ", entry, vid); in main()
|
/external/strace/tests/ |
D | nlattr_mdba_mdb_entry.c | 125 .vid = 0xcdef, in main() 142 PRINT_FIELD_U(", ", entry, vid); in main() 165 PRINT_FIELD_U(", ", entry, vid); in main()
|
/external/syslinux/com32/modules/ |
D | ethersel.c | 64 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()
|