Searched refs:bufptr (Results 1 – 2 of 2) sorted by relevance
149 unsigned char* bufptr = devdesc; in find_usb_device() local171 bufend = bufptr + desclength; in find_usb_device()180 device = (struct usb_device_descriptor*)bufptr; in find_usb_device()181 bufptr += USB_DT_DEVICE_SIZE; in find_usb_device()192 config = (struct usb_config_descriptor *)bufptr; in find_usb_device()193 bufptr += USB_DT_CONFIG_SIZE; in find_usb_device()201 while (bufptr < bufend) { in find_usb_device()202 unsigned char length = bufptr[0]; in find_usb_device()203 unsigned char type = bufptr[1]; in find_usb_device()206 interface = (struct usb_interface_descriptor *)bufptr; in find_usb_device()[all …]
129 uint8_t* bufptr = static_cast<uint8_t*>(buffer); in fill() local130 while ((bytes_read = TEMP_FAILURE_RETRY(read(fd, bufptr, size))) > 0) { in fill()132 bufptr += bytes_read; in fill()