Searched refs:numdevs (Results 1 – 4 of 4) sorted by relevance
58 int numdevs; in SDL_SYS_JoystickInit() local62 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()
143 int numdevs; in SDL_SYS_JoystickInit() local155 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()
135 int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t ** const devices, int * const numdevs) in LIBMTP_Get_Supported_Devices_List() argument138 *numdevs = mtp_device_table_size; in LIBMTP_Get_Supported_Devices_List()584 int * numdevs) in LIBMTP_Detect_Raw_Devices() argument596 *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()
1602 int numdevs; in LIBMTP_Get_First_Device() local1605 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() argument1874 for (i=0; i < numdevs; i++) { in create_usb_mtp_devices()1921 int numdevs; in LIBMTP_Get_Connected_Devices() local1924 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()