/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/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
video_file_frame_generator_unittest.py | 28 vid = os.path.join(util.GetUnittestDataDir(), 'screen_3_frames.mov') 29 fg = self.VideoFileFrameGenerator(vid) 59 vid = os.path.join(util.GetUnittestDataDir(), 'screen_3_frames.mov') 60 fg = self.VideoFileFrameGenerator(vid, 2) 73 vid = os.path.join(util.GetUnittestDataDir(), 'screen_3_frames.mov') 75 self.VideoFileFrameGenerator(vid, 4)
|
video_unittest.py | 29 vid = os.path.join(util.GetUnittestDataDir(), 'vid.mp4') 41 video_obj = video.Video(vid) 45 for i, timestamp_bitmap in enumerate(video_obj._FramesFromMp4(vid)):
|
/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...] |
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/wpa_supplicant_8/src/ap/ |
vlan_util.h | 16 int vlan_add(const char *if_name, int vid, const char *vlan_if_name);
|
vlan_ioctl.c | 55 Add a vlan interface with VLAN ID 'vid' and tagged interface 62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) 67 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d)", 68 if_name, vid); 88 vid); 93 if_request.u.VID == vid) { 111 if_request.u.VID = vid;
|
vlan_util.c | 17 * Add a vlan interface with name 'vlan_if_name', VLAN ID 'vid' and 24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) 31 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, " 32 "vlan_if_name=%s)", if_name, vid, vlan_if_name); 97 err = rtnl_link_vlan_set_id(rlink, vid); 108 vlan_if_name, vid, if_name, if_idx,
|
vlan_full.c | 361 const char *br_name, int vid, 369 tagged_interface, vid); 371 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", vid); 375 if (!vlan_add(tagged_interface, vid, vlan_ifname)) 387 static void vlan_bridge_name(char *br_name, struct hostapd_data *hapd, int vid) 393 hapd->conf->vlan_bridge, vid); 396 tagged_interface, vid); 398 os_snprintf(br_name, IFNAMSIZ, "brvlan%d", vid); 404 int vid) 415 vid, hapd) [all...] |
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/ |
kernel_ExternalUsbPeripheralsDetectionTest.py | 135 for vid in vendor_id_dict_control_file.keys(): 136 if vid not in vendor_ids.keys(): 138 % (vendor_id_dict_control_file[vid], 143 self.host.run('ls -1 %s' % vendor_ids[vid], 148 % vendor_id_dict_control_file[vid]) 150 vendor_id_dict_control_file[vid]) 153 driver_path = os.path.join(vendor_ids[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/ |
windmc.h | 55 rc_uint_type vid; member in struct:mc_node_lang 68 rc_uint_type vid; member in struct:mc_node
|
windmc.c | 301 mc_add_node_lang (mc_node *root, const mc_keyword *lang, rc_uint_type vid) 310 ret->vid = vid; 322 if (h->vid > vid) 324 if (h->vid == vid) 325 fatal ("double defined message id %ld.\n", (long) vid); 370 write_header_define (FILE *fp, const unichar *sym_name, rc_uint_type vid, const unichar *typecast, mc_node_lang *nl) 380 fprintf (fp, "//\n// MessageId: 0x%lu\n//\n", (unsigned long) vid); [all...] |
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);
|
/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
|
nattraversal.c | 82 * check if the given vid is NAT-T. 85 natt_vendorid (int vid) 89 vid == VENDORID_NATT_00 || 92 vid == VENDORID_NATT_01 || 95 vid == VENDORID_NATT_02 || 96 vid == VENDORID_NATT_02_N || 99 vid == VENDORID_NATT_03 || 102 vid == VENDORID_NATT_04 || 105 vid == VENDORID_NATT_05 || 108 vid == VENDORID_NATT_06 | [all...] |
/external/autotest/client/site_tests/power_ARMSettings/ |
power_ARMSettings.py | 84 dev.vid, dev.pid, dev.whitelisted, autosuspend) 87 "has autosuspend disabled", dev.vid, dev.pid) 93 "Should it be whitelisted?", dev.vid, dev.pid)
|
/frameworks/base/cmds/hid/jni/ |
com_android_commands_hid_Device.h | 40 static Device* open(int32_t id, const char* name, int32_t vid, int32_t pid,
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
Device.java | 55 private static native long nativeOpenDevice(String name, int id, int vid, int pid, 60 public Device(int id, String name, int vid, int pid, byte[] descriptor, byte[] report) { 67 args.argi2 = vid; 72 args.arg1 = id + ":" + vid + ":" + pid;
|
/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;
|
/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...] |
/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
|
/external/autotest/client/cros/ |
power_utils.py | 631 vid: string of USB Vendor ID 641 def __init__(self, vid, pid, whitelisted, path): 642 self.vid = vid 685 _whitelisted: list of USB device vid:pid that are whitelisted. 709 def _is_whitelisted(self, vid, pid): 710 """Check to see if USB device vid:pid is whitelisted. 713 vid: string of USB vendor ID 717 True if vid:pid in whitelist file else False 722 match_str = "%s:%s" % (vid, pid [all...] |
/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
|