Home
last modified time | relevance | path

Searched refs:raw_cfgdescr (Results 1 – 2 of 2) sorted by relevance

/external/libusb/libusb/os/
Dsunos_usb.c120 dpriv->raw_cfgdescr = calloc(1, proplen); in sunos_fill_in_dev_info()
121 if (dpriv->raw_cfgdescr == NULL) { in sunos_fill_in_dev_info()
124 bcopy(rdata, dpriv->raw_cfgdescr, proplen); in sunos_fill_in_dev_info()
142 free(dpriv->raw_cfgdescr); in sunos_fill_in_dev_info()
675 dpriv->raw_cfgdescr = realloc(dpriv->raw_cfgdescr, proplen); in sunos_get_active_config_descriptor()
676 if (dpriv->raw_cfgdescr == NULL) { in sunos_get_active_config_descriptor()
679 bcopy(rdata, dpriv->raw_cfgdescr, proplen); in sunos_get_active_config_descriptor()
685 cfg = (struct libusb_config_descriptor *)dpriv->raw_cfgdescr; in sunos_get_active_config_descriptor()
687 memcpy(buf, dpriv->raw_cfgdescr, len); in sunos_get_active_config_descriptor()
1016 free(dpriv->raw_cfgdescr); in sunos_destroy_device()
Dsunos_usb.h32 uint8_t *raw_cfgdescr; /* active config descriptor */ member