/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/ |
D | SDL_syscdrom.c | 255 cdrom->numtracks = hdr.th_ending_track - hdr.th_starting_track + 1; in SDL_SYS_CDGetTOC() 256 if ( cdrom->numtracks > SDL_MAX_TRACKS ) { in SDL_SYS_CDGetTOC() 257 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 264 fprintf(stderr,"cdrom->numtracks = %d\n", cdrom->numtracks); in SDL_SYS_CDGetTOC() 282 for (i=0; i <= cdrom->numtracks; ++i) { in SDL_SYS_CDGetTOC() 283 if (i == cdrom->numtracks ) { in SDL_SYS_CDGetTOC() 304 for (i = 0; i <= cdrom->numtracks; i++) { in SDL_SYS_CDGetTOC() 313 if ( i == (cdrom->numtracks+1) ) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/ |
D | SDL_syscdrom.c | 64 tracks[cdrom->id] = (FSRef*) SDL_calloc (1, sizeof(**tracks) * cdrom->numtracks); in LoadTracks() 71 if (ListTrackFiles (volumes[cdrom->id], tracks[cdrom->id], cdrom->numtracks) < 0) in LoadTracks() 82 for (i = 0; i < cdrom->numtracks; i++) { in GetFileForOffset() 89 if (i == cdrom->numtracks) in GetFileForOffset() 319 cdrom->numtracks = cacheTOCNumTracks; in SDL_SYS_CDGetTOC() 326 cacheTOCNumTracks = cdrom->numtracks; in SDL_SYS_CDGetTOC()
|
D | CDPlayer.c | 240 theCD->numtracks = 0; in ReadTOCData() 276 int idx = theCD->numtracks++; in ReadTOCData() 295 theCD->track[theCD->numtracks-1].length = in ReadTOCData() 296 value - theCD->track[theCD->numtracks-1].offset; in ReadTOCData() 299 theCD->track[theCD->numtracks].offset = value; in ReadTOCData()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/ |
D | SDL_syscdrom.c | 260 cdrom->numtracks = toc.ending_track-toc.starting_track+1; in SDL_SYS_CDGetTOC() 261 if ( cdrom->numtracks > SDL_MAX_TRACKS ) { in SDL_SYS_CDGetTOC() 262 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 265 for ( i=0; i<=cdrom->numtracks; ++i ) { in SDL_SYS_CDGetTOC() 266 if ( i == cdrom->numtracks ) { in SDL_SYS_CDGetTOC() 292 if ( i == (cdrom->numtracks+1) ) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/ |
D | SDL_syscdrom.c | 251 cdrom->numtracks = toc.ending_track-toc.starting_track+1; in SDL_SYS_CDGetTOC() 252 if ( cdrom->numtracks > SDL_MAX_TRACKS ) { in SDL_SYS_CDGetTOC() 253 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 256 for ( i=0; i<=cdrom->numtracks; ++i ) { in SDL_SYS_CDGetTOC() 257 if ( i == cdrom->numtracks ) { in SDL_SYS_CDGetTOC() 283 if ( i == (cdrom->numtracks+1) ) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/ |
D | SDL_syscdrom.c | 176 cdrom->numtracks = in SDL_SYS_CDGetTOC() 179 if ( cdrom->numtracks > SDL_MAX_TRACKS ) in SDL_SYS_CDGetTOC() 180 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 210 cdpb.csParam.words[3] = cdrom->numtracks * sizeof(tracks[0]); in SDL_SYS_CDGetTOC() 219 for ( i=0; i<cdrom->numtracks; ++i ) in SDL_SYS_CDGetTOC() 271 cdrom->numtracks = in SDL_SYS_CDStatus() 274 if ( cdrom->numtracks > SDL_MAX_TRACKS ) in SDL_SYS_CDStatus() 275 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDStatus() 386 SDL_SYS_ShortToBCD(cdrom->numtracks); in SDL_SYS_CDPlay()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/mint/ |
D | SDL_syscdrom.c | 180 cdrom->numtracks = toc.cdth_trk1-toc.cdth_trk0+1; in SDL_SYS_CDGetTOC() 181 if ( cdrom->numtracks > SDL_MAX_TRACKS ) { in SDL_SYS_CDGetTOC() 182 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 187 for ( i=0; i<=cdrom->numtracks; ++i ) { in SDL_SYS_CDGetTOC() 188 if ( i == cdrom->numtracks ) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/ |
D | SDL_syscdrom.c | 280 cdrom->numtracks = toc.last_track - toc.first_track + 1; in SDL_SYS_CDGetTOC() 281 if (cdrom->numtracks > SDL_MAX_TRACKS) in SDL_SYS_CDGetTOC() 283 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 286 for (i=0; i<=cdrom->numtracks; ++i) in SDL_SYS_CDGetTOC() 288 if (i == cdrom->numtracks) in SDL_SYS_CDGetTOC() 306 if (i == (cdrom->numtracks+1)) in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/ |
D | SDL_cdrom.c | 145 cdrom->numtracks = 0; in SDL_CDStatus() 186 if ( (strack < 0) || (strack >= cdrom->numtracks) ) { in SDL_CDPlayTracks() 191 etrack = cdrom->numtracks; in SDL_CDPlayTracks() 201 if ( etrack > cdrom->numtracks ) { in SDL_CDPlayTracks()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/ |
D | SDL_syscdrom.c | 408 cdrom->numtracks = toc.cdth_trk1-toc.cdth_trk0+1; in SDL_SYS_CDGetTOC() 409 if ( cdrom->numtracks > SDL_MAX_TRACKS ) { in SDL_SYS_CDGetTOC() 410 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 413 for ( i=0; i<=cdrom->numtracks; ++i ) { in SDL_SYS_CDGetTOC() 414 if ( i == cdrom->numtracks ) { in SDL_SYS_CDGetTOC() 442 if ( i == (cdrom->numtracks+1) ) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/os2/ |
D | SDL_syscdrom.c | 161 cdrom->numtracks = msp.ulReturn; in SDL_SYS_CDGetTOC() 162 if ( cdrom->numtracks > SDL_MAX_TRACKS ) in SDL_SYS_CDGetTOC() 164 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 167 mtr = (MCI_TOC_REC *)SDL_malloc(cdrom->numtracks*sizeof(MCI_TOC_REC)); in SDL_SYS_CDGetTOC() 175 mtp.ulBufSize = cdrom->numtracks*sizeof(MCI_TOC_REC); in SDL_SYS_CDGetTOC() 183 for (i=0; i<cdrom->numtracks; i++) in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/win32/ |
D | SDL_syscdrom.c | 174 cdrom->numtracks = mci_status.dwReturn; in SDL_SYS_CDGetTOC() 175 if ( cdrom->numtracks > SDL_MAX_TRACKS ) { in SDL_SYS_CDGetTOC() 176 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 180 for ( i=0; i<cdrom->numtracks; ++i ) { in SDL_SYS_CDGetTOC() 213 if ( i == cdrom->numtracks ) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/ |
D | SDL_syscdrom.c | 481 cdrom->numtracks = cmd.indexing.track_index.last_track in SDL_SYS_CDGetTOC() 483 if ( cdrom->numtracks > SDL_MAX_TRACKS ) { in SDL_SYS_CDGetTOC() 484 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 488 for ( i=0; i<=cdrom->numtracks; ++i ) { in SDL_SYS_CDGetTOC() 489 if ( i == cdrom->numtracks ) { in SDL_SYS_CDGetTOC() 511 if ( i == (cdrom->numtracks+1) ) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/ |
D | SDL_syscdrom.cc | 289 cdrom->numtracks = CD_NUMTRACKS(toc); in SDL_SYS_CDGetTOC() 290 if ( cdrom->numtracks > SDL_MAX_TRACKS ) { in SDL_SYS_CDGetTOC() 291 cdrom->numtracks = SDL_MAX_TRACKS; in SDL_SYS_CDGetTOC() 293 for ( i=0; i<=cdrom->numtracks; ++i ) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/dc/ |
D | SDL_syscdrom.c | 85 cdrom->numtracks = TOC_TRACK(toc.last)-TOC_TRACK(toc.first)+1; in SDL_SYS_CDGetTOC() 86 for(i=0;i<cdrom->numtracks;i++) { in SDL_SYS_CDGetTOC()
|
/external/qemu/distrib/sdl-1.2.15/test/ |
D | testcdrom.c | 57 printf("Drive tracks: %d\n", cdrom->numtracks); in ListTracks() 58 for ( i=0; i<cdrom->numtracks; ++i ) { in ListTracks()
|
/external/qemu/distrib/sdl-1.2.15/include/ |
D | SDL_cdrom.h | 85 int numtracks; /**< Number of tracks on disk */ member
|
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/ |
D | SDL_syscdrom.c | 359 cdrom->numtracks = ntracks; in SDL_SYS_CDGetTOC()
|