Lines Matching refs:extra_length
401 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()
495 dest->extra = malloc(src->extra_length); in copy_config_descriptor()
500 memcpy(dest->extra, src->extra, src->extra_length); in copy_config_descriptor()