Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Drename.c99 if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash)) in rpl_rename()
105 if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode)) in rpl_rename()
107 errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; in rpl_rename()
123 if (dst_exists && S_ISDIR (dst_st.st_mode)) in rpl_rename()
343 if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash)) in rpl_rename()
349 if (S_ISDIR (dst_st.st_mode) != S_ISDIR (src_st.st_mode)) in rpl_rename()
351 errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; in rpl_rename()
432 if (dst_exists && S_ISDIR (dst_st.st_mode)) in rpl_rename()
/netbsd-src/external/gpl2/grep/dist/lib/
H A Disdir.c28 # undef S_ISDIR
31 #if !defined S_ISDIR && defined S_IFDIR
32 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR) macro
43 return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode); in isdir()
/netbsd-src/external/gpl2/mkhybrid/dist/include/
H A Dstatdefs.h34 #undef S_ISDIR /* Directory */
67 #ifndef S_ISDIR /* Directory */
69 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
71 # define S_ISDIR(m) (0) macro
/netbsd-src/bin/ln/
H A Dln.c176 if (!S_ISDIR(sb.st_mode)) in main()
246 if (S_ISDIR(sb.st_mode)) { in linkit()
258 (lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) || in linkit()
259 (!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) { in linkit()
313 if (Fflag && S_ISDIR(sb.st_mode)) { in linkit()
334 if (Fflag && S_ISDIR(sb.st_mode)) { in linkit()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dfilemode.c133 #ifndef S_ISDIR
135 #define S_ISDIR(i) (((i) & S_IFMT) == S_IFDIR) macro
137 #define S_ISDIR(i) (((i) & 0170000) == 040000) macro
184 if (S_ISDIR (bits)) in ftypelet()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dfilemode.c133 #ifndef S_ISDIR
135 #define S_ISDIR(i) (((i) & S_IFMT) == S_IFDIR) macro
137 #define S_ISDIR(i) (((i) & 0170000) == 040000) macro
184 if (S_ISDIR (bits)) in ftypelet()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dposixstat.h32 # undef S_ISDIR
39 #if !defined (S_IFDIR) && !defined (S_ISDIR)
87 #if defined (S_IFDIR) && !defined (S_ISDIR)
88 #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) /* directory */ macro
H A Dcolors.c47 #ifndef S_ISDIR
48 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
215 else if (S_ISDIR (mode)) in _rl_print_color_indicator()
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dstat-macros.h35 # undef S_ISDIR
64 # ifndef S_ISDIR
66 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
68 # define S_ISDIR(m) 0 macro
/netbsd-src/external/gpl2/texinfo/dist/lib/
H A Dsystem.h32 #define S_ISDIR(x) ((x)&_S_IFDIR) macro
136 # undef S_ISDIR
138 #if !defined(S_ISDIR) && defined(S_IFDIR)
139 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
H A Dtempname.c73 # undef S_ISDIR
75 #if !defined S_ISDIR && defined S_IFDIR
76 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
147 return __xstat64 (_STAT_VER, dir, &buf) == 0 && S_ISDIR (buf.st_mode); in direxists()
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Dpy_flow_example.txt216 0 3064371853597 stat.py -> S_ISDIR
219 0 3064371853620 stat.py <- S_ISDIR
243 0 3064371854224 stat.py -> S_ISDIR
246 0 3064371854247 stat.py <- S_ISDIR
261 0 3064371854386 stat.py -> S_ISDIR
264 0 3064371854408 stat.py <- S_ISDIR
279 0 3064371854556 stat.py -> S_ISDIR
282 0 3064371854578 stat.py <- S_ISDIR
297 0 3064371854715 stat.py -> S_ISDIR
300 0 3064371854737 stat.py <- S_ISDIR
[all …]
H A Dpy_flowtime_example.txt216 0 3064660325447 stat.py 31 -> S_ISDIR
219 0 3064660325473 stat.py 8 <- S_ISDIR
243 0 3064660326118 stat.py 21 -> S_ISDIR
246 0 3064660326144 stat.py 8 <- S_ISDIR
261 0 3064660326298 stat.py 22 -> S_ISDIR
264 0 3064660326322 stat.py 8 <- S_ISDIR
279 0 3064660326493 stat.py 23 -> S_ISDIR
282 0 3064660326517 stat.py 8 <- S_ISDIR
297 0 3064660326668 stat.py 22 -> S_ISDIR
300 0 3064660326692 stat.py 8 <- S_ISDIR
[all …]
H A Dpy_flowinfo_example.txt217 0 145424 34 stat.py:45 func -> S_ISDIR
220 0 145424 9 stat.py:46 func <- S_ISDIR
244 0 145424 23 stat.py:45 func -> S_ISDIR
247 0 145424 9 stat.py:46 func <- S_ISDIR
262 0 145424 23 stat.py:45 func -> S_ISDIR
265 0 145424 9 stat.py:46 func <- S_ISDIR
280 0 145424 24 stat.py:45 func -> S_ISDIR
283 0 145424 9 stat.py:46 func <- S_ISDIR
298 0 145424 23 stat.py:45 func -> S_ISDIR
301 0 145424 9 stat.py:46 func <- S_ISDIR
[all …]
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Dpy_flowtime_example.txt216 0 3064660325447 stat.py 31 -> S_ISDIR
219 0 3064660325473 stat.py 8 <- S_ISDIR
243 0 3064660326118 stat.py 21 -> S_ISDIR
246 0 3064660326144 stat.py 8 <- S_ISDIR
261 0 3064660326298 stat.py 22 -> S_ISDIR
264 0 3064660326322 stat.py 8 <- S_ISDIR
279 0 3064660326493 stat.py 23 -> S_ISDIR
282 0 3064660326517 stat.py 8 <- S_ISDIR
297 0 3064660326668 stat.py 22 -> S_ISDIR
300 0 3064660326692 stat.py 8 <- S_ISDIR
[all …]
H A Dpy_flow_example.txt216 0 3064371853597 stat.py -> S_ISDIR
219 0 3064371853620 stat.py <- S_ISDIR
243 0 3064371854224 stat.py -> S_ISDIR
246 0 3064371854247 stat.py <- S_ISDIR
261 0 3064371854386 stat.py -> S_ISDIR
264 0 3064371854408 stat.py <- S_ISDIR
279 0 3064371854556 stat.py -> S_ISDIR
282 0 3064371854578 stat.py <- S_ISDIR
297 0 3064371854715 stat.py -> S_ISDIR
300 0 3064371854737 stat.py <- S_ISDIR
[all …]
H A Dpy_flowinfo_example.txt217 0 145424 34 stat.py:45 func -> S_ISDIR
220 0 145424 9 stat.py:46 func <- S_ISDIR
244 0 145424 23 stat.py:45 func -> S_ISDIR
247 0 145424 9 stat.py:46 func <- S_ISDIR
262 0 145424 23 stat.py:45 func -> S_ISDIR
265 0 145424 9 stat.py:46 func <- S_ISDIR
280 0 145424 24 stat.py:45 func -> S_ISDIR
283 0 145424 9 stat.py:46 func <- S_ISDIR
298 0 145424 23 stat.py:45 func -> S_ISDIR
301 0 145424 9 stat.py:46 func <- S_ISDIR
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dtmpdir.c40 #if !defined S_ISDIR && defined S_IFDIR
41 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
90 return __xstat64 (_STAT_VER, dir, &buf) == 0 && S_ISDIR (buf.st_mode); in direxists()
/netbsd-src/bin/cp/
H A Dcp.c245 if (r == -1 || !S_ISDIR(to_stat.st_mode)) { in main()
268 if (S_ISDIR(tmp_stat.st_mode) && (Rflag || rflag)) in main()
429 if (S_ISDIR(curr->fts_statp->st_mode)) in copy()
433 if (!S_ISDIR(curr->fts_statp->st_mode) && in copy()
434 S_ISDIR(to_stat.st_mode)) { in copy()
487 } else if (!S_ISDIR(to_stat.st_mode)) { in copy()
/netbsd-src/external/gpl2/diffutils/dist/lib/
H A Dtempname.c71 # undef S_ISDIR
73 #if !defined S_ISDIR && defined S_IFDIR
74 # define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
145 return __xstat64 (_STAT_VER, dir, &buf) == 0 && S_ISDIR (buf.st_mode); in direxists()
/netbsd-src/usr.bin/unzip/
H A Dunzip.c334 if (S_ISDIR(sb.st_mode)) in make_dir()
372 if (S_ISDIR(sb.st_mode)) { in make_parent()
720 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) { in extract()
728 if (S_ISDIR(filetype) && j_opt) { in extract()
754 if (S_ISDIR(filetype)) in extract()
773 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) { in extract_stdout()
781 if (S_ISDIR(filetype)) { in extract_stdout()
844 if (S_ISDIR(archive_entry_filetype(e))) in test()
/netbsd-src/external/gpl2/texinfo/dist/info/
H A Dfilesys.h90 #if !defined (S_ISDIR) && defined (S_IFDIR)
91 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
/netbsd-src/external/gpl2/xcvs/dist/diff/
H A Dsystem.h44 #undef S_ISDIR
49 #ifndef S_ISDIR
50 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
/netbsd-src/external/gpl2/grep/dist/src/
H A Dsystem.h104 # undef S_ISDIR
107 #if !defined(S_ISDIR) && defined(S_IFDIR)
108 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR) macro
/netbsd-src/libexec/ftpd/
H A Dcmds.c243 if (! S_ISDIR(pdirstat.st_mode)) { in mlsd()
633 if (S_ISDIR(fe->stat->st_mode)) in fact_perm()
664 if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode)) in fact_perm()
672 if (S_ISDIR(fe->stat->st_mode)) { in fact_perm()
694 if (xok && S_ISDIR(fe->stat->st_mode)) in fact_perm()
702 if (rok && xok && S_ISDIR(fe->stat->st_mode)) in fact_perm()
706 if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode)) in fact_perm()
710 if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode)) in fact_perm()

12345678910>>...14