Home
last modified time | relevance | path

Searched refs:SDL_numcds (Results 1 – 15 of 15) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DSDL_syscdrom.c193 SDL_numcds = DetectAudioCDVolumes (NULL, 0); in SDL_SYS_CDInit()
199 if (SDL_numcds == 0) { in SDL_SYS_CDInit()
202 SDL_numcds = 1; in SDL_SYS_CDInit()
209 volumes = (FSVolumeRefNum*) SDL_calloc (1, sizeof(*volumes) * SDL_numcds); in SDL_SYS_CDInit()
216 tracks = (FSRef**) SDL_calloc (1, sizeof(*tracks) * (SDL_numcds + 1)); in SDL_SYS_CDInit()
223 tracks[ SDL_numcds ] = (FSRef*)-1; in SDL_SYS_CDInit()
230 int numVolumes = SDL_numcds; in SDL_SYS_CDInit()
232 SDL_numcds = DetectAudioCDVolumes (volumes, numVolumes); in SDL_SYS_CDInit()
235 if (SDL_numcds > numVolumes) { in SDL_SYS_CDInit()
237 SDL_numcds = numVolumes; in SDL_SYS_CDInit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/mint/
DSDL_syscdrom.c93 SDL_numcds = 0; in SDL_SYS_CDInit()
96 metados_drives[SDL_numcds].device[0] = 0; in SDL_SYS_CDInit()
97 metados_drives[SDL_numcds].device[1] = ':'; in SDL_SYS_CDInit()
98 metados_drives[SDL_numcds].device[2] = 0; in SDL_SYS_CDInit()
106 metados_drives[SDL_numcds].device[0] = i; in SDL_SYS_CDInit()
107 ++SDL_numcds; in SDL_SYS_CDInit()
133 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
DSDL_syscdrom.c106 if ( SDL_numcds < MAX_DRIVES ) { in AddDrive()
110 for ( i=0; i<SDL_numcds; ++i ) { in AddDrive()
120 i = SDL_numcds; in AddDrive()
127 ++SDL_numcds; in AddDrive()
189 if ( SDL_numcds > 0 ) { in SDL_SYS_CDInit()
408 if ( SDL_numcds > 0 ) { in SDL_SYS_CDQuit()
409 for ( i=0; i<SDL_numcds; ++i ) { in SDL_SYS_CDQuit()
412 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
DSDL_syscdrom.c101 if ( SDL_numcds < MAX_DRIVES ) { in AddDrive()
105 for ( i=0; i<SDL_numcds; ++i ) { in AddDrive()
115 i = SDL_numcds; in AddDrive()
122 ++SDL_numcds; in AddDrive()
180 if ( SDL_numcds > 0 ) { in SDL_SYS_CDInit()
398 if ( SDL_numcds > 0 ) { in SDL_SYS_CDQuit()
399 for ( i=0; i<SDL_numcds; ++i ) { in SDL_SYS_CDQuit()
402 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
DSDL_syscdrom.c114 if (SDL_numcds < MAX_DRIVES) in AddDrive()
119 for (i=0; i<SDL_numcds; ++i) in AddDrive()
129 i = SDL_numcds; in AddDrive()
137 ++SDL_numcds; in AddDrive()
203 if (SDL_numcds > 0) in SDL_SYS_CDInit()
541 if (SDL_numcds > 0) in SDL_SYS_CDQuit()
543 for (i=0; i<SDL_numcds; ++i) in SDL_SYS_CDQuit()
547 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
DSDL_syscdrom.c158 if ( SDL_numcds < MAX_DRIVES ) { in AddDrive()
162 for ( i=0; i<SDL_numcds; ++i ) { in AddDrive()
172 i = SDL_numcds; in AddDrive()
179 ++SDL_numcds; in AddDrive()
312 if ( SDL_numcds > 0 ) { in SDL_SYS_CDInit()
330 if ( SDL_numcds > 0 ) { in SDL_SYS_CDInit()
556 if ( SDL_numcds > 0 ) { in SDL_SYS_CDQuit()
557 for ( i=0; i<SDL_numcds; ++i ) { in SDL_SYS_CDQuit()
560 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
DSDL_syscdrom.cc116 if ( SDL_numcds < MAX_DRIVES ) { in AddDrive()
118 i = SDL_numcds; in AddDrive()
126 ++SDL_numcds; in AddDrive()
193 if ( SDL_numcds > 0 ) { in SDL_SYS_CDInit()
402 if ( SDL_numcds > 0 ) { in SDL_SYS_CDQuit()
403 for ( i=0; i<SDL_numcds; ++i ) { in SDL_SYS_CDQuit()
406 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/
DSDL_syscdrom.c108 if ( SDL_numcds < MAX_DRIVES ) { in AddDrive()
113 for ( i=0; i<SDL_numcds; ++i ) { in AddDrive()
123 i = SDL_numcds; in AddDrive()
130 ++SDL_numcds; in AddDrive()
200 if ( SDL_numcds > 0 ) { in SDL_SYS_CDInit()
436 if ( SDL_numcds > 0 ) { in SDL_SYS_CDQuit()
437 for ( i=0; i<SDL_numcds; ++i ) { in SDL_SYS_CDQuit()
440 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/
DSDL_cdrom.c49 int SDL_numcds; variable
55 SDL_numcds = 0; in SDL_CDROMInit()
88 return(SDL_numcds); in SDL_CDNumDrives()
96 if ( drive >= SDL_numcds ) { in SDL_CDName()
114 if ( drive >= SDL_numcds ) { in SDL_CDOpen()
DSDL_syscdrom.h65 extern int SDL_numcds;
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/
DSDL_syscdrom.c215 if ( SDL_numcds < MAX_DRIVES ) { in AddDrive()
219 for ( i=0; i<SDL_numcds; ++i ) { in AddDrive()
229 i = SDL_numcds; in AddDrive()
236 ++SDL_numcds; in AddDrive()
293 if ( SDL_numcds > 0 ) { in SDL_SYS_CDInit()
534 if ( SDL_numcds > 0 ) { in SDL_SYS_CDQuit()
535 for ( i=0; i<SDL_numcds; ++i ) { in SDL_SYS_CDQuit()
539 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/
DSDL_syscdrom.c82 SDL_numcds = 0; in SDL_SYS_CDInit()
120 SDL_cdlist[SDL_numcds].dRefNum = dRefNum; in SDL_SYS_CDInit()
121 BlockMoveData(namePtr + 1, SDL_cdlist[SDL_numcds].name, namePtr[0]); in SDL_SYS_CDInit()
122 SDL_cdlist[SDL_numcds].name[namePtr[0]] = 0; in SDL_SYS_CDInit()
123 SDL_cdlist[SDL_numcds].hasAudio = false; in SDL_SYS_CDInit()
124 SDL_numcds++; in SDL_SYS_CDInit()
227 SDL_cdlist[SDL_numcds].hasAudio = true; in SDL_SYS_CDGetTOC()
521 while(SDL_numcds--) in SDL_SYS_CDQuit()
522 SDL_memset(SDL_cdlist + SDL_numcds, 0, sizeof(SDL_cdlist[0])); in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
DSDL_syscdrom.c115 if ( SDL_numcds < MAX_DRIVES ) { in AddDrive()
119 for ( i=0; i<SDL_numcds; ++i ) { in AddDrive()
129 i = SDL_numcds; in AddDrive()
136 ++SDL_numcds; in AddDrive()
333 if ( SDL_numcds > 0 ) { in SDL_SYS_CDInit()
652 if ( SDL_numcds > 0 ) { in SDL_SYS_CDQuit()
653 for ( i=0; i<SDL_numcds; ++i ) { in SDL_SYS_CDQuit()
656 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/os2/
DSDL_syscdrom.c89 SDL_numcds = atoi(SysInfoRet); in SDL_SYS_CDInit()
90 if (SDL_numcds > MAX_DRIVES) SDL_numcds = MAX_DRIVES; /* Limit maximum CD number */ in SDL_SYS_CDInit()
96 for (i=0; i<SDL_numcds; i++) in SDL_SYS_CDInit()
383 if ( SDL_numcds > 0 ) in SDL_SYS_CDQuit()
385 for ( i=0; i<SDL_numcds; ++i ) in SDL_SYS_CDQuit()
389 SDL_numcds = 0; in SDL_SYS_CDQuit()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/win32/
DSDL_syscdrom.c67 if ( SDL_numcds < MAX_DRIVES ) { in AddDrive()
69 i = SDL_numcds; in AddDrive()
75 ++SDL_numcds; in AddDrive()
377 if ( SDL_numcds > 0 ) { in SDL_SYS_CDQuit()
378 for ( i=0; i<SDL_numcds; ++i ) { in SDL_SYS_CDQuit()
382 SDL_numcds = 0; in SDL_SYS_CDQuit()