Home
last modified time | relevance | path

Searched refs:numdevs (Results 1 – 4 of 4) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/joystick/dc/
DSDL_sysjoystick.c58 int numdevs; in SDL_SYS_JoystickInit() local
62 numdevs = 0; in SDL_SYS_JoystickInit()
66 SYS_Joystick_addr[numdevs] = maple_addr(p,u); in SDL_SYS_JoystickInit()
67 numdevs++; in SDL_SYS_JoystickInit()
72 return(numdevs); in SDL_SYS_JoystickInit()
/external/qemu/distrib/sdl-1.2.15/src/joystick/win32/
DSDL_mmjoystick.c143 int numdevs; in SDL_SYS_JoystickInit() local
155 numdevs = 0; in SDL_SYS_JoystickInit()
157 for ( i = JOYSTICKID1; i < maxdevs && numdevs < MAX_JOYSTICKS; ++i ) { in SDL_SYS_JoystickInit()
165 SYS_JoystickID[numdevs] = i; in SDL_SYS_JoystickInit()
166 SYS_Joystick[numdevs] = joycaps; in SDL_SYS_JoystickInit()
167 SYS_JoystickName[numdevs] = GetJoystickName(i, joycaps.szRegKey); in SDL_SYS_JoystickInit()
168 numdevs++; in SDL_SYS_JoystickInit()
172 return(numdevs); in SDL_SYS_JoystickInit()
/external/libmtp/src/
Dlibusb-glue.c135 int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t ** const devices, int * const numdevs) in LIBMTP_Get_Supported_Devices_List() argument
138 *numdevs = mtp_device_table_size; in LIBMTP_Get_Supported_Devices_List()
584 int * numdevs) in LIBMTP_Detect_Raw_Devices() argument
596 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
612 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
620 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
683 *numdevs = i; in LIBMTP_Detect_Raw_Devices()
Dlibmtp.c1602 int numdevs; in LIBMTP_Get_First_Device() local
1605 ret = LIBMTP_Detect_Raw_Devices(&devices, &numdevs); in LIBMTP_Get_First_Device()
1610 if (devices == NULL || numdevs == 0) { in LIBMTP_Get_First_Device()
1868 static LIBMTP_mtpdevice_t * create_usb_mtp_devices(LIBMTP_raw_device_t *devices, int numdevs) in create_usb_mtp_devices() argument
1874 for (i=0; i < numdevs; i++) { in create_usb_mtp_devices()
1921 int numdevs; in LIBMTP_Get_Connected_Devices() local
1924 ret = LIBMTP_Detect_Raw_Devices(&devices, &numdevs); in LIBMTP_Get_Connected_Devices()
1931 if (devices == NULL || numdevs == 0) { in LIBMTP_Get_Connected_Devices()
1936 *device_list = create_usb_mtp_devices(devices, numdevs); in LIBMTP_Get_Connected_Devices()