/external/qemu/distrib/sdl-1.2.12/src/cdrom/linux/ |
D | SDL_syscdrom.c | 119 static int CheckDrive(char *drive, char *mnttype, struct stat *stbuf) in CheckDrive() argument 125 if ( stat(drive, stbuf) < 0 ) { in CheckDrive() 131 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive() 154 static void AddDrive(char *drive, struct stat *stbuf) in AddDrive() argument 163 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive() 178 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive() 191 struct stat stbuf; in CheckMounts() local 247 if (CheckDrive(mnt_dev, mnt_type, &stbuf) > 0) { in CheckMounts() 248 AddDrive(mnt_dev, &stbuf); in CheckMounts() 268 struct stat stbuf; in SDL_SYS_CDInit() local [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/openbsd/ |
D | SDL_syscdrom.c | 66 static int CheckDrive(char *drive, struct stat *stbuf) in CheckDrive() argument 72 if ( stat(drive, stbuf) < 0 ) { in CheckDrive() 78 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive() 102 static void AddDrive(char *drive, struct stat *stbuf) in AddDrive() argument 111 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive() 126 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive() 148 struct stat stbuf; in SDL_SYS_CDInit() local 176 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) { in SDL_SYS_CDInit() 177 AddDrive(SDLcdrom, &stbuf); in SDL_SYS_CDInit() 205 switch (CheckDrive(drive, &stbuf)) { in SDL_SYS_CDInit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/freebsd/ |
D | SDL_syscdrom.c | 63 static int CheckDrive(char *drive, struct stat *stbuf) in CheckDrive() argument 69 if ( stat(drive, stbuf) < 0 ) { in CheckDrive() 75 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive() 97 static void AddDrive(char *drive, struct stat *stbuf) in AddDrive() argument 106 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive() 121 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive() 139 struct stat stbuf; in SDL_SYS_CDInit() local 167 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) { in SDL_SYS_CDInit() 168 AddDrive(SDLcdrom, &stbuf); in SDL_SYS_CDInit() 196 switch (CheckDrive(drive, &stbuf)) { in SDL_SYS_CDInit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/aix/ |
D | SDL_syscdrom.c | 70 static int CheckDrive(char *drive, struct stat *stbuf) in CheckDrive() argument 78 if ( stat(drive, stbuf) < 0 ) { in CheckDrive() 84 if ( S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode) ) { in CheckDrive() 111 static void AddDrive(char *drive, struct stat *stbuf) in AddDrive() argument 120 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive() 135 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive() 198 struct stat stbuf; in CheckMounts() local 206 if ( CheckDrive( text, &stbuf) > 0) in CheckMounts() 208 AddDrive( text, &stbuf); in CheckMounts() 230 struct stat stbuf; in CheckNonmounts() local [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/qnx/ |
D | SDL_syscdrom.c | 64 static int CheckDrive(char *drive, struct stat *stbuf) in CheckDrive() argument 75 if (stat(drive, stbuf) < 0) in CheckDrive() 83 if (S_ISCHR(stbuf->st_mode) || S_ISBLK(stbuf->st_mode)) in CheckDrive() 110 static void AddDrive(char *drive, struct stat *stbuf) in AddDrive() argument 121 if (stbuf->st_rdev == SDL_cdmode[i]) in AddDrive() 136 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive() 149 struct stat stbuf; in SDL_SYS_CDInit() local 186 if (CheckDrive(SDLcdrom, &stbuf) > 0) in SDL_SYS_CDInit() 188 AddDrive(SDLcdrom, &stbuf); in SDL_SYS_CDInit() 225 switch (CheckDrive(drive, &stbuf)) in SDL_SYS_CDInit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/bsdi/ |
D | SDL_syscdrom.c | 189 static int CheckDrive(char *drive, struct stat *stbuf) in CheckDrive() argument 195 if ( stat(drive, stbuf) < 0 ) { in CheckDrive() 211 static void AddDrive(char *drive, struct stat *stbuf) in AddDrive() argument 220 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive() 235 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive() 252 struct stat stbuf; in SDL_SYS_CDInit() local 280 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) { in SDL_SYS_CDInit() 281 AddDrive(SDLcdrom, &stbuf); in SDL_SYS_CDInit() 309 switch (CheckDrive(drive, &stbuf)) { in SDL_SYS_CDInit() 312 AddDrive(drive, &stbuf); in SDL_SYS_CDInit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/ |
D | SDL_syscdrom.c | 61 static int CheckDrive(char *drive, struct stat *stbuf) in CheckDrive() argument 76 if ( stat(drive, stbuf) < 0 ) { in CheckDrive() 104 static void AddDrive(char *drive, struct stat *stbuf) in AddDrive() argument 114 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive() 129 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive() 158 struct stat stbuf; in SDL_SYS_CDInit() local 187 if ( CheckDrive(SDLcdrom, &stbuf) > 0 ) { in SDL_SYS_CDInit() 188 AddDrive(SDLcdrom, &stbuf); in SDL_SYS_CDInit() 220 if ( CheckDrive(drive, &stbuf) > 0 ) in SDL_SYS_CDInit() 221 AddDrive(drive, &stbuf); in SDL_SYS_CDInit()
|
/external/e2fsprogs/util/ |
D | subst.c | 314 struct stat stbuf; in main() local 383 if (stat(outfn, &stbuf) == 0) { in main() 386 ut.actime = stbuf.st_atime; in main()
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/beos/ |
D | SDL_syscdrom.cc | 84 struct stat stbuf; in CheckDrive() local 89 if ( stat(drive, &stbuf) < 0 ) { in CheckDrive()
|
/external/dbus/bus/ |
D | bus.c | 288 DBusStat stbuf; in process_config_first_time_only() local 292 if (_dbus_stat (&u, &stbuf, NULL)) in process_config_first_time_only()
|