Home | History | Annotate | Download | only in adb

Lines Matching full:bufptr

153             unsigned char* bufptr = devdesc;
177 bufend = bufptr + desclength;
186 device = (struct usb_device_descriptor*)bufptr;
187 bufptr += USB_DT_DEVICE_SIZE;
199 config = (struct usb_config_descriptor *)bufptr;
200 bufptr += USB_DT_CONFIG_SIZE;
208 while (bufptr < bufend) {
209 unsigned char length = bufptr[0];
210 unsigned char type = bufptr[1];
213 interface = (struct usb_interface_descriptor *)bufptr;
214 bufptr += length;
232 ep1 = (struct usb_endpoint_descriptor *)bufptr;
233 bufptr += USB_DT_ENDPOINT_SIZE;
234 ep2 = (struct usb_endpoint_descriptor *)bufptr;
235 bufptr += USB_DT_ENDPOINT_SIZE;
237 if (bufptr > devdesc + desclength ||
271 bufptr += length;