Lines Matching refs:extra
128 nextra = N_ALIGN(pconf->extra.len); in libusb_get_config_descriptor()
133 nextra += N_ALIGN(pinf->extra.len); in libusb_get_config_descriptor()
138 nextra += N_ALIGN(pend->extra.len); in libusb_get_config_descriptor()
146 nextra += N_ALIGN(pinf->extra.len); in libusb_get_config_descriptor()
151 nextra += N_ALIGN(pend->extra.len); in libusb_get_config_descriptor()
192 if (pconf->extra.len != 0) { in libusb_get_config_descriptor()
193 pconfd->extra_length = pconf->extra.len; in libusb_get_config_descriptor()
194 pconfd->extra = pextra; in libusb_get_config_descriptor()
195 memcpy(pextra, pconf->extra.ptr, pconfd->extra_length); in libusb_get_config_descriptor()
232 if (pinf->extra.len != 0) { in libusb_get_config_descriptor()
233 ifd->extra_length = pinf->extra.len; in libusb_get_config_descriptor()
234 ifd->extra = pextra; in libusb_get_config_descriptor()
235 memcpy(pextra, pinf->extra.ptr, pinf->extra.len); in libusb_get_config_descriptor()
236 pextra += N_ALIGN(pinf->extra.len); in libusb_get_config_descriptor()
249 if (pend->extra.len != 0) { in libusb_get_config_descriptor()
250 endd->extra_length = pend->extra.len; in libusb_get_config_descriptor()
251 endd->extra = pextra; in libusb_get_config_descriptor()
252 memcpy(pextra, pend->extra.ptr, pend->extra.len); in libusb_get_config_descriptor()
253 pextra += N_ALIGN(pend->extra.len); in libusb_get_config_descriptor()
421 return (libusb_parse_ss_endpoint_comp(endpoint->extra, endpoint->extra_length, ep_comp)); in libusb_get_ss_endpoint_companion_descriptor()