st_mode 113 daemons/based/based_io.c } else if ((s.st_mode & S_IFREG) != S_IFREG) { st_mode 118 daemons/based/based_io.c switch (s.st_mode & S_IFMT) { st_mode 272 lib/common/io.c if ((target_stat->st_mode & (S_IRUSR | S_IWUSR)) == 0) { st_mode 276 lib/common/io.c (unsigned long) target_stat->st_mode); st_mode 302 lib/common/io.c if ((target_stat->st_mode & (S_IRGRP | S_IWGRP)) == 0) { st_mode 306 lib/common/io.c (unsigned long) target_stat->st_mode); st_mode 349 lib/common/io.c } else if (S_ISREG(buf.st_mode) == FALSE) { st_mode 351 lib/common/io.c target, (unsigned long) buf.st_mode); st_mode 365 lib/common/io.c } else if (S_ISDIR(buf.st_mode) == FALSE) { st_mode 367 lib/common/io.c dir, (unsigned long) buf.st_mode); st_mode 378 lib/common/io.c (unsigned long) buf.st_mode); st_mode 225 lib/common/logging.c && ((st.st_mode & S_IRWXG) == (S_IRGRP|S_IWGRP))) { st_mode 426 lib/common/options.c if (S_ISREG(st.st_mode) == 0) { st_mode 431 lib/common/options.c if ((st.st_mode & (S_IXUSR | S_IXGRP)) == 0) { st_mode 74 lib/common/procfs.c if (!S_ISDIR(statbuf.st_mode)) { st_mode 58 lib/fencing/st_rhcs.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { st_mode 72 lib/fencing/st_rhcs.c && S_ISREG(prop.st_mode)) { st_mode 252 lib/fencing/st_rhcs.c return (rc >= 0) && S_ISREG(prop.st_mode); st_mode 401 lib/pacemaker/pcmk_simulate.c if (stat(buffer, &prop) == 0 && S_ISREG(prop.st_mode)) { st_mode 1387 lib/services/services_linux.c if (S_ISDIR(sb.st_mode)) { st_mode 1393 lib/services/services_linux.c } else if (S_ISREG(sb.st_mode)) { st_mode 1399 lib/services/services_linux.c && (sb.st_mode & S_IXUSR) == 0 st_mode 1400 lib/services/services_linux.c && (sb.st_mode & S_IXGRP) == 0 && (sb.st_mode & S_IXOTH) == 0) { st_mode 118 maint/gnulib/lib/af_alg.c && (S_ISREG (st.st_mode) || S_TYPEISSHM (&st) || S_TYPEISTMO (&st)) st_mode 130 maint/gnulib/lib/at-func2.c if (!S_ISDIR (st2.st_mode)) st_mode 142 maint/gnulib/lib/at-func2.c if (!S_ISDIR (st1.st_mode)) st_mode 154 maint/gnulib/lib/at-func2.c if (!S_ISDIR (st1.st_mode) || !S_ISDIR (st2.st_mode)) st_mode 170 maint/gnulib/lib/at-func2.c if (!S_ISDIR (st1.st_mode)) st_mode 107 maint/gnulib/lib/chown.c && (S_ISFIFO (st.st_mode) || S_ISSOCK (st.st_mode))); st_mode 143 maint/gnulib/lib/chown.c result = chmod (file, st.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO st_mode 64 maint/gnulib/lib/copy-file.c mode = statbuf.st_mode & 07777; st_mode 65 maint/gnulib/lib/copy-file.c off_t inbytes = S_ISREG (statbuf.st_mode) ? statbuf.st_size : -1; st_mode 70 maint/gnulib/lib/dirchownmod.c mode_t dir_mode = st.st_mode; st_mode 68 maint/gnulib/lib/dup.c && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) st_mode 146 maint/gnulib/lib/dup2.c && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) st_mode 155 maint/gnulib/lib/euidaccess.c || (stats.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)))) st_mode 173 maint/gnulib/lib/euidaccess.c granted = stats.st_mode; st_mode 175 maint/gnulib/lib/euidaccess.c granted = ((stats.st_mode & S_IRUSR ? 4 << 6 : 0) st_mode 176 maint/gnulib/lib/euidaccess.c + (stats.st_mode & S_IWUSR ? 2 << 6 : 0) st_mode 177 maint/gnulib/lib/euidaccess.c + (stats.st_mode & S_IXUSR ? 1 << 6 : 0) st_mode 178 maint/gnulib/lib/euidaccess.c + (stats.st_mode & S_IRGRP ? 4 << 3 : 0) st_mode 179 maint/gnulib/lib/euidaccess.c + (stats.st_mode & S_IWGRP ? 2 << 3 : 0) st_mode 180 maint/gnulib/lib/euidaccess.c + (stats.st_mode & S_IXGRP ? 1 << 3 : 0) st_mode 181 maint/gnulib/lib/euidaccess.c + (stats.st_mode & S_IROTH ? 4 << 0 : 0) st_mode 182 maint/gnulib/lib/euidaccess.c + (stats.st_mode & S_IWOTH ? 2 << 0 : 0) st_mode 183 maint/gnulib/lib/euidaccess.c + (stats.st_mode & S_IXOTH ? 1 << 0 : 0)); st_mode 66 maint/gnulib/lib/faccessat.c if (result == 0 && !S_ISDIR (st.st_mode)) st_mode 135 maint/gnulib/lib/fchdir.c || (fstat (fd, &statbuf) == 0 && S_ISDIR (statbuf.st_mode))) st_mode 75 maint/gnulib/lib/fchmodat.c if (!S_ISDIR (st.st_mode)) st_mode 111 maint/gnulib/lib/fchmodat.c if (S_ISLNK (st.st_mode)) st_mode 139 maint/gnulib/lib/fchmodat.c if (S_ISLNK (st.st_mode)) st_mode 563 maint/gnulib/lib/fcntl.c && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) st_mode 241 maint/gnulib/lib/fdopendir.c if (!S_ISDIR (st.st_mode)) st_mode 48 maint/gnulib/lib/file-has-acl.c if (! S_ISLNK (sb->st_mode)) st_mode 61 maint/gnulib/lib/file-has-acl.c if (ret == 0 && S_ISDIR (sb->st_mode)) st_mode 123 maint/gnulib/lib/file-has-acl.c if (ret == 0 && S_ISDIR (sb->st_mode)) st_mode 39 maint/gnulib/lib/file-type.c if (S_ISREG (st->st_mode)) st_mode 42 maint/gnulib/lib/file-type.c if (S_ISDIR (st->st_mode)) st_mode 45 maint/gnulib/lib/file-type.c if (S_ISLNK (st->st_mode)) st_mode 65 maint/gnulib/lib/file-type.c if (S_ISBLK (st->st_mode)) st_mode 68 maint/gnulib/lib/file-type.c if (S_ISCHR (st->st_mode)) st_mode 71 maint/gnulib/lib/file-type.c if (S_ISCTG (st->st_mode)) st_mode 74 maint/gnulib/lib/file-type.c if (S_ISFIFO (st->st_mode)) st_mode 77 maint/gnulib/lib/file-type.c if (S_ISDOOR (st->st_mode)) st_mode 80 maint/gnulib/lib/file-type.c if (S_ISMPB (st->st_mode)) st_mode 83 maint/gnulib/lib/file-type.c if (S_ISMPC (st->st_mode)) st_mode 86 maint/gnulib/lib/file-type.c if (S_ISMPX (st->st_mode)) st_mode 89 maint/gnulib/lib/file-type.c if (S_ISNAM (st->st_mode)) st_mode 92 maint/gnulib/lib/file-type.c if (S_ISNWK (st->st_mode)) st_mode 95 maint/gnulib/lib/file-type.c if (S_ISOFD (st->st_mode)) st_mode 98 maint/gnulib/lib/file-type.c if (S_ISOFL (st->st_mode)) st_mode 101 maint/gnulib/lib/file-type.c if (S_ISPORT (st->st_mode)) st_mode 104 maint/gnulib/lib/file-type.c if (S_ISSOCK (st->st_mode)) st_mode 107 maint/gnulib/lib/file-type.c if (S_ISWHT (st->st_mode)) st_mode 156 maint/gnulib/lib/filemode.c strmode (statp->st_mode, str); st_mode 157 maint/gnulib/lib/findprog-in.c if (! S_ISDIR (statbuf.st_mode)) st_mode 197 maint/gnulib/lib/findprog-in.c if (! S_ISDIR (statbuf.st_mode)) st_mode 309 maint/gnulib/lib/findprog-in.c if (! S_ISDIR (statbuf.st_mode)) st_mode 373 maint/gnulib/lib/findprog-in.c if (! S_ISDIR (statbuf.st_mode)) st_mode 115 maint/gnulib/lib/findprog.c && ! S_ISDIR (statbuf.st_mode)) st_mode 184 maint/gnulib/lib/fopen.c if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) st_mode 88 maint/gnulib/lib/fstatat.c if (file[len - 1] != '/' || S_ISDIR (st->st_mode)) st_mode 90 maint/gnulib/lib/fstatat.c if (!S_ISLNK (st->st_mode)) st_mode 98 maint/gnulib/lib/fstatat.c if (result == 0 && !S_ISDIR (st->st_mode) && file[len - 1] == '/') st_mode 1228 maint/gnulib/lib/fts.c st->st_mode = type; st_mode 1794 maint/gnulib/lib/fts.c if (S_ISDIR(sbp->st_mode)) { st_mode 1802 maint/gnulib/lib/fts.c if (S_ISLNK(sbp->st_mode)) st_mode 1804 maint/gnulib/lib/fts.c if (S_ISREG(sbp->st_mode)) st_mode 401 maint/gnulib/lib/getcwd.c if (entry_status == 0 && S_ISDIR (st.st_mode) st_mode 123 maint/gnulib/lib/getumask.c mask = (S_IRWXU|S_IRWXG|S_IRWXO) & ~statbuf.st_mode; st_mode 259 maint/gnulib/lib/glob.c ? pglob->gl_stat (filename, &st) == 0 && S_ISDIR (st.st_mode) st_mode 260 maint/gnulib/lib/glob.c : GLOB_STAT64 (filename, &st64) == 0 && S_ISDIR (st64.st_mode)); st_mode 95 maint/gnulib/lib/isapipe.c && (S_ISFIFO (st.st_mode) | S_ISSOCK (st.st_mode))) st_mode 113 maint/gnulib/lib/isapipe.c check_for_fifo = (S_ISFIFO (pipe_st.st_mode) != 0); st_mode 120 maint/gnulib/lib/isapipe.c && (check_for_fifo ? S_ISFIFO (st.st_mode) : S_ISSOCK (st.st_mode))); st_mode 32 maint/gnulib/lib/isdir.c return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode); st_mode 72 maint/gnulib/lib/lchmod.c if (S_ISLNK (st.st_mode)) st_mode 101 maint/gnulib/lib/lchmod.c if (S_ISLNK (st.st_mode)) st_mode 50 maint/gnulib/lib/lchown.c if (lstat (file, &stats) == 0 && S_ISLNK (stats.st_mode)) st_mode 84 maint/gnulib/lib/lchown.c if (!S_ISLNK (st.st_mode)) st_mode 109 maint/gnulib/lib/lchown.c result = lchmod (file, st.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO st_mode 102 maint/gnulib/lib/link.c if (!S_ISDIR (st.st_mode)) st_mode 208 maint/gnulib/lib/link.c if (!S_ISDIR (st.st_mode)) st_mode 290 maint/gnulib/lib/linkat.c if (!S_ISDIR (st.st_mode)) st_mode 78 maint/gnulib/lib/lseek.c if (!S_ISREG (statbuf.st_mode)) st_mode 84 maint/gnulib/lib/lstat.c if (S_ISDIR (sbuf->st_mode) || file[strlen (file) - 1] != '/') st_mode 93 maint/gnulib/lib/lstat.c if (!S_ISLNK (sbuf->st_mode)) st_mode 156 maint/gnulib/lib/mkdir-p.c if (S_ISDIR (st.st_mode)) st_mode 322 maint/gnulib/lib/modechange.c return make_node_op_equals (ref_stats.st_mode, CHMOD_MODE_BITS); st_mode 704 maint/gnulib/lib/mountlist.c if (lstat (name, &statbuf) >= 0 && S_ISDIR (statbuf.st_mode)) st_mode 162 maint/gnulib/lib/open.c if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) st_mode 193 maint/gnulib/lib/open.c if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) st_mode 155 maint/gnulib/lib/openat.c if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) st_mode 199 maint/gnulib/lib/progreloc.c && ! S_ISDIR (statfile.st_mode)); st_mode 53 maint/gnulib/lib/pt_chown.c if (stat (pty, &st) < 0 || !S_ISCHR (st.st_mode)) st_mode 67 maint/gnulib/lib/pt_chown.c if ((st.st_mode & (S_IRWXU|S_IRWXG|S_IRWXO)) != (S_IRUSR|S_IWUSR|S_IWGRP) st_mode 119 maint/gnulib/lib/ptsname_r.c if (!S_ISCHR (st.st_mode)) st_mode 159 maint/gnulib/lib/ptsname_r.c if (!S_ISCHR (st.st_mode)) st_mode 62 maint/gnulib/lib/read-file.c if (fstat (fileno (stream), &st) >= 0 && S_ISREG (st.st_mode)) st_mode 99 maint/gnulib/lib/rename.c if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash)) st_mode 105 maint/gnulib/lib/rename.c if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode)) st_mode 107 maint/gnulib/lib/rename.c errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; st_mode 123 maint/gnulib/lib/rename.c if (dst_exists && S_ISDIR (dst_st.st_mode)) st_mode 343 maint/gnulib/lib/rename.c if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash)) st_mode 349 maint/gnulib/lib/rename.c if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode)) st_mode 351 maint/gnulib/lib/rename.c errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; st_mode 398 maint/gnulib/lib/rename.c if (S_ISLNK (src_st.st_mode)) st_mode 418 maint/gnulib/lib/rename.c else if (S_ISLNK (dst_st.st_mode)) st_mode 432 maint/gnulib/lib/rename.c if (dst_exists && S_ISDIR (dst_st.st_mode)) st_mode 171 maint/gnulib/lib/renameatu.c if (!S_ISDIR (src_st.st_mode)) st_mode 176 maint/gnulib/lib/renameatu.c if (errno != ENOENT || !S_ISDIR (src_st.st_mode)) st_mode 179 maint/gnulib/lib/renameatu.c else if (!S_ISDIR (dst_st.st_mode)) st_mode 181 maint/gnulib/lib/renameatu.c else if (!S_ISDIR (src_st.st_mode)) st_mode 204 maint/gnulib/lib/renameatu.c if (S_ISLNK (src_st.st_mode)) st_mode 224 maint/gnulib/lib/renameatu.c else if (S_ISLNK (dst_st.st_mode)) st_mode 61 maint/gnulib/lib/stat-size.h (S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) ? \ st_mode 312 maint/gnulib/lib/stat-w32.c buf->st_mode = mode; st_mode 390 maint/gnulib/lib/stat-w32.c buf->st_mode = (type == FILE_TYPE_PIPE ? _S_IFIFO : _S_IFCHR); st_mode 310 maint/gnulib/lib/stat.c buf->st_mode = mode; st_mode 346 maint/gnulib/lib/stat.c if (ret >= 0 && check_dir && !S_ISDIR (buf->st_mode)) st_mode 426 maint/gnulib/lib/stat.c if (!S_ISDIR (buf->st_mode)) st_mode 103 maint/gnulib/lib/supersede.c && ! S_ISREG (statbuf.st_mode) st_mode 164 maint/gnulib/lib/supersede.c && S_ISREG (statbuf.st_mode)) st_mode 207 maint/gnulib/lib/supersede.c && ! S_ISREG (statbuf.st_mode)) st_mode 306 maint/gnulib/lib/supersede.c dest_statbuf.st_mode)) st_mode 319 maint/gnulib/lib/supersede.c chmod (action->final_rename_temp, dest_statbuf.st_mode); st_mode 99 maint/gnulib/lib/sys_stat.in.h mode_t st_mode; st_mode 281 maint/gnulib/lib/sys_stat.in.h # define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) st_mode 289 maint/gnulib/lib/sys_stat.in.h # define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD) st_mode 102 maint/gnulib/lib/tempname.c return __stat64 (dir, &buf) == 0 && S_ISDIR (buf.st_mode); st_mode 83 maint/gnulib/lib/tmpdir.c return __xstat64 (_STAT_VER, dir, &buf) == 0 && S_ISDIR (buf.st_mode); st_mode 55 maint/gnulib/lib/truncate.c errno = (S_ISDIR (st.st_mode) ? EISDIR : ENOTDIR); st_mode 75 maint/gnulib/lib/unlink.c if (len && (lstat (short_name, &st) || S_ISLNK (st.st_mode))) st_mode 74 maint/gnulib/lib/unlinkat.c if (len && (lstatat (fd, short_name, &st) || S_ISLNK (st.st_mode))) st_mode 259 maint/gnulib/lib/utimens.c if (!S_ISDIR (statbuf.st_mode)) st_mode 643 maint/gnulib/lib/utimens.c if (!S_ISLNK (st.st_mode)) st_mode 48 maint/gnulib/lib/utimensat.c if (!S_ISDIR (st.st_mode)) st_mode 157 maint/gnulib/lib/utimensat.c if (!S_ISDIR (statbuf.st_mode)) st_mode 53 maint/gnulib/tests/test-copy-acl.c mode = statbuf.st_mode & 07777; st_mode 34 maint/gnulib/tests/test-execute-child.c return _fstat (fd, &st) >= 0 && !((st.st_mode & S_IFMT) == S_IFREG); st_mode 37 maint/gnulib/tests/test-execute-child.c return fstat (fd, &st) >= 0 && !S_ISREG (st.st_mode); st_mode 59 maint/gnulib/tests/test-fchmod.c ASSERT ((statbuf.st_mode & 0700) == 0400); st_mode 57 maint/gnulib/tests/test-fchmodat.c ASSERT ((statbuf.st_mode & 0700) == 0400); st_mode 75 maint/gnulib/tests/test-fchmodat.c ASSERT ((statbuf.st_mode & 0700) == 0500); st_mode 90 maint/gnulib/tests/test-fchmodat.c ASSERT ((statbuf.st_mode & 0700) == 0400); st_mode 43 maint/gnulib/tests/test-lchmod.c ASSERT ((statbuf.st_mode & 0700) == 0400); st_mode 62 maint/gnulib/tests/test-lchmod.c ASSERT ((statbuf.st_mode & 0700) == 0500); st_mode 79 maint/gnulib/tests/test-lchmod.c ASSERT ((statbuf.st_mode & 0700) == 0600); st_mode 37 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st1.st_mode)); st_mode 38 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st2.st_mode)); st_mode 44 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st1.st_mode)); st_mode 45 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st2.st_mode)); st_mode 47 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st1.st_mode)); st_mode 62 maint/gnulib/tests/test-lstat.h ASSERT (S_ISREG (st1.st_mode)); st_mode 87 maint/gnulib/tests/test-lstat.h ASSERT (S_ISLNK (st1.st_mode)); st_mode 90 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st1.st_mode)); st_mode 91 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st2.st_mode)); st_mode 97 maint/gnulib/tests/test-lstat.h ASSERT (S_ISLNK (st1.st_mode)); st_mode 103 maint/gnulib/tests/test-lstat.h ASSERT (S_ISLNK (st1.st_mode)); st_mode 109 maint/gnulib/tests/test-lstat.h ASSERT (S_ISLNK (st1.st_mode)); st_mode 38 maint/gnulib/tests/test-mkfifo.h ASSERT (S_ISFIFO (st.st_mode)); st_mode 123 maint/gnulib/tests/test-mkfifoat.c ASSERT (S_ISFIFO (st.st_mode)); st_mode 139 maint/gnulib/tests/test-mkfifoat.c ASSERT (S_ISFIFO (st.st_mode)); st_mode 142 maint/gnulib/tests/test-mkfifoat.c ASSERT (S_ISFIFO (st.st_mode)); st_mode 57 maint/gnulib/tests/test-read-file.c if (S_ISREG (statbuf.st_mode)) st_mode 107 maint/gnulib/tests/test-remove.c ASSERT (S_ISLNK (st.st_mode)); st_mode 576 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st_mode 721 maint/gnulib/tests/test-rename.h ASSERT (S_ISREG (st.st_mode)); st_mode 759 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st_mode 796 maint/gnulib/tests/test-rename.h ASSERT (S_ISREG (st.st_mode)); st_mode 799 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st_mode 844 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st_mode 847 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st_mode 882 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st_mode 885 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st_mode 896 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st_mode 902 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st_mode 912 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st_mode 918 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st_mode 936 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); st_mode 942 maint/gnulib/tests/test-rename.h ASSERT (S_ISLNK (st.st_mode)); st_mode 109 maint/gnulib/tests/test-sameacls.c if (statbuf1.st_mode != statbuf2.st_mode) st_mode 113 maint/gnulib/tests/test-sameacls.c (unsigned int) statbuf1.st_mode, (unsigned int) statbuf2.st_mode); st_mode 84 maint/gnulib/tests/test-stat.h ASSERT (S_ISDIR (st1.st_mode));