/external/libusb/libusb/os/ |
darwin_usb.h | 122 char sys_path[21]; member in struct:darwin_device_priv
|
darwin_usb.c | 529 snprintf(priv->sys_path, 20, "%03i-%04x-%04x-%02x-%02x", address, idVendor, idProduct, bDeviceClass, bDeviceSubClass); 544 usbi_info (ctx, "found device with address %d at %s", dev->device_address, priv->sys_path); [all...] |
/external/libusb_aah/libusb/os/ |
darwin_usb.h | 127 char sys_path[21]; member in struct:darwin_device_priv
|
darwin_usb.c | 744 snprintf(priv->sys_path, 20, "%03i-%04x-%04x-%02x-%02x", address, priv->dev_descriptor.idVendor, priv->dev_descriptor.idProduct, 760 usbi_info (ctx, "found device with address %d at %s", dev->device_address, priv->sys_path); [all...] |
/system/core/sh/ |
eval.c | 609 static char *sys_path = NULL; local 615 if (sys_path == NULL) { 619 (sys_path = ckmalloc(len + 5)) != NULL && 620 sysctl(mib, 2, sys_path + 5, &len, 0, 0) != -1) { 621 memcpy(sys_path, "PATH=", 5); 625 ckfree(sys_path); 627 sys_path = def_path; 630 return sys_path;
|