Searched defs:stbuf (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfuse_fs_test.cc70 int testfs_getattr(const char* path, struct stat* stbuf) { argument
71 memset(stbuf, 0, sizeof(struct stat));
74 stbuf->st_mode = S_IFDIR | 0755;
82 stbuf->st_mode = S_IFREG | file->mode;
83 stbuf->st_size = file->data.size();
84 stbuf->st_atime = file->times[0].tv_sec;
85 stbuf->st_atimensec = file->times[0].tv_nsec;
86 stbuf->st_mtime = file->times[1].tv_sec;
87 stbuf->st_mtimensec = file->times[1].tv_nsec;
/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/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/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/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/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/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/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/chromium_org/native_client_sdk/src/libraries/nacl_io/fusefs/
H A Dfuse_fs.cc470 const struct stat* stbuf,
474 // It is OK for the FUSE filesystem to pass a NULL stbuf. In that case, just
476 ino_t ino = stbuf ? stbuf->st_ino : 1;
468 FillDirCallback(void* buf, const char* name, const struct stat* stbuf, off_t off) argument
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
H A Dpnacl_coordinator.cc226 struct nacl_abi_stat stbuf; local
229 &stbuf)) {
230 size_t nexe_size = stbuf.nacl_abi_st_size;
/external/libedit/src/
H A Dfilecomplete.c263 struct stat stbuf; local
267 if (stat(expname ? expname : name, &stbuf) == -1)
269 if (S_ISDIR(stbuf.st_mode))
/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 ) {
/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/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...]

Completed in 361 milliseconds