/external/libmtp/examples/ |
D | hotplug.c | 126 …printf("ATTR{idVendor}==\"%04x\", ATTR{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->produ… in main() 131 … 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000\n", entry->vendor_id, entry->product_… in main() 135 printf(" <match key=\"usb.vendor_id\" int=\"0x%04x\">\n", entry->vendor_id); in main() 157 if (entry->vendor_id == 0x4102 || // iriver in main() 158 entry->vendor_id == 0x066f || // TrekStor in main() 159 entry->vendor_id == 0x1703) { // NormSoft, Inc. in main() 169 if (last_vendor != entry->vendor_id) { in main() 170 printf("%04x\n", entry->vendor_id); in main() 175 last_vendor = entry->vendor_id; in main() 191 …printf("ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", %s\n", entry->vendor_id, entry->pro… in main()
|
D | detect.c | 94 rawdevices[i].device_entry.vendor_id, in main() 100 rawdevices[i].device_entry.vendor_id, in main()
|
/external/mesa3d/src/gallium/targets/egl-static/ |
D | egl.c | 67 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument 97 sscanf(pci_id, "%x:%x", vendor_id, chip_id) != 2) { in drm_fd_get_pci_id() 123 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument 144 *vendor_id = 0x8086; in drm_fd_get_pci_id() 159 *vendor_id = 0x1002; in drm_fd_get_pci_id() 171 *vendor_id = 0x10de; in drm_fd_get_pci_id() 176 *vendor_id = 0x15ad; in drm_fd_get_pci_id() 189 drm_fd_get_pci_id(int fd, int *vendor_id, int *chip_id) in drm_fd_get_pci_id() argument 199 int vendor_id, chip_id; in drm_fd_get_screen_name() local 202 if (!drm_fd_get_pci_id(fd, &vendor_id, &chip_id)) { in drm_fd_get_screen_name() [all …]
|
/external/mesa3d/src/gbm/backends/dri/ |
D | driver_name.c | 45 int vendor_id, chip_id, i, j; in dri_fd_get_driver_name() local 60 sscanf(pci_id, "%x:%x", &vendor_id, &chip_id) != 2) { in dri_fd_get_driver_name() 66 if (vendor_id != driver_map[i].vendor_id) in dri_fd_get_driver_name() 71 fd, vendor_id, chip_id, driver); in dri_fd_get_driver_name() 79 fd, vendor_id, chip_id, driver); in dri_fd_get_driver_name()
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | common.c | 98 int vendor_id, chip_id, i, j; in dri2_get_driver_for_fd() local 113 sscanf(pci_id, "%x:%x", &vendor_id, &chip_id) != 2) { in dri2_get_driver_for_fd() 119 if (vendor_id != driver_map[i].vendor_id) in dri2_get_driver_for_fd() 124 fd, vendor_id, chip_id, driver); in dri2_get_driver_for_fd() 132 fd, vendor_id, chip_id, driver); in dri2_get_driver_for_fd()
|
D | platform_android.c | 542 droid_get_pci_id(int fd, int *vendor_id, int *chip_id) in droid_get_pci_id() argument 563 *vendor_id = 0x8086; in droid_get_pci_id() 578 *vendor_id = 0x1002; in droid_get_pci_id() 590 *vendor_id = 0x10de; in droid_get_pci_id() 595 *vendor_id = 0x15ad; in droid_get_pci_id() 610 int vendor_id = -1, chip_id = -1; in droid_get_driver_name() local 614 if (!droid_get_pci_id(fd, &vendor_id, &chip_id)) in droid_get_driver_name() 618 if (vendor_id != driver_map[idx].vendor_id) in droid_get_driver_name() 633 fd, vendor_id, chip_id, driver_map[idx].driver); in droid_get_driver_name()
|
/external/ipsec-tools/src/racoon/ |
D | vendorid.c | 66 static struct vendor_id all_vendor_ids[] = { 106 static struct vendor_id * 121 struct vendor_id *current; in vid_string_by_id() 131 static struct vendor_id * 187 struct vendor_id *current; in set_vendorid() 222 struct vendor_id *current; in check_vendorid()
|
/external/libdrm/libkms/ |
D | linux.c | 161 linux_get_pciid_from_fd(int fd, unsigned *vendor_id, unsigned *chip_id) 193 if (sscanf(pci_id, "%x:%x", vendor_id, chip_id) != 2) 211 unsigned vendor_id, chip_id; 214 ret = linux_get_pciid_from_fd(fd, &vendor_id, &chip_id); 219 if (table[i].vendor == vendor_id && table[i].chip == chip_id)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
D | gpu_device.py | 19 def __init__(self, vendor_id, device_id, vendor_string, device_string): argument 20 self._vendor_id = vendor_id 53 def vendor_id(self): member in GPUDevice
|
D | gpu_device_unittest.py | 13 self.assertEquals(device.vendor_id, 1000) 24 self.assertEquals(device.vendor_id, 3000)
|
D | gpu_info_unittest.py | 36 self.assertEquals(info.devices[0].vendor_id, 1000) 41 self.assertEquals(info.devices[1].vendor_id, 3000)
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_ttls.c | 107 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument 116 if (vendor_id) { in eap_ttls_avp_hdr() 119 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr() 189 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_avp_parse() local 219 vendor_id = be_to_host32(* (be32 *) dpos); in eap_ttls_avp_parse() 221 (int) vendor_id); in eap_ttls_avp_parse() 228 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_avp_parse() 253 } else if (vendor_id == 0 && in eap_ttls_avp_parse() 259 } else if (vendor_id == 0 && in eap_ttls_avp_parse() 272 } else if (vendor_id == 0 && in eap_ttls_avp_parse() [all …]
|
/external/valgrind/coregrind/ |
D | m_cache.c | 488 HChar vendor_id[13]; in get_caches_from_CPUID() local 492 VG_(cpuid)(0, 0, &level, (UInt*)&vendor_id[0], in get_caches_from_CPUID() 493 (UInt*)&vendor_id[8], (UInt*)&vendor_id[4]); in get_caches_from_CPUID() 494 vendor_id[12] = '\0'; in get_caches_from_CPUID() 501 if (0 == VG_(strcmp)(vendor_id, "GenuineIntel")) { in get_caches_from_CPUID() 504 } else if (0 == VG_(strcmp)(vendor_id, "AuthenticAMD")) { in get_caches_from_CPUID() 507 } else if (0 == VG_(strcmp)(vendor_id, "CentaurHauls")) { in get_caches_from_CPUID() 521 vendor_id); in get_caches_from_CPUID()
|
/external/mesa3d/src/gallium/auxiliary/pipe-loader/ |
D | pipe_loader_drm.c | 87 sscanf(pci_id, "%x:%x", &ddev->base.u.pci.vendor_id, in find_drm_pci_id() 110 if (dev->u.pci.vendor_id != driver_map[i].vendor_id) in find_drm_driver_name() 129 debug_printf("driver for %04x:%04x: %s\n", dev->u.pci.vendor_id, in find_drm_driver_name()
|
D | pipe_loader.h | 58 int vendor_id; member
|
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/ |
D | kernel_ExternalUsbPeripheralsDetectionTest.py | 78 vendor_id = self.host.run('cat %s' % file_name).stdout.strip() 79 if vendor_id: 80 vendor_id_dict[vendor_id] = d
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_ttls.c | 205 static u8 * eap_ttls_avp_hdr(u8 *avphdr, u32 avp_code, u32 vendor_id, in eap_ttls_avp_hdr() argument 214 if (vendor_id) { in eap_ttls_avp_hdr() 217 avp->vendor_id = host_to_be32(vendor_id); in eap_ttls_avp_hdr() 231 u32 vendor_id, int mandatory, in eap_ttls_avp_add() argument 235 pos = eap_ttls_avp_hdr(avphdr, avp_code, vendor_id, mandatory, len); in eap_ttls_avp_add() 901 u32 avp_code, avp_length, vendor_id = 0; in eap_ttls_parse_avp() local 935 vendor_id = WPA_GET_BE32(dpos); in eap_ttls_parse_avp() 937 (int) vendor_id); in eap_ttls_parse_avp() 944 if (vendor_id == 0 && avp_code == RADIUS_ATTR_EAP_MESSAGE) { in eap_ttls_parse_avp() 947 } else if (vendor_id == 0 && avp_code == RADIUS_ATTR_REPLY_MESSAGE) { in eap_ttls_parse_avp() [all …]
|
/external/wpa_supplicant_8/src/radius/ |
D | radius.c | 924 u32 vendor_id; in radius_msg_get_vendor_attr() local 937 os_memcpy(&vendor_id, pos, 4); in radius_msg_get_vendor_attr() 941 if (ntohl(vendor_id) != vendor) in radius_msg_get_vendor_attr() 1181 u32 vendor_id = htonl(RADIUS_VENDOR_ID_MICROSOFT); in radius_msg_add_mppe_keys() local 1189 hlen = sizeof(vendor_id) + sizeof(*vhdr) + 2; in radius_msg_add_mppe_keys() 1197 os_memcpy(pos, &vendor_id, sizeof(vendor_id)); in radius_msg_add_mppe_keys() 1198 pos += sizeof(vendor_id); in radius_msg_add_mppe_keys() 1209 vhdr->vendor_length = hlen + elen - sizeof(vendor_id); in radius_msg_add_mppe_keys() 1224 os_memcpy(pos, &vendor_id, sizeof(vendor_id)); in radius_msg_add_mppe_keys() 1225 pos += sizeof(vendor_id); in radius_msg_add_mppe_keys() [all …]
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | device.cpp | 73 _cl_device_id::vendor_id() const { in vendor_id() function in _cl_device_id 78 return ldev->u.pci.vendor_id; in vendor_id()
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_parse.c | 103 u32 vendor_id; in wps_parse_vendor_ext() local 110 vendor_id = WPA_GET_BE24(pos); in wps_parse_vendor_ext() 111 switch (vendor_id) { in wps_parse_vendor_ext() 119 vendor_id); in wps_parse_vendor_ext()
|
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionStress/ |
D | kernel_ExternalUsbPeripheralsDetectionStress.py | 185 vendor_id = self.host.run('cat %s' % file_name).stdout.strip() 186 if vendor_id: 187 usb_device_dict['deviceInfo']['vendorId'] = vendor_id
|
/external/ppp/pppd/plugins/radius/ |
D | avpair.c | 265 int vendor_id; in rc_extract_vendor_specific_attributes() local 284 vendor_id = (int) ( in rc_extract_vendor_specific_attributes() 303 if ((attr = rc_dict_getattr(vtype, vendor_id)) == NULL) { in rc_extract_vendor_specific_attributes() 315 pair->vendorcode = vendor_id; in rc_extract_vendor_specific_attributes()
|
/external/tcpdump/ |
D | print-lspping.c | 843 uint32_t vendor_id; in lspping_print() local 846 vendor_id = EXTRACT_32BITS(tlv_tptr); in lspping_print() 848 tok2str(smi_values, "Unknown", vendor_id), in lspping_print() 849 vendor_id)); in lspping_print()
|
/external/kernel-headers/original/uapi/scsi/ |
D | scsi_netlink_fc.h | 61 uint64_t vendor_id; member
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer.cc | 810 char vendor_id[sizeof(sys_info->cpu.x86_cpu_info.vendor_id) + 1] = {0}; in WriteCPUInformation() local 873 my_strlcpy(vendor_id, value, sizeof(vendor_id)); in WriteCPUInformation() 899 if (vendor_id[0] != '\0') { in WriteCPUInformation() 900 my_memcpy(sys_info->cpu.x86_cpu_info.vendor_id, vendor_id, in WriteCPUInformation() 901 sizeof(sys_info->cpu.x86_cpu_info.vendor_id)); in WriteCPUInformation()
|