/freebsd-current/contrib/libfido2/src/ |
H A D | hid.c | 129 free(di->manufacturer); 158 const char *path, const char *manufacturer, const char *product, 164 if (path == NULL || manufacturer == NULL || product == NULL || 171 (manu_copy = strdup(manufacturer)) == NULL || 179 devlist[i].manufacturer = manu_copy; 215 return (di->manufacturer); 157 fido_dev_info_set(fido_dev_info_t *devlist, size_t i, const char *path, const char *manufacturer, const char *product, const fido_dev_io_t *io, const fido_dev_transport_t *transport) argument
|
H A D | hid_win.c | 125 get_manufacturer(HANDLE dev, char **manufacturer) argument 131 *manufacturer = NULL; 144 if ((*manufacturer = malloc((size_t)utf8_len)) == NULL) { 150 *manufacturer, utf8_len, NULL, NULL) != utf8_len) { 158 free(*manufacturer); 159 *manufacturer = NULL; 338 if (get_manufacturer(dev, &di->manufacturer) < 0) { 340 di->manufacturer = strdup(""); 348 if (di->manufacturer == NULL || di->product == NULL) { 349 fido_log_debug("%s: manufacturer/produc [all...] |
H A D | hid_osx.c | 134 get_str(IOHIDDeviceRef dev, char **manufacturer, char **product) argument 139 *manufacturer = NULL; 143 *manufacturer = strdup(""); 145 *manufacturer = strdup(buf); 152 if (*manufacturer == NULL || *product == NULL) { 160 free(*manufacturer); 162 *manufacturer = NULL; 229 get_str(dev, &di->manufacturer, &di->product) < 0 || 232 free(di->manufacturer);
|
H A D | hid_hidapi.c | 68 di->manufacturer = wcs_to_cs(d->manufacturer_string); 70 di->manufacturer = strdup(""); 78 di->manufacturer == NULL || 81 free(di->manufacturer);
|
H A D | hid_freebsd.c | 87 (di->manufacturer = strdup(UHID_VENDOR)) == NULL || 94 (di->manufacturer = strdup(udi.udi_vendor)) == NULL || 108 free(di->manufacturer); 138 (di->manufacturer = strdup(udi.udi_vendor)) == NULL || 151 free(di->manufacturer);
|
H A D | nfc_linux.c | 79 if ((di->manufacturer = get_usb_attr(dev, "manufacturer")) == NULL) 80 di->manufacturer = strdup(""); 83 if (di->manufacturer == NULL || di->product == NULL) 102 free(di->manufacturer);
|
H A D | hid_linux.c | 164 if ((di->manufacturer = get_usb_attr(dev, "manufacturer")) == NULL) 165 di->manufacturer = strdup(""); 168 if (di->path == NULL || di->manufacturer == NULL || di->product == NULL) 180 free(di->manufacturer);
|
H A D | hid_netbsd.c | 102 (di->manufacturer = strdup(udi.udi_vendor)) == NULL || 116 free(di->manufacturer);
|
H A D | hid_openbsd.c | 56 (di->manufacturer = strdup(udi.udi_vendor)) == NULL || 70 free(di->manufacturer);
|
H A D | pcsc.c | 157 if ((di->manufacturer = strdup("PC/SC")) == NULL || 167 free(di->manufacturer);
|
/freebsd-current/contrib/wpa/src/wps/ |
H A D | wps_dev_attr.c | 21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0; 35 wpabuf_put_data(msg, dev->manufacturer, len); 270 os_free(dev->manufacturer); 271 dev->manufacturer = dup_binstr(str, str_len); 272 if (dev->manufacturer == NULL) 379 if (wps_process_manufacturer(dev, attr->manufacturer, 434 os_free(dev->manufacturer); 435 dev->manufacturer = NULL;
|
H A D | wps_er.h | 23 char *manufacturer; member in struct:wps_er_sta 47 char *manufacturer; member in struct:wps_er_ap
|
H A D | wps_attr_parse.h | 61 const u8 *manufacturer; member in struct:wps_parse_attr
|
H A D | wps_validate.c | 304 static int wps_validate_manufacturer(const u8 *manufacturer, size_t len, argument 307 if (manufacturer == NULL) { 315 if (len > 0 && manufacturer[len - 1] == 0) { 317 "attribute value", manufacturer, len); 1150 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len, 1208 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len, 1312 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len, 1367 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len, 1421 wps_validate_manufacturer(attr.manufacturer, attr.manufacturer_len,
|
H A D | wps_er.c | 51 ev->manufacturer = sta->manufacturer; 79 os_free(sta->manufacturer); 139 evap->manufacturer = ap->manufacturer; 161 os_free(ap->manufacturer); 557 ap->manufacturer = xml_get_first_item(data, "manufacturer"); 558 wpa_printf(MSG_DEBUG, "WPS ER: manufacturer='%s'", ap->manufacturer); [all...] |
H A D | wps.h | 74 * @manufacturer: Manufacturer (0..64 octets encoded in UTF-8) 88 char *manufacturer; member in struct:wps_device_data 532 const u8 *manufacturer; member in struct:wps_event_data::wps_event_m2d 572 const char *manufacturer; member in struct:wps_event_data::wps_event_er_ap 592 const char *manufacturer; member in struct:wps_event_data::wps_event_er_enrollee
|
/freebsd-current/usr.sbin/bluetooth/hccontrol/ |
H A D | info.c | 58 rp.manufacturer = le16toh(rp.manufacturer); 69 hci_manufacturer2str(rp.manufacturer), rp.manufacturer);
|
H A D | link_control.c | 730 ep->manufacturer = le16toh(ep->manufacturer); 739 hci_manufacturer2str(ep->manufacturer), 740 ep->manufacturer);
|
/freebsd-current/sys/dev/pccard/ |
H A D | pccardvarp.h | 140 * Use int32_t for manufacturer and product so that they can 144 int32_t manufacturer; member in struct:pccard_card 179 int32_t manufacturer; member in struct:pccard_cis_quirk
|
/freebsd-current/usr.sbin/dumpcis/ |
H A D | cardinfo.h | 154 uint32_t manufacturer; /* Manufacturer ID */ member in struct:dev_desc
|
/freebsd-current/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_wps.c | 518 * wpas_dbus_getter_wps_manufacturer - Get current manufacturer name 532 return wpas_dbus_string_property_getter(iter, wpa_s->conf->manufacturer, 538 * wpas_dbus_setter_wps_manufacturer - Set current manufacturer name 551 char *methods, *manufacturer; local 560 manufacturer = os_strdup(methods); 561 if (!manufacturer) 564 os_free(wpa_s->conf->manufacturer); 565 wpa_s->conf->manufacturer = manufacturer;
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | smbiostbl.c | 153 uint8_t manufacturer; /* manufacturer string */ member in struct:smbios_table_type1 171 uint8_t manufacturer; /* manufacturer string */ member in struct:smbios_table_type2 195 uint8_t manufacturer; /* manufacturer string */ member in struct:smbios_table_type3 231 uint8_t manufacturer; /* manufacturer string */ member in struct:smbios_table_type4 296 uint8_t manufacturer; /* manufacturer strin member in struct:smbios_table_type17 [all...] |
/freebsd-current/usr.sbin/makefs/cd9660/ |
H A D | cd9660_eltorito.h | 78 u_char manufacturer [ISODCL(0x04,0x1B)]; member in struct:_boot_catalog_validation_entry
|
/freebsd-current/sys/dev/usb/ |
H A D | usb_device.c | 282 return (udev->manufacturer ? udev->manufacturer : "Unknown"); 2370 free(udev->manufacturer, M_USB); 2527 free(udev->manufacturer, M_USB); 2532 udev->manufacturer = NULL; 2540 /* get manufacturer string */ 2545 udev->manufacturer = strdup(temp_ptr, M_USB); 2555 if (udev->manufacturer == NULL || udev->product == NULL) { 2564 if (udev->manufacturer == NULL) { 2565 udev->manufacturer [all...] |
H A D | usb_device.h | 272 char *manufacturer; /* manufacturer string, can be NULL */ member in struct:usb_device
|