Home | History | Annotate | Download | only in libusb

Lines Matching full:_config

474 	struct libusb_config_descriptor *_config = malloc(sizeof(*_config));
481 if (!_config)
489 usbi_parse_descriptor(tmp, "bbw", _config, host_endian);
490 buf = malloc(_config->wTotalLength);
497 _config->wTotalLength, &host_endian);
501 r = parse_configuration(dev->ctx, _config, buf, host_endian);
510 *config = _config;
514 free(_config);
539 struct libusb_config_descriptor *_config;
549 _config = malloc(sizeof(*_config));
550 if (!_config)
558 usbi_parse_descriptor(tmp, "bbw", _config, host_endian);
559 buf = malloc(_config->wTotalLength);
567 _config->wTotalLength, &host_endian);
571 r = parse_configuration(dev->ctx, _config, buf, host_endian);
580 *config = _config;
584 free(_config);