/freebsd-10-stable/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-10-stable/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-10-stable/usr.sbin/cron/cron/ |
H A D | database.c | 46 struct stat statbuf; local 67 if (stat(SPOOL_DIR, &statbuf) < OK) { 77 maxmtime = TMAX(statbuf.st_mtime, syscron_stat.st_mtime); 164 &statbuf, &new_db, old_db); 239 process_crontab(uname, fname, tabname, statbuf, new_db, old_db) 243 struct stat *statbuf; 265 if (fstat(crontab_fd, statbuf) < OK) { 276 if (u->mtime == statbuf->st_mtime) { 297 u->mtime = statbuf->st_mtime;
|
/freebsd-10-stable/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-10-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_import.c | 872 struct stat64 statbuf; local 879 if (fstat64(fd, &statbuf) == -1) 881 size = P2ALIGN_TYPED(statbuf.st_size, sizeof (vdev_label_t), uint64_t); 1050 struct stat64 statbuf; local 1066 if (fstat64(fd, &statbuf) != 0 || 1067 (!S_ISREG(statbuf.st_mode) && 1068 !S_ISCHR(statbuf.st_mode) && 1069 !S_ISBLK(statbuf.st_mode))) { 1075 if (S_ISREG(statbuf.st_mode) && 1076 statbuf 1109 struct stat64 statbuf; local 1375 struct stat64 statbuf; local [all...] |
/freebsd-10-stable/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-10-stable/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-10-stable/usr.sbin/cron/crontab/ |
H A D | crontab.c | 324 struct stat statbuf, fsbuf; local 374 if (stat(Filename, &statbuf) < 0) { 381 if (statbuf.st_dev != fsbuf.st_dev || statbuf.st_ino != fsbuf.st_ino) 448 if (stat(Filename, &statbuf) < 0) { 452 if (statbuf.st_dev != fsbuf.st_dev || statbuf.st_ino != fsbuf.st_ino)
|
/freebsd-10-stable/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-10-stable/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)) { 519 if (S_ISBLK(statbuf.st_mode) && !wholedisk) { 658 struct stat64 statbuf; local [all...] |
/freebsd-10-stable/contrib/less/ |
H A D | filename.c | 990 struct stat statbuf; local 992 r = stat(filename, &statbuf); 993 isdir = (r >= 0 && S_ISDIR(statbuf.st_mode)); 1033 struct stat statbuf; local 1035 r = stat(filename, &statbuf); 1042 } else if (!S_ISREG(statbuf.st_mode)) 1064 struct stat statbuf; local 1066 if (fstat(f, &statbuf) >= 0) 1067 return ((POSITION) statbuf.st_size);
|
H A D | edit.c | 454 struct stat statbuf; local 455 int r = stat(open_filename, &statbuf); 458 curr_ino = statbuf.st_ino; 459 curr_dev = statbuf.st_dev;
|
/freebsd-10-stable/contrib/mtree/ |
H A D | verify.c | 186 struct stat statbuf; local 188 if (qflag && stat(path, &statbuf) == 0 && 189 S_ISDIR(statbuf.st_mode))
|
/freebsd-10-stable/usr.sbin/ypserv/ |
H A D | yp_access.c | 319 struct stat statbuf; 329 if (stat(dompath, &statbuf) < 0 || !S_ISDIR(statbuf.st_mode))
|
/freebsd-10-stable/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-10-stable/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-10-stable/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;
|
/freebsd-10-stable/contrib/gdb/gdb/ |
H A D | standalone.c | 191 fstat (int desc, struct stat *statbuf) 198 statbuf->st_size = sourcesize; 189 fstat(int desc, struct stat *statbuf) argument
|
/freebsd-10-stable/tools/regression/fsx/ |
H A D | fsx.c | 419 struct stat statbuf; local 422 if (fstat(fd, &statbuf)) { 424 statbuf.st_size = -1; 427 if (file_size != statbuf.st_size || file_size != size_by_seek) { 430 (unsigned long long)statbuf.st_size, 440 struct stat statbuf; local 444 fstat(fd, &statbuf); 445 if (statbuf.st_size != (off_t)100000) {
|