/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 | 128 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID]; local 129 assert(vid < Elements(machine->SystemValue)); 130 machine->SystemValue[vid].i[j] = i + j;
|
/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...] |
/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
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
app-linux.c | 144 EGLint vid; local 147 EGL_NATIVE_VISUAL_ID, &vid); 148 tmp.visualid = vid;
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_ThumbnailsTest.java | 111 long vid = c.getLong(2); local 112 assertEquals(videoId, vid);
|
/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, 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 | 175 uint16_t vid = did_vid & 0xffff; local 176 if ((vid != 0x15d1) && (vid != 0x1ae0)) { 204 printf("Connected to device vid:did:rid of %4.4x:%4.4x:%2.2x\n",
|
/toolchain/binutils/binutils-2.25/include/coff/ |
apollo.h | 57 char vid[8]; /* Apollo specific - 64 bit version ID */ member in struct:__anon75386
|
/system/core/adb/ |
usb_linux.cpp | 143 unsigned vid, pid; local 175 vid = device->idVendor; 177 DBGX("[ %s is V:%04x P:%04x ]\n", dev_name.c_str(), vid, pid); 208 is_adb_interface(vid, pid, interface->bInterfaceClass,
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
SinkActivity.java | 465 final int vid = device.getVendorId(); local 467 return vid == UsbAccessoryConstants.USB_ACCESSORY_VENDOR_ID
|
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 510 ArrayList<Integer> vid = new ArrayList<Integer>(); local 523 vid.add(n1); 544 assertEquals(vid.size(), idx); 547 assertEquals(vid.get(idx++).intValue(), n1); 585 assertEquals(vid.size(), idx); 588 assertEquals(vid.get(idx++).intValue(), n1); 617 assertEquals(vid.size(), vididx); 625 assertEquals(vid.get(vididx++).intValue(), n1); 650 assertEquals(vid.size(), vididx); 656 assertEquals(vid.get(vididx++).intValue(), n1) [all...] |
/bionic/libc/kernel/uapi/linux/ |
if_bridge.h | 144 __u16 vid; member in struct:bridge_vlan_info 189 __u16 vid; member in struct:br_mdb_entry
|
/development/ndk/platforms/android-21/include/linux/ |
if_bridge.h | 137 __u16 vid; member in struct:bridge_vlan_info
|
/external/iproute2/include/linux/ |
if_bridge.h | 134 __u16 vid; member in struct:bridge_vlan_info 186 __u16 vid; member in struct:br_mdb_entry
|
/external/jetty/src/java/org/eclipse/jetty/xml/ |
XmlConfiguration.java | 935 String vid = value.getAttribute("id"); local [all...] |
/external/kernel-headers/original/uapi/linux/ |
if_bridge.h | 134 __u16 vid; member in struct:bridge_vlan_info 186 __u16 vid; member in struct:br_mdb_entry
|