/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_open_file.c | 90 if (fstat(fileno(mine->f), &st) == 0 && S_ISREG(st.st_mode)) {
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | bucomm.c | 382 mode_string (buf.st_mode, modebuf); 525 else if (! S_ISREG (statbuf.st_mode))
|
/freebsd-11-stable/contrib/apr/file_io/unix/ |
H A D | filestat.c | 75 finfo->protection = apr_unix_mode2perms(info->st_mode); 76 finfo->filetype = filetype_from_mode(info->st_mode);
|
/freebsd-11-stable/lib/libcompat/4.3/ |
H A D | rexec.c | 201 (stb.st_mode & 077) != 0) { 213 && (stb.st_mode & 077) != 0) {
|
/freebsd-11-stable/usr.sbin/cron/lib/ |
H A D | misc.c | 204 if (!(sb.st_mode & S_IFDIR)) 220 if (!(sb.st_mode & S_IFDIR))
|
/freebsd-11-stable/sbin/recoverdisk/ |
H A D | recoverdisk.c | 201 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
|
/freebsd-11-stable/usr.sbin/fmtree/ |
H A D | specspec.c | 65 printf(" mode=%o", n->st_mode); 145 if (FF(n1, n2, F_MODE, st_mode))
|
/freebsd-11-stable/contrib/mtree/ |
H A D | specspec.c | 74 printf(" mode=%o", n->st_mode); 158 if (FF(n1, n2, F_MODE, st_mode))
|
H A D | spec.c | 360 appendfield(fp, pathlast, "mode=%#o", cur->st_mode); 522 REPLACE(st_mode); 601 ip->st_mode = getmode(m, 0);
|
/freebsd-11-stable/usr.bin/sed/ |
H A D | main.c | 405 if (!S_ISREG(sb.st_mode)) 428 fchmod(fileno(outfile), sb.st_mode & ALLPERMS);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_vdev.c | 428 * checking the st_mode of the file. 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) {
|
/freebsd-11-stable/usr.bin/diff/ |
H A D | diffreg.c | 280 if (S_ISDIR(stb1.st_mode) != S_ISDIR(stb2.st_mode)) 281 return (S_ISDIR(stb1.st_mode) ? D_MISMATCH1 : D_MISMATCH2); 288 if (!S_ISREG(stb1.st_mode)) { 309 if (!S_ISREG(stb2.st_mode)) { 493 (stb1.st_mode & S_IFMT) != (stb2.st_mode & S_IFMT))
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | fts.c | 894 sbp->st_mode = S_IFWHT; 913 if (S_ISLNK(sbp->st_mode)) 922 if (S_ISDIR(sbp->st_mode)) { 951 if (S_ISLNK(sbp->st_mode)) 953 if (S_ISREG(sbp->st_mode))
|
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_vnops.c | 133 FIELD(st_mode); 715 sb.st_mode = (sb.st_mode & ~ACCESSPERMS) | 0123; 734 CHECK(st_mode); 1020 ATF_CHECK(S_ISLNK(st.st_mode) != 0);
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | sh.exec.c | 379 if (stat(f, &stb) == 0 && S_ISDIR(stb.st_mode)) 706 if (fstat(dirp->dd_fd, &stb) < 0 || !S_ISDIR(stb.st_mode)) { 901 ((dir_ok && S_ISDIR(stbuf.st_mode)) || 902 (S_ISREG(stbuf.st_mode) && 904 (stbuf.st_mode & (S_IXOTH | S_IXGRP | S_IXUSR)) &&
|
H A D | sh.file.c | 283 switch (statb.st_mode & S_IFMT) { 289 S_ISDIR(statb.st_mode)) 298 if (statb.st_mode & 0111)
|
/freebsd-11-stable/sbin/dump/ |
H A D | main.c | 358 if ((stat(snapname, &sb) < 0) || !S_ISDIR(sb.st_mode)) { 395 if (S_ISDIR(sb.st_mode)) 692 if (stat(cp, &sb) == 0 && (sb.st_mode & S_IFMT) == S_IFCHR)
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | glob.c | 537 pathend[-1] != CHAR_SEP) && (S_ISDIR(sb.st_mode) 538 || (S_ISLNK(sb.st_mode) && 540 S_ISDIR(sb.st_mode)))) {
|
/freebsd-11-stable/usr.bin/catman/ |
H A D | catman.c | 319 if (S_ISDIR(test_st.st_mode)) 321 else if (S_ISREG(test_st.st_mode)) 338 return lstat(path, &st) >= 0 && S_ISLNK(st.st_mode);
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | compat_fts.c | 525 if (S_ISDIR(sbp->st_mode)) { 554 if (S_ISLNK(sbp->st_mode)) 556 if (S_ISREG(sbp->st_mode))
|
/freebsd-11-stable/usr.bin/at/ |
H A D | at.c | 495 if (!S_ISREG(buf.st_mode) 497 || !(S_IXUSR & buf.st_mode || atverify)) 523 (S_IXUSR & buf.st_mode) ? "":"(done)",
|
/freebsd-11-stable/stand/libsa/ |
H A D | cd9660.c | 615 sb->st_mode = S_IRUSR | S_IRGRP | S_IROTH; 617 sb->st_mode |= S_IFDIR; 619 sb->st_mode |= S_IFREG;
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | block_if.c | 487 if (S_ISCHR(sbuf.st_mode)) { 526 if (S_ISCHR(sbuf.st_mode)) { 548 bc->bc_ischr = S_ISCHR(sbuf.st_mode);
|
/freebsd-11-stable/usr.sbin/config/ |
H A D | main.c | 188 if (stat(PREFIX, &buf) != 0 || !S_ISREG(buf.st_mode)) 249 } else if (!S_ISDIR(buf.st_mode)) 733 if (S_ISDIR(st.st_mode))
|
/freebsd-11-stable/sys/amd64/linux32/ |
H A D | linux.h | 185 l_ushort st_mode; member in struct:l_newstat 204 l_ushort st_mode; member in struct:l_stat 223 l_uint st_mode; member in struct:l_stat64
|