Searched defs:numdevs (Results 1 - 4 of 4) sorted by relevance

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

Completed in 3811 milliseconds