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

/external/qemu/distrib/sdl-1.2.15/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.15/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.15/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.15/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.15/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.15/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.15/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/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfuse_fs_test.cc65 int testfs_getattr(const char* path, struct stat* stbuf) { argument
66 memset(stbuf, 0, sizeof(struct stat));
69 stbuf->st_mode = S_IFDIR | 0755;
77 stbuf->st_mode = S_IFREG | 0666;
78 stbuf->st_size = file->data.size();
/external/mksh/src/
H A Dcheck.pl1226 local(@stbuf);
1240 @stbuf = lstat($name);
1241 if (!@stbuf) {
1245 if ($perm ne '*' && ($stbuf[2] & 07777) != $perm) {
1248 $perm, $stbuf[2] & 07777);
1250 if ($uid ne '*' && $stbuf[4] != $uid) {
1253 $uid, $stbuf[4]);
1255 if ($gid ne '*' && $stbuf[5] != $gid) {
1258 $gid, $stbuf[5]);
/external/e2fsprogs/util/
H A Dsubst.c309 struct stat stbuf; local
378 if (stat(outfn, &stbuf) == 0) {
381 ut.actime = stbuf.st_atime;
H A Dsymlinks.c166 struct stat stbuf, lstbuf; local
190 if (stat(abspath, &stbuf) == -1) {
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dsymbol-minimal.c217 struct stat stbuf; local
225 if (fstat(fd, &stbuf) < 0)
228 buf_size = stbuf.st_size;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfuse.h56 const struct stat* stbuf,
/external/iputils/
H A Dtftpd.c284 struct stat stbuf; local
306 if (stat(filename, &stbuf) < 0) {
311 if ((stbuf.st_mode&(S_IREAD >> 6)) == 0) {
316 if ((stbuf.st_mode&(S_IWRITE >> 6)) == 0) {
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/fusefs/
H A Dfuse_fs.cc426 const struct stat* stbuf,
430 // It is OK for the FUSE filesystem to pass a NULL stbuf. In that case, just
432 ino_t ino = stbuf ? stbuf->st_ino : 1;
424 FillDirCallback(void* buf, const char* name, const struct stat* stbuf, off_t off) argument
H A Dfuse_fs.h111 const struct stat* stbuf,
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
H A Dpnacl_coordinator.cc215 struct nacl_abi_stat stbuf; local
219 Fstat)(desc, &stbuf))) {
222 size_t nexe_size = stbuf.nacl_abi_st_size;
/external/qemu/distrib/sdl-1.2.15/src/cdrom/beos/
H A DSDL_syscdrom.cc84 struct stat stbuf; local
89 if ( stat(drive, &stbuf) < 0 ) {

Completed in 424 milliseconds