Home
last modified time | relevance | path

Searched refs:concurrent_usage (Results 1 – 3 of 3) sorted by relevance

/external/libusb/libusb/os/
Dwince_usb.c38 static int concurrent_usage = -1; variable
188 if ( ++concurrent_usage == 0 ) { // First init? in wince_init()
224 if (!concurrent_usage && r != LIBUSB_SUCCESS) { // First init failed? in wince_init()
235 --concurrent_usage; // Not expected to call libusb_exit if we failed. in wince_init()
260 if (--concurrent_usage < 0) { // Last exit in wince_exit()
Dwindows_usbdk.c69 static int concurrent_usage = -1; variable
203 if (++concurrent_usage == 0) { // First init? in usbdk_init()
218 if (!concurrent_usage && r != LIBUSB_SUCCESS) { // First init failed? in usbdk_init()
225 --concurrent_usage; // Not expected to call libusb_exit if we failed. in usbdk_init()
376 if (--concurrent_usage < 0) { in usbdk_exit()
Dwindows_winusb.c111 static int concurrent_usage = -1; variable
798 if (++concurrent_usage == 0) { // First init? in windows_init()
832 if (!concurrent_usage && r != LIBUSB_SUCCESS) { // First init failed? in windows_init()
842 --concurrent_usage; // Not expected to call libusb_exit if we failed. in windows_init()
1675 if (--concurrent_usage < 0) { // Last exit in windows_exit()