OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:discdevs
(Results
1 - 4
of
4
) sorted by null
/external/libusb/libusb/
core.c
459
* returning new
discdevs
. returns NULL on realloc failure. */
461
struct discovered_devs *
discdevs
, struct libusb_device *dev)
463
size_t len =
discdevs
->len;
467
if (len <
discdevs
->capacity) {
468
discdevs
->devices[len] = libusb_ref_device(dev);
469
discdevs
->len++;
470
return
discdevs
;
475
capacity =
discdevs
->capacity + DISCOVERED_DEVICES_SIZE_STEP;
476
discdevs
= realloc(
discdevs
,
594
struct discovered_devs *
discdevs
= discovered_devs_alloc();
local
[
all
...]
libusbi.h
338
struct discovered_devs *
discdevs
, struct libusb_device *dev);
416
struct discovered_devs **
discdevs
);
/external/libusb/libusb/os/
linux_usbfs.c
790
struct discovered_devs *
discdevs
;
local
822
discdevs
= discovered_devs_append(*_discdevs, dev);
823
if (!
discdevs
)
826
*_discdevs =
discdevs
;
834
/* open a bus directory and adds all discovered devices to
discdevs
. on
835
* failure (non-zero return) the pre-existing
discdevs
should be destroyed
836
* (and devices freed). on success, the new
discdevs
pointer should be used
844
struct discovered_devs *
discdevs
= *_discdevs;
local
869
r = enumerate_device(ctx, &
discdevs
, busnum, (uint8_t) devaddr, NULL);
874
*_discdevs =
discdevs
;
885
struct discovered_devs *
discdevs
= *_
discdevs
;
local
996
struct discovered_devs *
discdevs
= *_
discdevs
;
local
[
all
...]
darwin_usb.c
441
struct discovered_devs *
discdevs
;
local
536
discdevs
= discovered_devs_append(*_discdevs, dev);
537
if (!
discdevs
) {
542
*_discdevs =
discdevs
;
[
all
...]
Completed in 1067 milliseconds