Searched refs:drive (Results 1 - 25 of 326) sorted by last modified time

1234567891011>>

/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_math.h299 /* drive coef is given as int.frac */
303 #define MULT_AUDIO_DRIVE(audio,drive) /*lint -e(702) <avoid divide for performance>*/ \
306 ((EAS_I32)(audio)) * ((EAS_I32)(drive)) \
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_math.h299 /* drive coef is given as int.frac */
303 #define MULT_AUDIO_DRIVE(audio,drive) /*lint -e(702) <avoid divide for performance>*/ \
306 ((EAS_I32)(audio)) * ((EAS_I32)(drive)) \
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_math.h299 /* drive coef is given as int.frac */
303 #define MULT_AUDIO_DRIVE(audio,drive) /*lint -e(702) <avoid divide for performance>*/ \
306 ((EAS_I32)(audio)) * ((EAS_I32)(drive)) \
/external/robolectric/lib/main/
H A Dsqlite-jdbc-3.7.2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org. ...
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_cdrom.h58 /** The possible states which a CD-ROM drive can be in. */
67 /** Given a status, returns true if there's a disk in the drive */
80 int id; /**< Private drive identifier */
81 CDstatus status; /**< Current drive status */
83 /** The rest of this structure is only valid if there's a CD in drive */
123 extern DECLSPEC const char * SDLCALL SDL_CDName(int drive);
126 * Opens a CD-ROM drive for access. It returns a drive handle on success,
127 * or NULL if the drive was invalid or busy. This newly opened CD-ROM
132 extern DECLSPEC SDL_CD * SDLCALL SDL_CDOpen(int drive);
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/
H A DSDL_cdrom.c91 const char *SDL_CDName(int drive) argument
96 if ( drive >= SDL_numcds ) {
97 SDL_SetError("Invalid CD-ROM drive index");
101 return(SDL_CDcaps.Name(drive));
107 SDL_CD *SDL_CDOpen(int drive) argument
114 if ( drive >= SDL_numcds ) {
115 SDL_SetError("Invalid CD-ROM drive index");
124 cdrom->id = SDL_CDcaps.Open(drive);
144 /* Get the current status of the drive */
157 /* If the drive i
[all...]
H A DSDL_syscdrom.h28 /* Get the name of the specified drive */
29 const char *(*Name)(int drive);
31 /* Open the specified drive, returning a drive id, or -1 on error */
32 int (*Open)(int drive);
41 drive. 'position' may be NULL, and if so, should be ignored.
60 /* Close the specified drive */
/external/qemu/distrib/sdl-1.2.15/src/cdrom/aix/
H A DSDL_syscdrom.c57 static const char *SDL_SYS_CDName(int drive);
58 static int SDL_SYS_CDOpen(int drive);
69 /* Check a drive to see if it is a CD-ROM */
70 static int CheckDrive(char *drive, struct stat *stbuf) argument
78 if ( stat(drive, stbuf) < 0 ) {
85 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0);
103 fprintf(stderr, "Could not open drive %s (%s)\n", drive, strerror(errno));
110 /* Add a CD-ROM drive to our list of valid drives */
111 static void AddDrive(char *drive, struc argument
356 SDL_SYS_CDName(int drive) argument
361 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
H A DSDL_syscdrom.cc68 static const char *SDL_SYS_CDName(int drive);
69 static int SDL_SYS_CDOpen(int drive);
81 /* Check a drive to see if it is a CD-ROM */
82 static int CheckDrive(char *drive) argument
89 if ( stat(drive, &stbuf) < 0 ) {
95 cdfd = open(drive, 0);
104 /* This can happen when the drive is open .. (?) */;
110 /* Add a CD-ROM drive to our list of valid drives */
111 static void AddDrive(char *drive) argument
117 /* Add this drive t
273 SDL_SYS_CDName(int drive) argument
278 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/
H A DSDL_syscdrom.c76 static const char *SDL_SYS_CDName(int drive);
77 static int SDL_SYS_CDOpen(int drive);
188 /* Check a drive to see if it is a CD-ROM */
189 static int CheckDrive(char *drive, struct stat *stbuf) argument
195 if ( stat(drive, stbuf) < 0 ) {
200 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0);
210 /* Add a CD-ROM drive to our list of valid drives */
211 static void AddDrive(char *drive, struct stat *stbuf) argument
217 This can happen when we see a drive via symbolic link.
222 fprintf(stderr, "Duplicate drive detecte
251 char drive[32]; local
333 SDL_SYS_CDName(int drive) argument
338 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/dc/
H A DSDL_syscdrom.c35 static const char *SDL_SYS_CDName(int drive);
36 static int SDL_SYS_CDOpen(int drive);
64 static const char *SDL_SYS_CDName(int drive) argument
69 static int SDL_SYS_CDOpen(int drive) argument
71 return(drive);
/external/qemu/distrib/sdl-1.2.15/src/cdrom/freebsd/
H A DSDL_syscdrom.c47 static const char *SDL_SYS_CDName(int drive);
48 static int SDL_SYS_CDOpen(int drive);
62 /* Check a drive to see if it is a CD-ROM */
63 static int CheckDrive(char *drive, struct stat *stbuf) argument
69 if ( stat(drive, stbuf) < 0 ) {
76 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0);
96 /* Add a CD-ROM drive to our list of valid drives */
97 static void AddDrive(char *drive, struct stat *stbuf) argument
103 This can happen when we see a drive via symbolic link.
108 fprintf(stderr, "Duplicate drive detecte
138 char drive[32]; local
232 SDL_SYS_CDName(int drive) argument
237 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
H A DSDL_syscdrom.c99 static const char *SDL_SYS_CDName(int drive);
100 static int SDL_SYS_CDOpen(int drive);
118 /* Check a drive to see if it is a CD-ROM */
119 static int CheckDrive(char *drive, char *mnttype, struct stat *stbuf) argument
125 if ( stat(drive, stbuf) < 0 ) {
132 cdfd = open(drive, (O_RDONLY|O_NONBLOCK), 0);
153 /* Add a CD-ROM drive to our list of valid drives */
154 static void AddDrive(char *drive, struct stat *stbuf) argument
160 This can happen when we see a drive via symbolic link.
165 fprintf(stderr, "Duplicate drive detecte
267 char drive[32]; local
390 SDL_SYS_CDName(int drive) argument
395 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macos/
H A DSDL_syscdrom.c56 static const char *SDL_SYS_CDName(int drive);
57 static int SDL_SYS_CDOpen(int drive);
119 /* Record the basic info for each drive */
129 static const char *SDL_SYS_CDName(int drive) argument
131 return(SDL_cdlist[drive].name);
134 static int get_drivenum(int drive) argument
139 /* Update the drive number */
140 SDL_cdlist[drive].driveNum = 0;
146 if ( driveElem->dQRefNum == SDL_cdlist[drive].dRefNum ) {
147 SDL_cdlist[drive]
154 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
H A DSDL_syscdrom.c39 static int currentDrive; /* Only allow 1 drive in use at a time */
43 static const char *SDL_SYS_CDName (int drive);
44 static int SDL_SYS_CDOpen (int drive);
264 static const char *SDL_SYS_CDName (int drive) argument
282 pb.ioParam.ioVRefNum = volumes[drive];
297 static int SDL_SYS_CDOpen (int drive) argument
305 currentDrive = drive;
307 return drive;
/external/qemu/distrib/sdl-1.2.15/src/cdrom/mint/
H A DSDL_syscdrom.c53 metaopen_t metaopen; /* Infos on opened drive */
59 static const char *SDL_SYS_CDName(int drive);
60 static int SDL_SYS_CDOpen(int drive);
136 static const char *SDL_SYS_CDName(int drive) argument
138 return(metados_drives[drive].device);
141 static int SDL_SYS_CDOpen(int drive) argument
145 handle = Metaopen(metados_drives[drive].device[0], &(metados_drives[drive].metaopen));
147 return drive;
250 /* Workaround buggy CD-ROM drive */
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/openbsd/
H A DSDL_syscdrom.c49 static const char *SDL_SYS_CDName(int drive);
50 static int SDL_SYS_CDOpen(int drive);
65 /* Check a drive to see if it is a CD-ROM */
66 static int CheckDrive(char *drive, struct stat *stbuf) argument
72 if ( stat(drive, stbuf) < 0 ) {
79 cdfd = open(drive, (O_RDONLY|O_EXCL|O_NONBLOCK), 0);
101 /* Add a CD-ROM drive to our list of valid drives */
102 static void AddDrive(char *drive, struct stat *stbuf) argument
108 This can happen when we see a drive via symbolic link.
113 fprintf(stderr, "Duplicate drive detecte
147 char drive[32]; local
241 SDL_SYS_CDName(int drive) argument
246 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/os2/
H A DSDL_syscdrom.c46 static const char *SDL_SYS_CDName(int drive);
47 static int SDL_SYS_CDOpen(int drive);
111 static const char *SDL_SYS_CDName(int drive) argument
113 return(SDL_cdlist[drive]);
117 static int SDL_SYS_CDOpen(int drive) argument
126 mop.pszDeviceType = (PSZ)SDL_cdlist[drive]; // CDAudio Device
/external/qemu/distrib/sdl-1.2.15/src/cdrom/osf/
H A DSDL_syscdrom.c48 static const char *SDL_SYS_CDName(int drive);
49 static int SDL_SYS_CDOpen(int drive);
59 /* Check a drive to see if it is a CD-ROM */
61 static int CheckDrive(char *drive, struct stat *stbuf) argument
76 if ( stat(drive, stbuf) < 0 ) {
80 if ( (cdfd = open(drive, (O_RDWR|O_NDELAY), 0)) >= 0 ) {
103 /* Add a CD-ROM drive to our list of valid drives */
104 static void AddDrive(char *drive, struct stat *stbuf) argument
110 * This can happen when we see a drive via symbolic link.
116 fprintf(stderr, "Duplicate drive detecte
155 char drive[32]; local
233 SDL_SYS_CDName(int drive) argument
238 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/qnx/
H A DSDL_syscdrom.c52 static const char *SDL_SYS_CDName(int drive);
53 static int SDL_SYS_CDOpen(int drive);
63 /* Check a drive to see if it is a CD-ROM */
64 static int CheckDrive(char *drive, struct stat *stbuf) argument
75 if (stat(drive, stbuf) < 0)
85 cdfd = open(drive, QNX_CD_OPENMODE);
109 /* Add a CD-ROM drive to our list of valid drives */
110 static void AddDrive(char *drive, struct stat *stbuf) argument
117 This can happen when we see a drive via symbolic link. */
127 /* Add this drive t
148 char drive[32]; local
253 SDL_SYS_CDName(int drive) argument
258 SDL_SYS_CDOpen(int drive) argument
324 int drive=-1; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/cdrom/win32/
H A DSDL_syscdrom.c50 static const char *SDL_SYS_CDName(int drive);
51 static int SDL_SYS_CDOpen(int drive);
62 /* Add a CD-ROM drive to our list of valid drives */
63 static void AddDrive(char *drive) argument
68 /* Add this drive to our list */
70 SDL_cdlist[i] = SDL_strdup(drive);
77 fprintf(stderr, "Added CD-ROM drive: %s\n", drive);
86 char drive[4]; local
102 SDL_snprintf(drive, SDL_arraysiz
126 SDL_SYS_CDName(int drive) argument
131 SDL_SYS_CDOpen(int drive) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA1/
H A DSDL_epocevents.cpp307 TInt drive = -1; local
309 for(TInt i = 'z'; drive < 0 && i >= 'a'; i--)
313 drive = i;
315 if(drive < 0)
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestcdrom.c81 fprintf(stderr, "Usage: %s [drive#] [command] [command] ...\n", argv0);
95 int drive; local
116 drive = 0;
119 drive = atoi(argv[i++]);
121 cdrom = SDL_CDOpen(drive);
123 fprintf(stderr, "Couldn't open drive %d: %s\n", drive,
134 /* PrintStatus(drive, cdrom); */
167 fprintf(stderr, "No CD in drive!\n");
204 PrintStatus(drive, cdro
[all...]
/external/qemu-pc-bios/bochs/bios/
H A Dnotes16 dl (bit 0) --> bit 4 # drive number
24 * drive sets the busy bit in Status Reg to 1
26 > drive sets the aborted-command bit in the Error register and
31 > drive executes an implied seek to desired track and
34 transferred, the drive sets the data-request bit to 1, sets
37 the data, the drive sets the data-request bit and the busy bit to 0.
39 the first sector of data, the drive sets the data-request bit to 0,
41 transferred, the drive sets the data-request bit to 1, the busy bit to 0,
43 the drive sets the data-request bit and busy bit to 0.
H A Drombios.c117 // - cdrom drive is hardcoded to ide 0 device 1 in several places. see "FIXME ElTorito Hardcoded"
1980 /* Floppy drive */
2106 if (type == 0 || type > 0x4) BX_PANIC("Bad drive type\n");
2127 if (type == 0 || type > 0x3) BX_PANIC("Bad drive type\n");
3588 // Returns ah: emulated drive, al: error code
3730 // return the boot drive + no error
5322 case 0x08: /* read disk drive parameters */
5342 case 0x10: /* check drive ready */
5356 case 0x15: /* read disk drive size */
5425 case 0x45: // IBM/MS lock/unlock drive
6305 Bit8u drive, num_sectors, sector, head, status, mod; local
7150 Bit8u drive, num_sectors, track, sector, head, status; local
[all...]

Completed in 403 milliseconds

1234567891011>>