Lines Matching refs:temp_ptr
2240 char *temp_ptr; in usbd_set_device_strings() local
2249 temp_ptr = (char *)udev->scratch.data; in usbd_set_device_strings()
2256 (void)usbd_req_get_string_any(udev, NULL, temp_ptr, temp_size, in usbd_set_device_strings()
2258 udev->serial = bsd_strdup(temp_ptr, M_USB); in usbd_set_device_strings()
2261 (void)usbd_req_get_string_any(udev, NULL, temp_ptr, temp_size, in usbd_set_device_strings()
2263 usb_trim_spaces(temp_ptr); in usbd_set_device_strings()
2264 if (temp_ptr[0] != '\0') in usbd_set_device_strings()
2265 udev->manufacturer = bsd_strdup(temp_ptr, M_USB); in usbd_set_device_strings()
2268 (void)usbd_req_get_string_any(udev, NULL, temp_ptr, temp_size, in usbd_set_device_strings()
2270 usb_trim_spaces(temp_ptr); in usbd_set_device_strings()
2271 if (temp_ptr[0] != '\0') in usbd_set_device_strings()
2272 udev->product = bsd_strdup(temp_ptr, M_USB); in usbd_set_device_strings()
2298 (void)snprintf_s(temp_ptr, temp_size, temp_size - 1, "vendor 0x%04x", vendor_id); in usbd_set_device_strings()
2299 udev->manufacturer = bsd_strdup(temp_ptr, M_USB); in usbd_set_device_strings()
2302 (void)snprintf_s(temp_ptr, temp_size, temp_size - 1, "product 0x%04x", product_id); in usbd_set_device_strings()
2303 udev->product = bsd_strdup(temp_ptr, M_USB); in usbd_set_device_strings()