Searched refs:stbuf (Results 1 - 11 of 11) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/cdrom/freebsd/
H A DSDL_syscdrom.c63 static int CheckDrive(char *drive, struct stat *stbuf) argument
69 if ( stat(drive, stbuf) < 0 ) {
75 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
97 static void AddDrive(char *drive, struct stat *stbuf) argument
106 if ( stbuf->st_rdev == SDL_cdmode[i] ) {
121 SDL_cdmode[i] = stbuf->st_rdev;
139 struct stat stbuf; local
167 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) {
168 AddDrive(SDLcdrom, &stbuf);
[all...]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/openbsd/
H A DSDL_syscdrom.c66 static int CheckDrive(char *drive, struct stat *stbuf) argument
72 if ( stat(drive, stbuf) < 0 ) {
78 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
102 static void AddDrive(char *drive, struct stat *stbuf) argument
111 if ( stbuf->st_rdev == SDL_cdmode[i] ) {
126 SDL_cdmode[i] = stbuf->st_rdev;
148 struct stat stbuf; local
176 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) {
177 AddDrive(SDLcdrom, &stbuf);
[all...]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/qnx/
H A DSDL_syscdrom.c64 static int CheckDrive(char *drive, struct stat *stbuf) argument
75 if (stat(drive, stbuf) < 0)
83 if (S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode))
110 static void AddDrive(char *drive, struct stat *stbuf) argument
121 if (stbuf->st_rdev == SDL_cdmode[i])
136 SDL_cdmode[i] = stbuf->st_rdev;
149 struct stat stbuf; local
186 if (CheckDrive(SDLcdrom, &stbuf) > 0)
188 AddDrive(SDLcdrom, &stbuf);
[all...]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/aix/
H A DSDL_syscdrom.c70 static int CheckDrive(char *drive, struct stat *stbuf) argument
78 if ( stat(drive, stbuf) < 0 ) {
84 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
111 static void AddDrive(char *drive, struct stat *stbuf) argument
120 if ( stbuf->st_rdev == SDL_cdmode[i] ) {
135 SDL_cdmode[i] = stbuf->st_rdev;
198 struct stat stbuf; local
206 if ( CheckDrive( text, &stbuf) > 0)
208 AddDrive( text, &stbuf);
230 struct stat stbuf; local
289 struct stat stbuf; local
[all...]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/linux/
H A DSDL_syscdrom.c119 static int CheckDrive(char *drive, char *mnttype, struct stat *stbuf) argument
125 if ( stat(drive, stbuf) < 0 ) {
131 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) {
154 static void AddDrive(char *drive, struct stat *stbuf) argument
163 if ( stbuf->st_rdev == SDL_cdmode[i] ) {
178 SDL_cdmode[i] = stbuf->st_rdev;
191 struct stat stbuf; local
247 if (CheckDrive(mnt_dev, mnt_type, &stbuf) > 0) {
248 AddDrive(mnt_dev, &stbuf);
268 struct stat stbuf; local
[all...]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/bsdi/
H A DSDL_syscdrom.c189 static int CheckDrive(char *drive, struct stat *stbuf) argument
195 if ( stat(drive, stbuf) < 0 ) {
211 static void AddDrive(char *drive, struct stat *stbuf) argument
220 if ( stbuf->st_rdev == SDL_cdmode[i] ) {
235 SDL_cdmode[i] = stbuf->st_rdev;
252 struct stat stbuf; local
280 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) {
281 AddDrive(SDLcdrom, &stbuf);
309 switch (CheckDrive(drive, &stbuf)) {
312 AddDrive(drive, &stbuf);
[all...]
/external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/
H A DSDL_syscdrom.c61 static int CheckDrive(char *drive, struct stat *stbuf) argument
76 if ( stat(drive, stbuf) < 0 ) {
104 static void AddDrive(char *drive, struct stat *stbuf) argument
114 if ( stbuf->st_rdev == SDL_cdmode[i] ) {
129 SDL_cdmode[i] = stbuf->st_rdev;
158 struct stat stbuf; local
187 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) {
188 AddDrive(SDLcdrom, &stbuf);
220 if ( CheckDrive(drive, &stbuf) > 0 )
221 AddDrive(drive, &stbuf);
[all...]
/external/e2fsprogs/util/
H A Dsubst.c314 struct stat stbuf; local
383 if (stat(outfn, &stbuf) == 0) {
386 ut.actime = stbuf.st_atime;
/external/qemu/distrib/sdl-1.2.12/src/cdrom/beos/
H A DSDL_syscdrom.cc84 struct stat stbuf; local
89 if ( stat(drive, &stbuf) < 0 ) {
/external/dbus/bus/
H A Dbus.c288 DBusStat stbuf; local
292 if (_dbus_stat (&u, &stbuf, NULL))
/external/openssl/apps/
H A Dapps.c169 struct stat stbuf; local
171 if (stat(file,&stbuf) < 0) return(0);
180 len=(unsigned int)stbuf.st_size;

Completed in 360 milliseconds