Searched refs:S_ISDIR (Results 1 - 25 of 191) sorted by relevance

12345678

/haiku-fatelf/src/bin/bash/include/
H A Dposixstat.h32 # undef S_ISDIR macro
39 #if !defined (S_IFDIR) && !defined (S_ISDIR)
41 #endif /* !S_IFDIR && !S_ISDIR */
87 #if defined (S_IFDIR) && !defined (S_ISDIR)
88 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) /* directory */ macro
/haiku-fatelf/src/bin/bash/lib/readline/
H A Dposixstat.h32 # undef S_ISDIR macro
39 #if !defined (S_IFDIR) && !defined (S_ISDIR)
41 #endif /* !S_IFDIR && !S_ISDIR */
87 #if defined (S_IFDIR) && !defined (S_ISDIR)
88 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) /* directory */ macro
H A Drldefs.h53 #if defined (S_IFDIR) && !defined (S_ISDIR)
54 # define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) macro
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dlstat.c67 if (S_ISDIR (sbuf->st_mode))
H A Dfstatat.c44 if (result == 0 && ! S_ISDIR (st->st_mode))
H A Dsys_stat.in.h39 # undef S_ISDIR macro
66 #ifndef S_ISDIR
68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
70 # define S_ISDIR(m) 0 macro
/haiku-fatelf/src/bin/gdb/readline/
H A Dposixstat.h32 # undef S_ISDIR macro
39 #if !defined (S_IFDIR) && !defined (S_ISDIR)
41 #endif /* !S_IFDIR && !S_ISDIR */
87 #if defined (S_IFDIR) && !defined (S_ISDIR)
88 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) /* directory */ macro
H A Drldefs.h47 #if defined (S_IFDIR) && !defined (S_ISDIR)
48 # define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) macro
/haiku-fatelf/src/bin/findutils/lib/
H A Dmodetype.h48 #undef S_ISDIR macro
67 #if !defined(S_ISDIR) && defined(S_IFDIR)
68 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
/haiku-fatelf/src/bin/gdb/gdb/
H A Dgdb_stat.h30 #undef S_ISDIR macro
46 #if !defined(S_ISDIR) && defined(S_IFDIR)
47 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
/haiku-fatelf/src/bin/coreutils/lib/
H A Drename.c95 if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash))
101 if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode))
103 errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR;
119 if (dst_exists && S_ISDIR (dst_st.st_mode))
341 if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash))
347 if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode))
349 errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR;
430 if (dst_exists && S_ISDIR (dst_s
[all...]
H A Dfile-type.c40 if (S_ISDIR (st->st_mode))
H A Dlstat.c75 if (file[len - 1] != '/' || S_ISDIR (sbuf->st_mode))
H A Dfstatat.c50 if (file[len - 1] != '/' || S_ISDIR (st->st_mode))
60 if (result == 0 && !S_ISDIR (st->st_mode) && file[len - 1] == '/')
H A Dstat.c54 if (result == 0 && !S_ISDIR (st->st_mode))
95 if (result == 0 && check_dir && !S_ISDIR (st->st_mode))
H A Dat-func2.c130 if (!S_ISDIR (st2.st_mode))
142 if (!S_ISDIR (st1.st_mode))
154 if (!S_ISDIR (st1.st_mode) || !S_ISDIR (st2.st_mode))
170 if (!S_ISDIR (st1.st_mode))
H A Drmdir.c65 if (!S_ISDIR (statbuf.st_mode))
H A Dopen.c117 if (stat (filename, &statbuf) == 0 && S_ISDIR (statbuf.st_mode))
150 if (fstat (fd, &statbuf) >= 0 && !S_ISDIR (statbuf.st_mode))
H A Dlink.c76 if (stat (file1, &st) == 0 && S_ISDIR (st.st_mode))
174 if (!S_ISDIR (st.st_mode))
/haiku-fatelf/src/bin/gawk/posix/
H A Dgawkmisc.c178 #if ! defined(S_ISDIR) && defined(S_IFDIR)
179 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
188 return (fstat(fd, &sbuf) == 0 && S_ISDIR(sbuf.st_mode));
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dmailstat.c70 if ((i = stat(path, st)) != 0 || S_ISDIR(st->st_mode) == 0)
96 if (stat(dir, &st_tmp) || S_ISDIR(st_tmp.st_mode) == 0)
102 if (stat(dir, &st_tmp) || S_ISDIR(st_tmp.st_mode) == 0)
108 if (stat(dir, &st_tmp) || S_ISDIR(st_tmp.st_mode) == 0)
/haiku-fatelf/src/bin/sharutils/lib/
H A Dsystem.h100 # undef S_ISDIR macro
107 #if !defined(S_ISDIR) && defined(S_IFDIR)
108 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR) macro
/haiku-fatelf/src/bin/coreutils/lib/sys/
H A Dstat.h36 # undef S_ISDIR macro
63 #ifndef S_ISDIR
65 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
67 # define S_ISDIR(m) 0 macro
/haiku-fatelf/src/bin/findutils/gnulib/lib/sys/
H A Dstat.h39 # undef S_ISDIR macro
66 #ifndef S_ISDIR
68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
70 # define S_ISDIR(m) 0 macro
/haiku-fatelf/src/bin/network/wget/src/
H A Dsysdep.h171 #ifndef S_ISDIR
172 # define S_ISDIR(m) (((m) & (_S_IFMT)) == (_S_IFDIR)) macro

Completed in 304 milliseconds

12345678