S_ISDIR 365 lib/common/io.c } else if (S_ISDIR(buf.st_mode) == FALSE) { S_ISDIR 74 lib/common/procfs.c if (!S_ISDIR(statbuf.st_mode)) { S_ISDIR 1387 lib/services/services_linux.c if (S_ISDIR(sb.st_mode)) { S_ISDIR 130 maint/gnulib/lib/at-func2.c if (!S_ISDIR (st2.st_mode)) S_ISDIR 142 maint/gnulib/lib/at-func2.c if (!S_ISDIR (st1.st_mode)) S_ISDIR 154 maint/gnulib/lib/at-func2.c if (!S_ISDIR (st1.st_mode) || !S_ISDIR (st2.st_mode)) S_ISDIR 170 maint/gnulib/lib/at-func2.c if (!S_ISDIR (st1.st_mode)) S_ISDIR 76 maint/gnulib/lib/dirchownmod.c if (! S_ISDIR (dir_mode)) S_ISDIR 68 maint/gnulib/lib/dup.c && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) S_ISDIR 146 maint/gnulib/lib/dup2.c && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) S_ISDIR 66 maint/gnulib/lib/faccessat.c if (result == 0 && !S_ISDIR (st.st_mode)) S_ISDIR 135 maint/gnulib/lib/fchdir.c || (fstat (fd, &statbuf) == 0 && S_ISDIR (statbuf.st_mode))) S_ISDIR 75 maint/gnulib/lib/fchmodat.c if (!S_ISDIR (st.st_mode)) S_ISDIR 563 maint/gnulib/lib/fcntl.c && !fstat (fd, &sbuf) && S_ISDIR (sbuf.st_mode)) S_ISDIR 241 maint/gnulib/lib/fdopendir.c if (!S_ISDIR (st.st_mode)) S_ISDIR 61 maint/gnulib/lib/file-has-acl.c if (ret == 0 && S_ISDIR (sb->st_mode)) S_ISDIR 123 maint/gnulib/lib/file-has-acl.c if (ret == 0 && S_ISDIR (sb->st_mode)) S_ISDIR 42 maint/gnulib/lib/file-type.c if (S_ISDIR (st->st_mode)) S_ISDIR 48 maint/gnulib/lib/filemode.c if (S_ISDIR (bits)) S_ISDIR 157 maint/gnulib/lib/findprog-in.c if (! S_ISDIR (statbuf.st_mode)) S_ISDIR 197 maint/gnulib/lib/findprog-in.c if (! S_ISDIR (statbuf.st_mode)) S_ISDIR 309 maint/gnulib/lib/findprog-in.c if (! S_ISDIR (statbuf.st_mode)) S_ISDIR 373 maint/gnulib/lib/findprog-in.c if (! S_ISDIR (statbuf.st_mode)) S_ISDIR 115 maint/gnulib/lib/findprog.c && ! S_ISDIR (statbuf.st_mode)) S_ISDIR 184 maint/gnulib/lib/fopen.c if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) S_ISDIR 88 maint/gnulib/lib/fstatat.c if (file[len - 1] != '/' || S_ISDIR (st->st_mode)) S_ISDIR 98 maint/gnulib/lib/fstatat.c if (result == 0 && !S_ISDIR (st->st_mode) && file[len - 1] == '/') S_ISDIR 1794 maint/gnulib/lib/fts.c if (S_ISDIR(sbp->st_mode)) { S_ISDIR 56 maint/gnulib/lib/get-permissions.c if (S_ISDIR (mode)) S_ISDIR 401 maint/gnulib/lib/getcwd.c if (entry_status == 0 && S_ISDIR (st.st_mode) S_ISDIR 259 maint/gnulib/lib/glob.c ? pglob->gl_stat (filename, &st) == 0 && S_ISDIR (st.st_mode) S_ISDIR 260 maint/gnulib/lib/glob.c : GLOB_STAT64 (filename, &st64) == 0 && S_ISDIR (st64.st_mode)); S_ISDIR 32 maint/gnulib/lib/isdir.c return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode); S_ISDIR 102 maint/gnulib/lib/link.c if (!S_ISDIR (st.st_mode)) S_ISDIR 208 maint/gnulib/lib/link.c if (!S_ISDIR (st.st_mode)) S_ISDIR 290 maint/gnulib/lib/linkat.c if (!S_ISDIR (st.st_mode)) S_ISDIR 84 maint/gnulib/lib/lstat.c if (S_ISDIR (sbuf->st_mode) || file[strlen (file) - 1] != '/') S_ISDIR 156 maint/gnulib/lib/mkdir-p.c if (S_ISDIR (st.st_mode)) S_ISDIR 53 maint/gnulib/lib/mknod.c if (!S_ISDIR (mode)) S_ISDIR 704 maint/gnulib/lib/mountlist.c if (lstat (name, &statbuf) >= 0 && S_ISDIR (statbuf.st_mode)) S_ISDIR 162 maint/gnulib/lib/open.c if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode)) S_ISDIR 193 maint/gnulib/lib/open.c if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) S_ISDIR 155 maint/gnulib/lib/openat.c if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode)) S_ISDIR 199 maint/gnulib/lib/progreloc.c && ! S_ISDIR (statfile.st_mode)); S_ISDIR 99 maint/gnulib/lib/rename.c if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash)) S_ISDIR 105 maint/gnulib/lib/rename.c if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode)) S_ISDIR 107 maint/gnulib/lib/rename.c errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; S_ISDIR 123 maint/gnulib/lib/rename.c if (dst_exists && S_ISDIR (dst_st.st_mode)) S_ISDIR 343 maint/gnulib/lib/rename.c if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash)) S_ISDIR 349 maint/gnulib/lib/rename.c if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode)) S_ISDIR 351 maint/gnulib/lib/rename.c errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; S_ISDIR 432 maint/gnulib/lib/rename.c if (dst_exists && S_ISDIR (dst_st.st_mode)) S_ISDIR 171 maint/gnulib/lib/renameatu.c if (!S_ISDIR (src_st.st_mode)) S_ISDIR 176 maint/gnulib/lib/renameatu.c if (errno != ENOENT || !S_ISDIR (src_st.st_mode)) S_ISDIR 179 maint/gnulib/lib/renameatu.c else if (!S_ISDIR (dst_st.st_mode)) S_ISDIR 181 maint/gnulib/lib/renameatu.c else if (!S_ISDIR (src_st.st_mode)) S_ISDIR 532 maint/gnulib/lib/set-permissions.c if (S_ISDIR(ctx->mode)) S_ISDIR 61 maint/gnulib/lib/stat-size.h (S_ISREG ((statbuf).st_mode) || S_ISDIR ((statbuf).st_mode) ? \ S_ISDIR 346 maint/gnulib/lib/stat.c if (ret >= 0 && check_dir && !S_ISDIR (buf->st_mode)) S_ISDIR 426 maint/gnulib/lib/stat.c if (!S_ISDIR (buf->st_mode)) S_ISDIR 191 maint/gnulib/lib/sys_stat.in.h #ifndef S_ISDIR S_ISDIR 102 maint/gnulib/lib/tempname.c return __stat64 (dir, &buf) == 0 && S_ISDIR (buf.st_mode); S_ISDIR 83 maint/gnulib/lib/tmpdir.c return __xstat64 (_STAT_VER, dir, &buf) == 0 && S_ISDIR (buf.st_mode); S_ISDIR 55 maint/gnulib/lib/truncate.c errno = (S_ISDIR (st.st_mode) ? EISDIR : ENOTDIR); S_ISDIR 259 maint/gnulib/lib/utimens.c if (!S_ISDIR (statbuf.st_mode)) S_ISDIR 48 maint/gnulib/lib/utimensat.c if (!S_ISDIR (st.st_mode)) S_ISDIR 157 maint/gnulib/lib/utimensat.c if (!S_ISDIR (statbuf.st_mode)) S_ISDIR 37 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st1.st_mode)); S_ISDIR 38 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st2.st_mode)); S_ISDIR 44 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st1.st_mode)); S_ISDIR 45 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st2.st_mode)); S_ISDIR 47 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st1.st_mode)); S_ISDIR 90 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st1.st_mode)); S_ISDIR 91 maint/gnulib/tests/test-lstat.h ASSERT (S_ISDIR (st2.st_mode)); S_ISDIR 847 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); S_ISDIR 882 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); S_ISDIR 896 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); S_ISDIR 912 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); S_ISDIR 936 maint/gnulib/tests/test-rename.h ASSERT (S_ISDIR (st.st_mode)); S_ISDIR 84 maint/gnulib/tests/test-stat.h ASSERT (S_ISDIR (st1.st_mode)); S_ISDIR 45 maint/gnulib/tests/test-sys_stat.c S_ISDIR (S_IFREG), S_ISDIR 97 maint/gnulib/tests/test-sys_stat.c verify (!S_ISDIR (S_IFBLK)); S_ISDIR 99 maint/gnulib/tests/test-sys_stat.c verify (!S_ISDIR (S_IFCHR)); S_ISDIR 100 maint/gnulib/tests/test-sys_stat.c verify (S_ISDIR (S_IFDIR)); S_ISDIR 101 maint/gnulib/tests/test-sys_stat.c verify (!S_ISDIR (S_IFIFO)); S_ISDIR 102 maint/gnulib/tests/test-sys_stat.c verify (!S_ISDIR (S_IFREG)); S_ISDIR 104 maint/gnulib/tests/test-sys_stat.c verify (!S_ISDIR (S_IFLNK)); S_ISDIR 107 maint/gnulib/tests/test-sys_stat.c verify (!S_ISDIR (S_IFSOCK));