| /NextBSD/gnu/usr.bin/grep/ |
| HD | isdir.c | 26 # undef S_ISDIR 29 #if !defined S_ISDIR && defined S_IFDIR 30 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR) macro 41 return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode); in isdir()
|
| HD | system.h | 102 # undef S_ISDIR 105 #if !defined(S_ISDIR) && defined(S_IFDIR) 106 # define S_ISDIR(Mode) (((Mode) & S_IFMT) == S_IFDIR) macro
|
| /NextBSD/bin/ln/ |
| HD | ln.c | 169 if (!S_ISDIR(sb.st_mode)) in main() 239 if (S_ISDIR(sb.st_mode)) { in linkit() 251 (lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) || in linkit() 252 (!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) { in linkit() 306 if (Fflag && S_ISDIR(sb.st_mode)) { in linkit() 327 if (Fflag && S_ISDIR(sb.st_mode)) { in linkit()
|
| /NextBSD/contrib/libreadline/ |
| HD | posixstat.h | 32 # 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
|
| HD | rldefs.h | 51 #if defined (S_IFDIR) && !defined (S_ISDIR) 52 # define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) macro
|
| /NextBSD/contrib/binutils/binutils/ |
| HD | filemode.c | 134 #ifndef S_ISDIR 136 #define S_ISDIR(i) (((i) & S_IFMT) == S_IFDIR) macro 138 #define S_ISDIR(i) (((i) & 0170000) == 040000) macro 185 if (S_ISDIR (bits)) in ftypelet()
|
| /NextBSD/contrib/diff/lib/ |
| HD | file-type.h | 37 # undef S_ISDIR 66 # ifndef S_ISDIR 68 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 70 # define S_ISDIR(m) 0 macro
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | gdb_stat.h | 30 #undef S_ISDIR 46 #if !defined(S_ISDIR) && defined(S_IFDIR) 47 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
|
| HD | remote-fileio.c | 605 if (!S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode)) in remote_fileio_func_open() 610 if (S_ISDIR (st.st_mode) in remote_fileio_func_open() 942 if ((!of && !S_ISREG (ost.st_mode) && !S_ISDIR (ost.st_mode)) in remote_fileio_func_rename() 943 || (!nf && !S_ISREG (nst.st_mode) && !S_ISDIR (nst.st_mode))) in remote_fileio_func_rename() 963 if (!of && !nf && S_ISDIR (nst.st_mode)) in remote_fileio_func_rename() 1018 if (!stat (pathname, &st) && !S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode)) in remote_fileio_func_unlink() 1075 if (!ret && !S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode)) in remote_fileio_func_stat()
|
| /NextBSD/bin/cp/ |
| HD | cp.c | 220 if (r == -1 || !S_ISDIR(to_stat.st_mode)) { in main() 240 if (S_ISDIR(tmp_stat.st_mode) && Rflag) in main() 400 if (S_ISDIR(curr->fts_statp->st_mode)) in copy() 404 if (!S_ISDIR(curr->fts_statp->st_mode) && in copy() 405 S_ISDIR(to_stat.st_mode)) { in copy() 448 } else if (!S_ISDIR(to_stat.st_mode)) { in copy()
|
| /NextBSD/cddl/contrib/dtracetoolkit/Examples/ |
| HD | py_flowtime_example.txt | 216 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 …]
|
| HD | py_flow_example.txt | 216 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 …]
|
| HD | py_flowinfo_example.txt | 217 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 …]
|
| /NextBSD/contrib/tcsh/ |
| HD | glob.c | 69 #ifndef S_ISDIR 70 #define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) macro 204 if (stat(str, &st) == -1 || !S_ISDIR(st.st_mode)) in Opendir() 218 if (*fn != 0 && strend(fn)[-1] == '/' && !S_ISDIR(sb->st_mode)) in Lstat() 234 if (*fn != 0 && strend(fn)[-1] == '/' && !S_ISDIR(sb->st_mode)) in Stat() 499 (S_ISDIR(sbuf.st_mode) in glob2() 503 S_ISDIR(sbuf.st_mode)) in glob2() 597 if (*pathbuf->s && (Lstat(pathbuf->s, &sbuf) || !S_ISDIR(sbuf.st_mode) in glob3()
|
| HD | tc.os.h | 230 # undef S_ISDIR 241 # if !defined(S_ISDIR) && defined(S_IFDIR) 242 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) macro
|
| /NextBSD/contrib/ntp/lib/isc/win32/include/isc/ |
| HD | stat.h | 53 #ifndef S_ISDIR 54 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
|
| /NextBSD/usr.sbin/pw/ |
| HD | rm_r.c | 61 if (S_ISDIR(st.st_mode)) in rm_r() 69 unlinkat(rootfd, path, S_ISDIR(st.st_mode) ? AT_REMOVEDIR : 0); in rm_r()
|
| /NextBSD/usr.bin/unzip/ |
| HD | unzip.c | 318 if (S_ISDIR(sb.st_mode)) in make_dir() 356 if (S_ISDIR(sb.st_mode)) { in make_parent() 681 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) { in extract() 689 if (S_ISDIR(filetype) && j_opt) { in extract() 715 if (S_ISDIR(filetype)) in extract() 737 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) { in extract_stdout() 745 if (S_ISDIR(filetype)) { in extract_stdout() 879 if (S_ISDIR(archive_entry_filetype(e))) in test()
|
| /NextBSD/contrib/ntp/sntp/libopts/compat/ |
| HD | windows-config.h | 110 #ifndef S_ISDIR 112 # define S_ISDIR(mode) (((mode) & S_IFDIR) == S_IFDIR) macro
|
| /NextBSD/usr.sbin/fmtree/ |
| HD | create.c | 161 if (iflag || S_ISDIR(p->fts_statp->st_mode)) in statf() 314 if (!dflag || (dflag && S_ISDIR(p->fts_statp->st_mode))) { in statd() 404 if (S_ISDIR((*a)->fts_statp->st_mode)) { in dsort() 405 if (!S_ISDIR((*b)->fts_statp->st_mode)) in dsort() 407 } else if (S_ISDIR((*b)->fts_statp->st_mode)) in dsort()
|
| /NextBSD/contrib/libarchive/libarchive/test/ |
| HD | test_write_disk_secure.c | 150 assert(S_ISDIR(st.st_mode)); in DEFINE_TEST() 178 assert(S_ISDIR(st.st_mode)); in DEFINE_TEST() 206 assert(S_ISDIR(st.st_mode)); in DEFINE_TEST()
|
| /NextBSD/contrib/tcp_wrappers/ |
| HD | tcpdmatch.c | 43 #ifndef S_ISDIR 44 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 116 } else if (!S_ISDIR(st.st_mode)) {
|
| HD | tcpdchk.c | 48 #ifndef S_ISDIR 49 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 136 } else if (!S_ISDIR(st.st_mode)) {
|
| /NextBSD/contrib/mtree/ |
| HD | create.c | 192 S_ISDIR(p->fts_statp->st_mode) ? "" : " ", vispath(p->fts_name)); in statf() 367 (dflag && S_ISDIR(p->fts_statp->st_mode))) { in statd() 453 if (S_ISDIR((*a)->fts_statp->st_mode)) { in dcmp() 454 if (!S_ISDIR((*b)->fts_statp->st_mode)) in dcmp() 456 } else if (S_ISDIR((*b)->fts_statp->st_mode)) in dcmp()
|
| /NextBSD/lib/libc/stdio/ |
| HD | remove.c | 51 if (S_ISDIR(sb.st_mode)) in remove()
|