Searched refs:SDL_cdlist (Results 1 - 11 of 11) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/
H A DSDL_syscdrom.c52 } SDL_cdlist[MAX_DRIVES]; variable in typeref:struct:__anon11353
120 SDL_cdlist[SDL_numcds].dRefNum = dRefNum;
121 BlockMoveData(namePtr + 1, SDL_cdlist[SDL_numcds].name, namePtr[0]);
122 SDL_cdlist[SDL_numcds].name[namePtr[0]] = 0;
123 SDL_cdlist[SDL_numcds].hasAudio = false;
131 return(SDL_cdlist[drive].name);
140 SDL_cdlist[drive].driveNum = 0;
146 if ( driveElem->dQRefNum == SDL_cdlist[drive].dRefNum ) {
147 SDL_cdlist[drive].driveNum = driveElem->dQDrive;
151 return(SDL_cdlist[driv
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
H A DSDL_syscdrom.cc65 static char *SDL_cdlist[MAX_DRIVES]; variable
120 SDL_cdlist[i] = (char *)SDL_malloc(len);
121 if ( SDL_cdlist[i] == NULL ) {
125 SDL_strlcpy(SDL_cdlist[i], drive, len);
263 fd = open(SDL_cdlist[index], 0);
275 return(SDL_cdlist[drive]);
322 fd = open(SDL_cdlist[cdrom->id], 0);
356 fd = open(SDL_cdlist[cdrom->id], 0);
404 SDL_free(SDL_cdlist[i]);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
H A DSDL_syscdrom.c53 static char *SDL_cdlist[MAX_DRIVES]; variable
122 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]);
130 SDL_cdlist[i] = SDL_strdup(drive);
131 if ( SDL_cdlist[i] == NULL ) {
358 return(SDL_cdlist[drive]);
372 len = SDL_strlen(SDL_cdlist[drive])+2;
374 SDL_strlcpy(cdromname,SDL_cdlist[drive],len);
379 lastsl = SDL_strrchr(SDL_cdlist[drive],'/');
387 fprintf(stderr, "Should open drive %s, opening %s\n", SDL_cdlist[drive], cdromname);
654 SDL_free(SDL_cdlist[
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
H A DSDL_syscdrom.c43 static char *SDL_cdlist[MAX_DRIVES]; variable
108 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]);
116 SDL_cdlist[i] = SDL_strdup(drive);
117 if ( SDL_cdlist[i] == NULL ) {
234 return(SDL_cdlist[drive]);
239 return(open(SDL_cdlist[drive], (O_RDONLY|O_EXCL|O_NONBLOCK), 0));
400 SDL_free(SDL_cdlist[i]);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
H A DSDL_syscdrom.c45 static char *SDL_cdlist[MAX_DRIVES]; variable
113 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]);
121 SDL_cdlist[i] = SDL_strdup(drive);
122 if ( SDL_cdlist[i] == NULL ) {
243 return(SDL_cdlist[drive]);
248 return(open(SDL_cdlist[drive], (O_RDONLY|O_EXCL|O_NONBLOCK), 0));
410 SDL_free(SDL_cdlist[i]);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
H A DSDL_syscdrom.c47 static char *SDL_cdlist[MAX_DRIVES]; variable
130 SDL_cdlist[i] = SDL_strdup(drive);
131 if (SDL_cdlist[i] == NULL)
255 return(SDL_cdlist[drive]);
262 handle=open(SDL_cdlist[drive], QNX_CD_OPENMODE);
371 cdrom->id=open(SDL_cdlist[drive], QNX_CD_OPENMODE);
545 SDL_free(SDL_cdlist[i]);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/win32/
H A DSDL_syscdrom.c42 static char *SDL_cdlist[MAX_DRIVES]; variable
70 SDL_cdlist[i] = SDL_strdup(drive);
71 if ( SDL_cdlist[i] == NULL ) {
128 return(SDL_cdlist[drive]);
140 device[0] = *SDL_cdlist[drive];
379 SDL_free(SDL_cdlist[i]);
380 SDL_cdlist[i] = NULL;
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/
H A DSDL_syscdrom.c72 static char *SDL_cdlist[MAX_DRIVES]; variable
222 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]);
230 SDL_cdlist[i] = SDL_strdup(drive);
231 if ( SDL_cdlist[i] == NULL ) {
335 return(SDL_cdlist[drive]);
340 return(open(SDL_cdlist[drive], O_RDONLY | O_NONBLOCK | O_EXCL, 0));
536 SDL_free(SDL_cdlist[i]);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
H A DSDL_syscdrom.c95 static char *SDL_cdlist[MAX_DRIVES]; variable
165 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]);
173 SDL_cdlist[i] = SDL_strdup(drive);
174 if ( SDL_cdlist[i] == NULL ) {
392 return(SDL_cdlist[drive]);
397 return(open(SDL_cdlist[drive], (O_RDONLY|O_NONBLOCK), 0));
558 SDL_free(SDL_cdlist[i]);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/
H A DSDL_syscdrom.c44 static char *SDL_cdlist[MAX_DRIVES]; variable
116 fprintf(stderr, "Duplicate drive detected: %s == %s\n", drive, SDL_cdlist[i]);
124 SDL_cdlist[i] = SDL_strdup(drive);
125 if ( SDL_cdlist[i] == NULL ) {
235 return(SDL_cdlist[drive]);
241 return(open(SDL_cdlist[drive], (O_RDWR|O_NDELAY), 0));
438 SDL_free(SDL_cdlist[i]);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/os2/
H A DSDL_syscdrom.c42 static char *SDL_cdlist[MAX_DRIVES]; variable
92 /* Get and Add their system name to the SDL_cdlist */
100 SDL_cdlist[i] = SDL_strdup(SysInfoRet);
101 if ( SDL_cdlist[i] == NULL )
113 return(SDL_cdlist[drive]);
126 mop.pszDeviceType = (PSZ)SDL_cdlist[drive]; // CDAudio Device
387 SDL_free(SDL_cdlist[i]);

Completed in 89 milliseconds