Home
last modified time | relevance | path

Searched refs:cdrom (Results 1 – 25 of 43) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/src/cdrom/
DSDL_cdrom.c65 static int CheckInit(int check_cdrom, SDL_CD **cdrom) in CheckInit() argument
70 if ( check_cdrom && (*cdrom == NULL) ) { in CheckInit()
71 *cdrom = default_cdrom; in CheckInit()
72 if ( *cdrom == NULL ) { in CheckInit()
109 struct SDL_CD *cdrom; in SDL_CDOpen() local
118 cdrom = (SDL_CD *)SDL_malloc(sizeof(*cdrom)); in SDL_CDOpen()
119 if ( cdrom == NULL ) { in SDL_CDOpen()
123 SDL_memset(cdrom, 0, sizeof(*cdrom)); in SDL_CDOpen()
124 cdrom->id = SDL_CDcaps.Open(drive); in SDL_CDOpen()
125 if ( cdrom->id < 0 ) { in SDL_CDOpen()
[all …]
DSDL_syscdrom.h38 int (*GetTOC)(SDL_CD *cdrom);
43 CDstatus (*Status)(SDL_CD *cdrom, int *position);
46 int (*Play)(SDL_CD *cdrom, int start, int len);
49 int (*Pause)(SDL_CD *cdrom);
52 int (*Resume)(SDL_CD *cdrom);
55 int (*Stop)(SDL_CD *cdrom);
58 int (*Eject)(SDL_CD *cdrom);
61 void (*Close)(SDL_CD *cdrom);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DSDL_syscdrom.c45 static int SDL_SYS_CDGetTOC (SDL_CD *cdrom);
46 static CDstatus SDL_SYS_CDStatus (SDL_CD *cdrom, int *position);
47 static int SDL_SYS_CDPlay (SDL_CD *cdrom, int start, int length);
48 static int SDL_SYS_CDPause (SDL_CD *cdrom);
49 static int SDL_SYS_CDResume (SDL_CD *cdrom);
50 static int SDL_SYS_CDStop (SDL_CD *cdrom);
51 static int SDL_SYS_CDEject (SDL_CD *cdrom);
52 static void SDL_SYS_CDClose (SDL_CD *cdrom);
57 static int LoadTracks (SDL_CD *cdrom) in LoadTracks() argument
60 if ( tracks[cdrom->id] != NULL ) in LoadTracks()
[all …]
DCDPlayer.h41 typedef void (*CDPlayerCompletionProc)(SDL_CD *cdrom) ;
55 void SetCompletionProc (CDPlayerCompletionProc proc, SDL_CD *cdrom);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/win32/
DSDL_syscdrom.c52 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
53 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
54 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
55 static int SDL_SYS_CDPause(SDL_CD *cdrom);
56 static int SDL_SYS_CDResume(SDL_CD *cdrom);
57 static int SDL_SYS_CDStop(SDL_CD *cdrom);
58 static int SDL_SYS_CDEject(SDL_CD *cdrom);
59 static void SDL_SYS_CDClose(SDL_CD *cdrom);
164 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
173 if ( SDL_SYS_CDioctl(cdrom->id, MCI_STATUS, flags, &mci_status) == 0 ) { in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/mint/
DSDL_syscdrom.c61 static void SDL_SYS_CDClose(SDL_CD *cdrom);
63 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
64 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
65 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
66 static int SDL_SYS_CDPause(SDL_CD *cdrom);
67 static int SDL_SYS_CDResume(SDL_CD *cdrom);
68 static int SDL_SYS_CDStop(SDL_CD *cdrom);
69 static int SDL_SYS_CDEject(SDL_CD *cdrom);
153 static void SDL_SYS_CDClose(SDL_CD *cdrom) in SDL_SYS_CDClose() argument
155 Metaclose(metados_drives[cdrom->id].device[0]); in SDL_SYS_CDClose()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/
DSDL_syscdrom.c58 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
59 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
60 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
61 static int SDL_SYS_CDPause(SDL_CD *cdrom);
62 static int SDL_SYS_CDResume(SDL_CD *cdrom);
63 static int SDL_SYS_CDStop(SDL_CD *cdrom);
64 static int SDL_SYS_CDEject(SDL_CD *cdrom);
65 static void SDL_SYS_CDClose(SDL_CD *cdrom);
159 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
167 cdpb.ioVRefNum = SDL_cdlist[cdrom->id].driveNum; in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
DSDL_syscdrom.c51 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
52 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
53 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
54 static int SDL_SYS_CDPause(SDL_CD *cdrom);
55 static int SDL_SYS_CDResume(SDL_CD *cdrom);
56 static int SDL_SYS_CDStop(SDL_CD *cdrom);
57 static int SDL_SYS_CDEject(SDL_CD *cdrom);
58 static void SDL_SYS_CDClose(SDL_CD *cdrom);
251 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
259 if ( SDL_SYS_CDioctl(cdrom->id, CDIOREADTOCHEADER, &toc) == 0 ) { in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
DSDL_syscdrom.c49 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
50 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
51 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
52 static int SDL_SYS_CDPause(SDL_CD *cdrom);
53 static int SDL_SYS_CDResume(SDL_CD *cdrom);
54 static int SDL_SYS_CDStop(SDL_CD *cdrom);
55 static int SDL_SYS_CDEject(SDL_CD *cdrom);
56 static void SDL_SYS_CDClose(SDL_CD *cdrom);
242 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
250 if ( SDL_SYS_CDioctl(cdrom->id, CDIOREADTOCHEADER, &toc) == 0 ) { in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/test/
Dtestcdrom.c18 static void PrintStatus(int driveindex, SDL_CD *cdrom) in PrintStatus() argument
23 status = SDL_CDStatus(cdrom); in PrintStatus()
44 FRAMES_TO_MSF(cdrom->cur_frame, &m, &s, &f); in PrintStatus()
46 cdrom->track[cdrom->cur_track].id, m, s); in PrintStatus()
50 static void ListTracks(SDL_CD *cdrom) in ListTracks() argument
56 SDL_CDStatus(cdrom); in ListTracks()
57 printf("Drive tracks: %d\n", cdrom->numtracks); in ListTracks()
58 for ( i=0; i<cdrom->numtracks; ++i ) { in ListTracks()
59 FRAMES_TO_MSF(cdrom->track[i].length, &m, &s, &f); in ListTracks()
62 switch(cdrom->track[i].type) in ListTracks()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
DSDL_syscdrom.c54 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
55 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
56 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
57 static int SDL_SYS_CDPause(SDL_CD *cdrom);
58 static int SDL_SYS_CDResume(SDL_CD *cdrom);
59 static int SDL_SYS_CDStop(SDL_CD *cdrom);
60 static int SDL_SYS_CDEject(SDL_CD *cdrom);
61 static void SDL_SYS_CDClose(SDL_CD *cdrom);
272 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
278 if (devctl(cdrom->id, DCMD_CAM_CDROMREADTOC, &toc, sizeof(toc), NULL) == 0) in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/dc/
DSDL_syscdrom.c37 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
38 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
39 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
40 static int SDL_SYS_CDPause(SDL_CD *cdrom);
41 static int SDL_SYS_CDResume(SDL_CD *cdrom);
42 static int SDL_SYS_CDStop(SDL_CD *cdrom);
43 static int SDL_SYS_CDEject(SDL_CD *cdrom);
44 static void SDL_SYS_CDClose(SDL_CD *cdrom);
75 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
85 cdrom->numtracks = TOC_TRACK(toc.last)-TOC_TRACK(toc.first)+1; in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/
DSDL_syscdrom.c50 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
51 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
52 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
53 static int SDL_SYS_CDPause(SDL_CD *cdrom);
54 static int SDL_SYS_CDResume(SDL_CD *cdrom);
55 static int SDL_SYS_CDStop(SDL_CD *cdrom);
56 static int SDL_SYS_CDEject(SDL_CD *cdrom);
57 static void SDL_SYS_CDClose(SDL_CD *cdrom);
244 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
251 if ( ioctl(cdrom->id, CDROM_TOC_HEADER, &hdr) ) { in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
DSDL_syscdrom.cc70 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
71 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
72 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
73 static int SDL_SYS_CDPause(SDL_CD *cdrom);
74 static int SDL_SYS_CDResume(SDL_CD *cdrom);
75 static int SDL_SYS_CDStop(SDL_CD *cdrom);
76 static int SDL_SYS_CDEject(SDL_CD *cdrom);
77 static void SDL_SYS_CDClose(SDL_CD *cdrom);
283 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
288 if ( SDL_SYS_CDioctl(cdrom->id, B_SCSI_GET_TOC, &toc) == 0 ) { in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/os2/
DSDL_syscdrom.c48 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
49 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
50 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
51 static int SDL_SYS_CDPause(SDL_CD *cdrom);
52 static int SDL_SYS_CDResume(SDL_CD *cdrom);
53 static int SDL_SYS_CDStop(SDL_CD *cdrom);
54 static int SDL_SYS_CDEject(SDL_CD *cdrom);
55 static void SDL_SYS_CDClose(SDL_CD *cdrom);
145 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
153 if (cdrom->status == CD_PLAYING || cdrom->status == CD_PAUSED) return 0; in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
DSDL_syscdrom.c101 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
102 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
103 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
104 static int SDL_SYS_CDPause(SDL_CD *cdrom);
105 static int SDL_SYS_CDResume(SDL_CD *cdrom);
106 static int SDL_SYS_CDStop(SDL_CD *cdrom);
107 static int SDL_SYS_CDEject(SDL_CD *cdrom);
108 static void SDL_SYS_CDClose(SDL_CD *cdrom);
400 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
407 if ( SDL_SYS_CDioctl(cdrom->id, CDROMREADTOCHDR, &toc) == 0 ) { in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/
DSDL_syscdrom.c78 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
79 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
80 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
81 static int SDL_SYS_CDPause(SDL_CD *cdrom);
82 static int SDL_SYS_CDResume(SDL_CD *cdrom);
83 static int SDL_SYS_CDStop(SDL_CD *cdrom);
84 static int SDL_SYS_CDEject(SDL_CD *cdrom);
85 static void SDL_SYS_CDClose(SDL_CD *cdrom);
343 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
353 sts = scsi_cmd(cdrom->id, (cdb_t *)cdb, 10, SUC_READ, buf, 4, &sus); in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
DSDL_syscdrom.c59 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom);
60 static CDstatus SDL_SYS_CDStatus(SDL_CD *cdrom, int *position);
61 static int SDL_SYS_CDPlay(SDL_CD *cdrom, int start, int length);
62 static int SDL_SYS_CDPause(SDL_CD *cdrom);
63 static int SDL_SYS_CDResume(SDL_CD *cdrom);
64 static int SDL_SYS_CDStop(SDL_CD *cdrom);
65 static int SDL_SYS_CDEject(SDL_CD *cdrom);
66 static void SDL_SYS_CDClose(SDL_CD *cdrom);
467 static int SDL_SYS_CDGetTOC(SDL_CD *cdrom) in SDL_SYS_CDGetTOC() argument
476 if ( SDL_SYS_CDioctl(cdrom->id, DKAUDIO, &cmd) < 0 ) { in SDL_SYS_CDGetTOC()
[all …]
/external/qemu/distrib/sdl-1.2.15/include/
DSDL_cdrom.h139 extern DECLSPEC CDstatus SDLCALL SDL_CDStatus(SDL_CD *cdrom);
163 extern DECLSPEC int SDLCALL SDL_CDPlayTracks(SDL_CD *cdrom,
170 extern DECLSPEC int SDLCALL SDL_CDPlay(SDL_CD *cdrom, int start, int length);
175 extern DECLSPEC int SDLCALL SDL_CDPause(SDL_CD *cdrom);
180 extern DECLSPEC int SDLCALL SDL_CDResume(SDL_CD *cdrom);
185 extern DECLSPEC int SDLCALL SDL_CDStop(SDL_CD *cdrom);
190 extern DECLSPEC int SDLCALL SDL_CDEject(SDL_CD *cdrom);
193 extern DECLSPEC void SDLCALL SDL_CDClose(SDL_CD *cdrom);
/external/qemu/distrib/sdl-1.2.15/
DMakefile.minimal13 src/cdrom/*.c \
25 src/cdrom/dummy/*.c \
DREADME.Porting30 src/cdrom/*.c
42 src/cdrom/dummy/*.c
DMakefile.dc24 src/cdrom/dc/SDL_syscdrom.c \
25 src/cdrom/SDL_cdrom.c \
/external/strace/linux/
Dioctlent.h.in657 {"linux/cdrom.h", "CDROMPAUSE", 0x5301},
659 {"linux/cdrom.h", "CDROMRESUME", 0x5302},
661 {"linux/cdrom.h", "CDROMPLAYMSF", 0x5303},
663 {"linux/cdrom.h", "CDROMPLAYTRKIND", 0x5304},
664 {"linux/cdrom.h", "CDROMREADTOCHDR", 0x5305},
665 {"linux/cdrom.h", "CDROMREADTOCENTRY", 0x5306},
666 {"linux/cdrom.h", "CDROMSTOP", 0x5307},
667 {"linux/cdrom.h", "CDROMSTART", 0x5308},
668 {"linux/cdrom.h", "CDROMEJECT", 0x5309},
669 {"linux/cdrom.h", "CDROMVOLCTRL", 0x530a},
[all …]
/external/chromium_org/net/data/ftp/
Ddir-listing-windows-2.expected11 cdrom
Ddir-listing-windows-22 01-06-09 04:25PM <DIR> cdrom

12