Home
last modified time | relevance | path

Searched refs:numtracks (Results 1 – 18 of 18) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/
DSDL_syscdrom.c255 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/
DSDL_syscdrom.c64 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()
DCDPlayer.c240 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/
DSDL_syscdrom.c260 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/
DSDL_syscdrom.c251 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/
DSDL_syscdrom.c176 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/
DSDL_syscdrom.c180 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/
DSDL_syscdrom.c280 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/
DSDL_cdrom.c145 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/
DSDL_syscdrom.c408 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/
DSDL_syscdrom.c161 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/
DSDL_syscdrom.c174 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/
DSDL_syscdrom.c481 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/
DSDL_syscdrom.cc289 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/
DSDL_syscdrom.c85 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/
Dtestcdrom.c57 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/
DSDL_cdrom.h85 int numtracks; /**< Number of tracks on disk */ member
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/
DSDL_syscdrom.c359 cdrom->numtracks = ntracks; in SDL_SYS_CDGetTOC()