/external/toybox/toys/other/ |
lsusb.c | 22 int busnum = 0, devnum = 0, pid = 0, vid = 0; local 35 || sscanf(toybuf, "PRODUCT=%x/%x/", &pid, &vid)) count++; 38 printf("Bus %03d Device %03d: ID %04x:%04x\n", busnum, devnum, pid, vid);
|
/external/webrtc/talk/media/devices/ |
win32deviceinfo.cc | 33 // Both PID and VID are 4 characters. 35 const char vid[] = "vid_"; // Also contains '\0'. local 36 const size_t vid_location = device.id.find(vid); 38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { 47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1,
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_vs_exec.c | 131 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID]; local 132 assert(vid < ARRAY_SIZE(machine->SystemValue)); 133 machine->SystemValue[vid].xyzw[0].i[j] = i + j; 137 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_BASEVERTEX]; local 138 assert(vid < ARRAY_SIZE(machine->SystemValue)); 139 machine->SystemValue[vid].xyzw[0].i[j] = 0; 143 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID_NOBASE]; local 144 assert(vid < ARRAY_SIZE(machine->SystemValue)); 145 machine->SystemValue[vid].xyzw[0].i[j] = i + j;
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
AoapInterface.java | 124 final int vid = device.getVendorId(); local 126 return vid == USB_ACCESSORY_VENDOR_ID
|
/external/iproute2/bridge/ |
vlan.c | 20 fprintf(stderr, "Usage: bridge vlan { add | del } vid VLAN_ID dev DEV [ pvid] [ untagged ]\n"); 34 short vid = -1; local 52 } else if (strcmp(*argv, "vid") == 0) { 59 vid = atoi(*argv); 63 vid = atoi(*argv); 81 if (d == NULL || vid == -1) { 92 if (vid >= 4096) { 93 fprintf(stderr, "Invalid VLAN ID \"%hu\"\n", vid); 98 if (vid_end == -1 || vid_end >= 4096 || vid >= vid_end) { 100 vid, vid_end) [all...] |
fdb.c | 36 " [ local | temp ] [ dst IPADDR ] [ vlan VID ]\n" 121 __u16 vid = rta_getattr_u16(tb[NDA_VLAN]); local 122 fprintf(fp, "vlan %hu ", vid); 251 short vid = -1; local 307 if (vid >= 0) 310 vid = atoi(*argv); 350 if (vid >= 0) 351 addattr16(&req.n, sizeof(req), NDA_VLAN, vid);
|
mdb.c | 31 fprintf(stderr, "Usage: bridge mdb { add | del } dev DEV port PORT grp GROUP [permanent | temp] [vid VID]\n"); 67 if (e->vid) 68 fprintf(f, " vid %hu", e->vid); 188 short vid = 0; local 213 } else if (strcmp(*argv, "vid") == 0) { 215 vid = atoi(*argv); 249 entry.vid = vid; [all...] |
/external/ipsec-tools/src/racoon/ |
vendorid.c | 149 vchar_t vid; local 157 "unable to get memory for VID hash\n"); 165 vid.v = (char *) all_vendor_ids[i].string; 166 vid.l = strlen(vid.v); 168 all_vendor_ids[i].hash = eay_md5_one(&vid); 188 vchar_t vid, *new; local 206 * of the VID that could be free'd after use. 220 vchar_t vid, *vidhash; local
|
isakmp_base.c | 156 /* Do we need Xauth VID? */ 241 /* set VID payload for NAT-T */ 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); 806 * NOTE: XXX even if multiple VID, we'll silently ignore those. 966 plog (LLV_INFO, LOCATION, NULL, "Adding xauth VID payload.\n") 1230 vchar_t *vid = NULL; local [all...] |
isakmp_ident.c | 152 /* set VID payload for NAT-T if NAT-T support allowed in the config file */ 157 /* Do we need Xauth VID? */ 275 * NOTE: we do not really care about ordering of VID and N. 277 * NOTE: even if there's multiple VID/N, we'll ignore them. 875 * NOTE: XXX even if multiple VID, we'll silently ignore those. 1008 plog (LLV_INFO, LOCATION, NULL, "Adding xauth VID payload.\n"); 1037 /* XXX only send DPD VID if remote sent it ? */ 1651 vchar_t *vid = NULL; local [all...] |
/external/libusb/examples/ |
ezusb.h | 63 * Automatically identified devices (VID, PID, type, designation). 67 uint16_t vid; member in struct:__anon24399
|
fxload.c | 68 fprintf(stderr, "\nUsage: fxload [-v] [-V] [-t type] [-d vid:pid] [-p bus,addr] [-s loader] -i firmware\n"); 72 fprintf(stderr, " -d <vid:pid> -- Target device, as an USB VID:PID\n"); 94 unsigned vid = 0, pid = 0; local 105 if (sscanf(device_id, "%x:%x" , &vid, &pid) != 2 ) { 106 fputs ("please specify VID & PID as \"vid:pid\" in hexadecimal format\n", stderr); 204 if ((desc.idVendor == known_device[j].vid) 208 // vid:pid was specified and we have a match 209 ((type == NULL) && (device_id != NULL) && (vid == desc.idVendor) && (pid == desc.idProduct)) | [all...] |
/external/syslinux/com32/modules/ |
ethersel.c | 64 unsigned long vid, did, m1, m2; local 69 vid = strtoul(p, &p, 16); 74 *idptr = (did << 16) + vid;
|
/frameworks/native/opengl/tests/swapinterval/ |
swapinterval.cpp | 64 EGLint r,g,b,a, vid; local 69 eglGetConfigAttrib(dpy, config, EGL_NATIVE_VISUAL_ID, &vid); 75 EGLUtils::strerror(err), config, r,g,b,a, vid); 80 config, r,g,b,a, vid);
|
/toolchain/binutils/binutils-2.25/binutils/ |
mcparse.y | 61 %type<ival> id vid sefasy_def 183 cur_node->vid = ($1 & 0xffffUL) | mc_sefa_val; 189 id: MCMESSAGEID '=' vid { $$ = $3; } 194 vid: /* empty */ label 269 h = mc_add_node_lang (cur_node, $1, cur_node->vid);
|
windmc.h | 55 rc_uint_type vid; member in struct:mc_node_lang 68 rc_uint_type vid; member in struct:mc_node
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
AoapInterface.java | 129 final int vid = device.getVendorId(); local 131 return vid == USB_ACCESSORY_VENDOR_ID
|
/external/mesa3d/src/gallium/targets/d3dadapter9/ |
drm.c | 121 int vid, did; local 123 if (loader_get_pci_id_for_fd(fd, &vid, &did)) { 125 vid, did); 126 *vendorid = vid;
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
AoapInterface.java | 129 final int vid = device.getVendorId(); local 131 return vid == USB_ACCESSORY_VENDOR_ID
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
AoapInterface.java | 141 final int vid = device.getVendorId(); local 143 return vid == USB_ACCESSORY_VENDOR_ID
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
AoapInterface.java | 140 final int vid = device.getVendorId(); local 142 return vid == USB_ACCESSORY_VENDOR_ID
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_ThumbnailsTest.java | 112 long vid = c.getLong(2); local 113 assertEquals(videoId, vid);
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
camera_characteristics.cc | 96 std::string vid, pid; local 135 vid.clear(); 145 vid = tmp_vid; 149 tmp_device_infos[camera_id].usb_vid = vid; 156 } else if (!vid.empty() && !pid.empty()) { 159 if (tmp_device_infos[camera_id].usb_vid != vid || 162 << "vid: " << vid << " pid: " << pid;
|
/system/tpm/trunks/ftdi/ |
mpsse.c | 62 for (i = 0; supported_devices[i].vid != 0; i++) { 63 mpsse = Open(supported_devices[i].vid, supported_devices[i].pid, mode, freq, 75 * Open device by VID/PID 77 * @vid - Device vendor ID. 88 struct mpsse_context* Open(int vid, 96 return OpenIndex(vid, pid, mode, freq, endianess, interface, description, 101 * Open device by VID/PID/index 103 * @vid - Device vendor ID. 117 struct mpsse_context* OpenIndex(int vid, 148 if (!ftdi_usb_open_desc_index(&mpsse->ftdi, vid, pid, description, serial 483 int vid = 0; local [all...] |
/system/tpm/trunks/ |
trunks_ftdi_spi.cc | 178 uint16_t vid = did_vid & 0xffff; local 179 if ((vid != 0x15d1) && (vid != 0x1ae0)) { 207 printf("Connected to device vid:did:rid of %4.4x:%4.4x:%2.2x\n",
|