/external/qemu/distrib/sdl-1.2.12/src/cdrom/freebsd/ |
SDL_syscdrom.c | 131 /* checklist: /dev/cdrom,/dev/cd?c /dev/acd?c 133 static char *checklist[] = { local 186 for ( i=0; checklist[i]; ++i ) { 187 if ( checklist[i][0] == '?' ) { 190 for ( j=checklist[i][1]; exists; ++j ) { 191 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%sc", &checklist[i][3]); 211 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", checklist[i]);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/openbsd/ |
SDL_syscdrom.c | 136 static char *checklist[] = { local 195 for ( i=0; checklist[i]; ++i ) { 196 if ( checklist[i][0] == '?' ) { 199 for ( j=checklist[i][1]; exists; ++j ) { 200 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", &checklist[i][3]); 220 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", checklist[i]);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/qnx/ |
SDL_syscdrom.c | 143 /* checklist: /dev/cdrom, /dev/cd?, /dev/scd? */ 144 static char *checklist[]={"cdrom", "?0 cd?", "?1 cd?", "?0 scd?", NULL}; local 210 for ( i=0; checklist[i]; ++i ) 212 if (checklist[i][0] == '?') 217 for ( j=checklist[i][1]; exists; ++j ) 219 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", &checklist[i][3]); 243 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", checklist[i]);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/ |
SDL_syscdrom.c | 139 /* checklist: 151 } checklist[] = { local 205 for ( i = 0; checklist[i].dir; ++i) { 210 devdir = opendir(checklist[i].dir); 212 name_len = SDL_strlen(checklist[i].name); 214 if (SDL_memcmp(checklist[i].name, devent->d_name, name_len) == 0) 216 SDL_snprintf(drive, SDL_arraysize(drive), "%s/%s", checklist[i].dir, devent->d_name); 226 fprintf(stderr, "cannot open dir: %s\n", checklist[i].dir);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/bsdi/ |
SDL_syscdrom.c | 245 /* checklist: /dev/rsr?c */ 246 static char *checklist[] = { local 299 for ( i=0; checklist[i]; ++i ) { 300 if ( checklist[i][0] == '?' ) { 303 for ( j=checklist[i][1]; exists; ++j ) { 304 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%sc", &checklist[i][3]); 324 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", checklist[i]);
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/linux/ |
SDL_syscdrom.c | 261 /* checklist: /dev/cdrom, /dev/hd?, /dev/scd? /dev/sr? */ 262 static char *checklist[] = { local 338 for ( i=0; checklist[i]; ++i ) { 339 if ( checklist[i][0] == '?' ) { 342 for ( j=checklist[i][1]; exists; ++j ) { 343 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", &checklist[i][3]); 366 SDL_snprintf(drive, SDL_arraysize(drive), "/dev/%s", checklist[i]);
|