Home
last modified time | relevance | path

Searched refs:extra_length (Results 1 – 3 of 3) sorted by relevance

/external/libusb-compat/libusb/
Dcore.c401 dest->extralen = src->extra_length; in copy_endpoint_descriptor()
402 if (src->extra_length) { in copy_endpoint_descriptor()
403 dest->extra = malloc(src->extra_length); in copy_endpoint_descriptor()
406 memcpy(dest->extra, src->extra, src->extra_length); in copy_endpoint_descriptor()
433 dest->extralen = src->extra_length; in copy_interface_descriptor()
434 if (src->extra_length) { in copy_interface_descriptor()
435 dest->extra = malloc(src->extra_length); in copy_interface_descriptor()
440 memcpy(dest->extra, src->extra, src->extra_length); in copy_interface_descriptor()
493 dest->extralen = src->extra_length; in copy_config_descriptor()
494 if (src->extra_length) { in copy_config_descriptor()
[all …]
/external/libusb/libusb/
Ddescriptor.c140 endpoint->extra_length = 0; in parse_endpoint()
147 endpoint->extra_length = 0; in parse_endpoint()
152 endpoint->extra_length = len; in parse_endpoint()
213 ifp->extra_length = 0; in parse_interface()
255 ifp->extra_length = len; in parse_interface()
359 config->extra_length = 0; in parse_configuration()
396 if (!config->extra_length) { in parse_configuration()
404 config->extra_length = len; in parse_configuration()
Dlibusb.h399 int extra_length; member
449 int extra_length; member
507 int extra_length; member