/freebsd-9.3-release/contrib/cvs/lib/ |
H A D | mkdir.c | 44 struct stat statbuf; local 46 if (stat (dpath, &statbuf) == 0) 93 struct stat statbuf; local 95 if (stat (dpath, &statbuf) != 0) 98 if ((statbuf.st_mode & S_IFMT) != S_IFDIR)
|
/freebsd-9.3-release/contrib/opie/libopie/ |
H A D | lock.c | 95 struct stat statbuf[2]; local 118 if (lstat(__opie_lockfilename, &statbuf[0]) < 0) 121 if (statbuf[0].st_uid) { 128 if (!S_ISDIR(statbuf[0].st_mode)) { 135 if ((statbuf[0].st_mode & 0777) != 00700) { 147 if (!lstat(__opie_lockfilename, &statbuf[0])) 148 if (!S_ISREG(statbuf[0].st_mode)) 152 if (lstat(__opie_lockfilename, &statbuf[1]) < 0) 154 if (statbuf[0].st_ino != statbuf[ [all...] |
/freebsd-9.3-release/contrib/binutils/binutils/ |
H A D | rename.c | 99 set_times (const char *destination, const struct stat *statbuf) argument 107 tb.actime = statbuf->st_atime; 108 tb.modtime = statbuf->st_mtime; 114 tb[0] = statbuf->st_atime; 115 tb[1] = statbuf->st_mtime; 120 tv[0].tv_sec = statbuf->st_atime; 122 tv[1].tv_sec = statbuf->st_mtime;
|
H A D | bucomm.c | 515 struct stat statbuf; 517 if (stat (file_name, &statbuf) < 0) 525 else if (! S_ISREG (statbuf.st_mode)) 528 return statbuf.st_size; 511 struct stat statbuf; local
|
H A D | strings.c | 107 typedef struct stat64 statbuf; 110 typedef struct stat statbuf; 433 statbuf st; 106 typedef struct stat64 statbuf; typedef in typeref:struct:stat64 109 typedef struct stat statbuf; typedef in typeref:struct:stat
|
/freebsd-9.3-release/contrib/gnu-sort/src/ |
H A D | system.h | 299 # define ST_BLKSIZE(statbuf) DEV_BSIZE 301 # define ST_NBLOCKS(statbuf) \ 302 ((statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0)) 304 # define ST_NBLOCKS(statbuf) \ 305 (S_ISREG ((statbuf).st_mode) \ 306 || S_ISDIR ((statbuf).st_mode) \ 307 ? st_blocks ((statbuf).st_size) : 0) 316 # define ST_BLKSIZE(statbuf) ((0 < (statbuf) [all...] |
/freebsd-9.3-release/usr.sbin/cron/cron/ |
H A D | database.c | 46 struct stat statbuf; local 58 if (stat(SPOOL_DIR, &statbuf) < OK) { 75 if (old_db->mtime == TMAX(statbuf.st_mtime, syscron_stat.st_mtime)) { 86 new_db.mtime = TMAX(statbuf.st_mtime, syscron_stat.st_mtime); 121 &statbuf, &new_db, old_db); 196 process_crontab(uname, fname, tabname, statbuf, new_db, old_db) 200 struct stat *statbuf; 222 if (fstat(crontab_fd, statbuf) < OK) { 233 if (u->mtime == statbuf->st_mtime) { 254 u->mtime = statbuf [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | translate.c | 88 struct stat64 *statbuf) 108 if (stat64(fullpath, statbuf) != 0) { 149 object_from_path(const char *dataset, const char *path, struct stat64 *statbuf, argument 169 record->zi_object = statbuf->st_ino; 320 struct stat64 statbuf; local 365 if (parse_pathname(object, dataset, path, &statbuf) != 0) 374 if (object_from_path(dataset, path, &statbuf, record) != 0) 87 parse_pathname(const char *inpath, char *dataset, char *relpath, struct stat64 *statbuf) argument
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_import.c | 861 struct stat64 statbuf; local 868 if (fstat64(fd, &statbuf) == -1) 870 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); 1038 struct stat64 statbuf; local 1054 if (fstat64(fd, &statbuf) != 0 || 1055 (!S_ISREG(statbuf.st_mode) && 1056 !S_ISCHR(statbuf.st_mode) && 1057 !S_ISBLK(statbuf.st_mode))) { 1063 if (S_ISREG(statbuf.st_mode) && 1064 statbuf 1103 struct stat64 statbuf; local 1362 struct stat64 statbuf; local [all...] |
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | trad-core.c | 112 struct stat statbuf; local 114 if (bfd_stat (abfd, &statbuf) < 0) 122 > (ufile_ptr) statbuf.st_size) 134 < (ufile_ptr) statbuf.st_size)
|
H A D | binary.c | 64 struct stat statbuf; local 77 if (bfd_stat (abfd, &statbuf) < 0) 89 sec->size = statbuf.st_size;
|
H A D | sco5-core.c | 129 struct stat statbuf; local 131 if (bfd_stat (abfd, &statbuf) < 0) 134 coresize = statbuf.st_size;
|
H A D | ppcboot.c | 151 struct stat statbuf; 167 if (bfd_stat (abfd, &statbuf) < 0) 173 if ((size_t) statbuf.st_size < sizeof (ppcboot_hdr_t)) 216 sec->size = statbuf.st_size - sizeof (ppcboot_hdr_t); 148 struct stat statbuf; local
|
H A D | bfdio.c | 242 bfd_stat (bfd *abfd, struct stat *statbuf) argument 250 result = abfd->iovec->bstat (abfd, statbuf);
|
/freebsd-9.3-release/sys/boot/ficl/ |
H A D | fileaccess.c | 145 struct stat statbuf; local 154 if (stat(filename, &statbuf) == 0) 161 stackPushINT(pVM->pStack, statbuf.st_mode); 184 struct stat statbuf; local 185 statbuf.st_size = -1; 186 if (fstat(fileno(f), &statbuf) != 0) 188 return statbuf.st_size;
|
/freebsd-9.3-release/usr.sbin/cron/crontab/ |
H A D | crontab.c | 319 struct stat statbuf, fsbuf; local 369 if (stat(Filename, &statbuf) < 0) { 376 if (statbuf.st_dev != fsbuf.st_dev || statbuf.st_ino != fsbuf.st_ino) 443 if (stat(Filename, &statbuf) < 0) { 447 if (statbuf.st_dev != fsbuf.st_dev || statbuf.st_ino != fsbuf.st_ino)
|
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/ |
H A D | write_entry.c | 171 struct stat statbuf; 173 if ((rc = stat(path, &statbuf)) < 0) { 177 } else if (!(S_ISDIR(statbuf.st_mode))) { 258 struct stat statbuf; 371 stat(filename, &statbuf) >= 0 372 && statbuf.st_mtime >= start_time) { 380 if (stat(filename, &statbuf) < 0 381 || (start_time = statbuf.st_mtime) == 0) { 409 } else if (stat(linkname, &statbuf) >= 0 && 410 statbuf [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_vdev.c | 420 struct stat64 statbuf; local 436 if (!wholedisk && (stat64(arg, &statbuf) != 0)) { 456 if (!wholedisk && (stat64(path, &statbuf) != 0)) { 482 if (S_ISCHR(statbuf.st_mode)) { 483 statbuf.st_mode &= ~S_IFCHR; 484 statbuf.st_mode |= S_IFBLK; 492 if (wholedisk || S_ISBLK(statbuf.st_mode)) { 494 } else if (S_ISREG(statbuf.st_mode)) { 518 if (S_ISBLK(statbuf.st_mode) && !wholedisk) { 655 struct stat64 statbuf; local [all...] |
/freebsd-9.3-release/contrib/less/ |
H A D | filename.c | 1000 struct stat statbuf; local 1002 r = stat(filename, &statbuf); 1003 isdir = (r >= 0 && S_ISDIR(statbuf.st_mode)); 1045 struct stat statbuf; local 1047 r = stat(filename, &statbuf); 1054 } else if (!S_ISREG(statbuf.st_mode)) 1077 struct stat statbuf; local 1079 if (fstat(f, &statbuf) >= 0) 1080 return ((POSITION) statbuf.st_size);
|
H A D | edit.c | 404 struct stat statbuf; local 405 int r = stat(qopen_filename, &statbuf); 408 curr_ino = statbuf.st_ino; 409 curr_dev = statbuf.st_dev;
|
/freebsd-9.3-release/contrib/mtree/ |
H A D | verify.c | 182 struct stat statbuf; local 184 if (qflag && stat(path, &statbuf) == 0 && 185 S_ISDIR(statbuf.st_mode))
|
/freebsd-9.3-release/usr.sbin/ypserv/ |
H A D | yp_access.c | 315 struct stat statbuf; 325 if (stat(dompath, &statbuf) < 0 || !S_ISDIR(statbuf.st_mode))
|
/freebsd-9.3-release/contrib/binutils/gas/ |
H A D | hash.c | 444 int statbuf[STATBUFSIZE]; 546 hash_say (h, statbuf, STATBUFSIZE); 547 for (ip = statbuf; ip < statbuf + STATBUFSIZE; ip++) 443 int statbuf[STATBUFSIZE]; variable
|
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | raw_ostream.cpp | 582 struct stat statbuf; local 583 if (fstat(FD, &statbuf) != 0) 589 if (S_ISCHR(statbuf.st_mode) && isatty(FD)) 592 return statbuf.st_blksize;
|
/freebsd-9.3-release/usr.bin/fstat/ |
H A D | fstat.c | 543 struct stat statbuf; local 546 if (stat(filename, &statbuf)) { 555 cur->ino = statbuf.st_ino; 556 cur->fsid = statbuf.st_dev;
|