OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SDL_cdlist
(Results
1 - 11
of
11
) sorted by null
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/
SDL_syscdrom.c
52
}
SDL_cdlist
[MAX_DRIVES];
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
[drive].driveNum)
[
all
...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
SDL_syscdrom.cc
65
static char *
SDL_cdlist
[MAX_DRIVES];
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/
SDL_syscdrom.c
53
static char *
SDL_cdlist
[MAX_DRIVES];
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
[i])
[
all
...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
SDL_syscdrom.c
43
static char *
SDL_cdlist
[MAX_DRIVES];
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/
SDL_syscdrom.c
45
static char *
SDL_cdlist
[MAX_DRIVES];
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/
SDL_syscdrom.c
47
static char *
SDL_cdlist
[MAX_DRIVES];
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/
SDL_syscdrom.c
42
static char *
SDL_cdlist
[MAX_DRIVES];
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/
SDL_syscdrom.c
72
static char *
SDL_cdlist
[MAX_DRIVES];
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/
SDL_syscdrom.c
95
static char *
SDL_cdlist
[MAX_DRIVES];
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/
SDL_syscdrom.c
44
static char *
SDL_cdlist
[MAX_DRIVES];
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/
SDL_syscdrom.c
42
static char *
SDL_cdlist
[MAX_DRIVES];
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 956 milliseconds