/freebsd-11-stable/contrib/bmake/ |
H A D | realpath.c | 175 if (S_ISLNK(sb.st_mode)) { 202 if (*q == '/' && !S_ISDIR(sb.st_mode)) {
|
/freebsd-11-stable/contrib/diff/lib/ |
H A D | file-type.h | 152 # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) 160 # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD)
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | file.c | 76 if ((stat(p, &sb) != 0) || (errno = EINVAL, ! S_ISDIR(sb.st_mode))) 86 || (errno = EINVAL, ! S_ISREG(sb.st_mode)) )
|
/freebsd-11-stable/usr.sbin/rpcbind/ |
H A D | warmstart.c | 115 if ((sbuf.st_uid != 0) || (sbuf.st_mode & S_IRWXG) || 116 (sbuf.st_mode & S_IRWXO)) {
|
/freebsd-11-stable/usr.bin/cmp/ |
H A D | cmp.c | 165 if (!S_ISREG(sb1.st_mode)) 174 if (!S_ISREG(sb2.st_mode))
|
/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_extattr_freebsd.c | 109 assertEqualInt(st.st_mode & 0777, 0755); 121 assertEqualInt(st.st_mode & 0777, 0);
|
/freebsd-11-stable/contrib/mtree/ |
H A D | verify.c | 152 if ((S_ISDIR(p->fts_statp->st_mode) 189 S_ISDIR(statbuf.st_mode)) 235 p->st_mode | nodetoino(p->type), 291 if (lchmod(path, p->st_mode))
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | findconfig.c | 27 if (S_ISDIR(sbuf.st_mode)) {
|
/freebsd-11-stable/bin/pax/ |
H A D | tar.c | 396 arcn->sb.st_mode = (mode_t)(asc_ul(hd->mode,sizeof(hd->mode),OCT) & 420 * the st_mode so -v printing will look correct. 426 arcn->sb.st_mode |= S_IFLNK; 431 * st_mode and st_nlink so -v printing will look better. 443 arcn->sb.st_mode |= S_IFREG; 450 arcn->sb.st_mode |= S_IFDIR; 468 arcn->sb.st_mode |= S_IFDIR; 477 arcn->sb.st_mode |= S_IFREG; 626 if (ul_oct((u_long)arcn->sb.st_mode, hd->mode, sizeof(hd->mode), 0) || 775 arcn->sb.st_mode [all...] |
H A D | cpio.c | 113 switch(arcn->sb.st_mode & C_IFMT) { 139 arcn->sb.st_mode = (arcn->sb.st_mode & 0xfff) | C_ISREG; 297 arcn->sb.st_mode = (mode_t)asc_ul(hd->c_mode, sizeof(hd->c_mode), OCT); 329 if (((arcn->sb.st_mode&C_IFMT) != C_ISLNK)||(arcn->sb.st_size == 0)) { 450 ul_asc((u_long)arcn->sb.st_mode, hd->c_mode, sizeof(hd->c_mode), 591 arcn->sb.st_mode = (mode_t)asc_ul(hd->c_mode, sizeof(hd->c_mode), HEX); 637 if (((arcn->sb.st_mode&C_IFMT) != C_ISLNK)||(arcn->sb.st_size == 0)) { 779 ul_asc((u_long)arcn->sb.st_mode, hd->c_mode, sizeof(hd->c_mode), 902 arcn->sb.st_mode [all...] |
/freebsd-11-stable/sbin/fsck_ffs/ |
H A D | utilities.c | 82 switch(stblock.st_mode & S_IFMT) {
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | kuserok.c | 66 if (S_ISDIR(st.st_mode)) { 74 if ((st.st_mode & (S_IWGRP | S_IWOTH)) != 0) { 126 if (!S_ISDIR(st.st_mode)) 131 if ((st.st_mode & (S_IWGRP | S_IWOTH)) != 0)
|
/freebsd-11-stable/lib/libc/iconv/ |
H A D | citrus_mmap.c | 69 if (!S_ISREG(st.st_mode)) {
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | priv_io.c | 66 saved_perms = sb.st_mode & ALLPERMS;
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_stat.h | 42 ibcs2_mode_t st_mode; member in struct:ibcs2_stat
|
/freebsd-11-stable/usr.sbin/fmtree/ |
H A D | mtree.h | 55 mode_t st_mode; /* mode */ member in struct:_node
|
/freebsd-11-stable/contrib/amd/amd/ |
H A D | info_exec.c | 361 if (!S_ISREG(sb.st_mode)) { 369 if (!(sb.st_mode & S_IXUSR)) { 373 if (sb.st_mode & (S_ISUID|S_ISGID)) { 377 if (sb.st_mode & S_IWOTH) {
|
/freebsd-11-stable/crypto/openssl/crypto/rand/ |
H A D | randfile.c | 191 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) { 242 if (S_ISBLK(sb.st_mode) || S_ISCHR(sb.st_mode)) {
|
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | inetcf.c | 180 } else if ((st.st_mode & 0100) == 0) { 211 if ((st.st_mode & 06000) != 0) 229 } else if ((st.st_mode & 0100) == 0) { 237 } else if ((st.st_mode & 0100) == 0) {
|
/freebsd-11-stable/contrib/expat/xmlwf/ |
H A D | unixfilemap.c | 74 if (! S_ISREG(sb.st_mode)) {
|
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_open_filename.c | 201 if (S_ISCHR(st.st_mode) || S_ISBLK(st.st_mode) || 202 S_ISFIFO(st.st_mode)) 215 if (S_ISREG(st.st_mode))
|
/freebsd-11-stable/usr.sbin/makefs/ |
H A D | walk.c | 130 if (S_ISSOCK(stbuf.st_mode & S_IFMT)) { 150 S_ISDIR(stbuf.st_mode)) { 159 inode_type(stbuf.st_mode), path, 230 cur->type = stbuf->st_mode & S_IFMT; 435 stbuf.st_mode = nodetoino(curnode->type); 499 dirnode->inode->st.st_mode & ALLPERMS, specnode->st_mode); 500 dirnode->inode->st.st_mode &= ~ALLPERMS; 501 dirnode->inode->st.st_mode |= (specnode->st_mode [all...] |
/freebsd-11-stable/usr.bin/hexdump/ |
H A D | display.c | 380 if (S_ISREG(sb.st_mode) && skip > sb.st_size) { 386 if (!statok || S_ISFIFO(sb.st_mode) || S_ISSOCK(sb.st_mode)) { 390 if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) {
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | remote-fileio.c | 401 remote_fileio_to_fio_mode (st->st_mode, fst->fst_mode); 605 if (!S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode)) 610 if (S_ISDIR (st.st_mode) 942 if ((!of && !S_ISREG (ost.st_mode) && !S_ISDIR (ost.st_mode)) 943 || (!nf && !S_ISREG (nst.st_mode) && !S_ISDIR (nst.st_mode))) 963 if (!of && !nf && S_ISDIR (nst.st_mode)) 965 if (S_ISREG (ost.st_mode)) [all...] |
/freebsd-11-stable/contrib/tcsh/ |
H A D | glob.c | 211 if (stat(str, &st) == -1 || !S_ISDIR(st.st_mode)) 225 if (*fn != 0 && strend(fn)[-1] == '/' && !S_ISDIR(sb->st_mode)) 241 if (*fn != 0 && strend(fn)[-1] == '/' && !S_ISDIR(sb->st_mode)) 508 (S_ISDIR(sbuf.st_mode) 510 || (S_ISLNK(sbuf.st_mode) && 512 S_ISDIR(sbuf.st_mode)) 606 if (*pathbuf->s && (Lstat(pathbuf->s, &sbuf) || !S_ISDIR(sbuf.st_mode) 608 && ((globstar && !chase_symlinks) || !S_ISLNK(sbuf.st_mode)) 636 (Lstat(pathbuf->s, &sbuf) || S_ISLNK(sbuf.st_mode)))
|