/dragonfly/bin/ln/ |
H A D | ln.c | 158 if (!S_ISDIR(sb.st_mode)) in main() 228 if (S_ISDIR(sb.st_mode)) { in linkit() 240 (lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) || in linkit() 241 (!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) { in linkit() 295 if (Fflag && S_ISDIR(sb.st_mode)) { in linkit() 316 if (Fflag && S_ISDIR(sb.st_mode)) { in linkit()
|
/dragonfly/contrib/gdb-7/readline/ |
H A D | 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
|
H A D | rldefs.h | 53 #if defined (S_IFDIR) && !defined (S_ISDIR) 54 # define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) macro
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | filemode.c | 133 #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()
|
/dragonfly/contrib/binutils-2.27/binutils/ |
H A D | filemode.c | 133 #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()
|
/dragonfly/contrib/cvs-1.12/lib/ |
H A D | stat-macros.h | 35 # 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
|
/dragonfly/bin/cp/ |
H A D | cp.c | 214 if (r == -1 || !S_ISDIR(to_stat.st_mode)) { in main() 234 if (S_ISDIR(tmp_stat.st_mode) && Rflag) in main() 390 if (S_ISDIR(curr->fts_statp->st_mode)) in copy() 394 if (!S_ISDIR(curr->fts_statp->st_mode) && in copy() 395 S_ISDIR(to_stat.st_mode)) { in copy() 438 } else if (!S_ISDIR(to_stat.st_mode)) { in copy()
|
/dragonfly/usr.bin/unzip/ |
H A D | unzip.c | 318 if (S_ISDIR(sb.st_mode)) in make_dir() 356 if (S_ISDIR(sb.st_mode)) { in make_parent() 700 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) { in extract() 708 if (S_ISDIR(filetype) && j_opt) { in extract() 734 if (S_ISDIR(filetype)) in extract() 753 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) { in extract_stdout() 761 if (S_ISDIR(filetype)) { in extract_stdout() 829 if (S_ISDIR(archive_entry_filetype(e))) in test()
|
/dragonfly/contrib/tcsh-6/ |
H A D | glob.c | 74 #ifndef S_ISDIR 75 #define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) macro 209 if (stat(str, &st) == -1 || !S_ISDIR(st.st_mode)) in Opendir() 223 if (*fn != 0 && strend(fn)[-1] == '/' && !S_ISDIR(sb->st_mode)) in Lstat() 239 if (*fn != 0 && strend(fn)[-1] == '/' && !S_ISDIR(sb->st_mode)) in Stat() 506 (S_ISDIR(sbuf.st_mode) in glob2() 510 S_ISDIR(sbuf.st_mode)) in glob2() 605 if (*pathbuf->s && (Lstat(pathbuf->s, &sbuf) || !S_ISDIR(sbuf.st_mode) in glob3()
|
H A D | tc.os.h | 229 # undef S_ISDIR 240 # if !defined(S_ISDIR) && defined(S_IFDIR) 241 # define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR) macro
|
/dragonfly/contrib/gdb-7/gdb/common/ |
H A D | gdb_stat.h | 31 #if !defined(S_ISDIR) && defined(S_IFDIR) 32 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
|
/dragonfly/contrib/cvs-1.12/diff/ |
H A D | system.h | 44 #undef S_ISDIR 49 #ifndef S_ISDIR 50 #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) macro
|
/dragonfly/sys/contrib/dev/acpica/source/os_specific/service_layers/ |
H A D | osunixdir.c | 289 if ((S_ISDIR (temp_stat.st_mode) in AcpiOsGetNextFilename() 292 ((!S_ISDIR (temp_stat.st_mode) in AcpiOsGetNextFilename()
|
/dragonfly/contrib/binutils-2.34/libiberty/ |
H A D | argv.c | 397 #ifdef S_ISDIR in expandargv() 410 #ifdef S_ISDIR in expandargv() 413 if (S_ISDIR(sb.st_mode)) in expandargv()
|
/dragonfly/contrib/gcc-8.0/libiberty/ |
H A D | argv.c | 397 #ifdef S_ISDIR in expandargv() 410 #ifdef S_ISDIR in expandargv() 413 if (S_ISDIR(sb.st_mode)) in expandargv()
|
/dragonfly/usr.sbin/mtree/ |
H A D | create.c | 223 S_ISDIR(p->fts_statp->st_mode) ? "" : " ", vispath(p->fts_name)); in statf() 357 (dflag && S_ISDIR(p->fts_statp->st_mode))) { in statd() 443 if (S_ISDIR((*a)->fts_statp->st_mode)) { in dcmp() 444 if (!S_ISDIR((*b)->fts_statp->st_mode)) in dcmp() 446 } else if (S_ISDIR((*b)->fts_statp->st_mode)) in dcmp()
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | remote-fileio.c | 205 if (S_ISDIR(mode)) in remote_fileio_mode_to_target() 628 if (!S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode)) in remote_fileio_func_open() 633 if (S_ISDIR (st.st_mode) in remote_fileio_func_open() 978 if ((!of && !S_ISREG (ost.st_mode) && !S_ISDIR (ost.st_mode)) in remote_fileio_func_rename() 979 || (!nf && !S_ISREG (nst.st_mode) && !S_ISDIR (nst.st_mode))) in remote_fileio_func_rename() 999 if (!of && !nf && S_ISDIR (nst.st_mode)) in remote_fileio_func_rename() 1055 if (!stat (pathname, &st) && !S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode)) in remote_fileio_func_unlink() 1112 if (!ret && !S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode)) in remote_fileio_func_stat()
|
/dragonfly/contrib/tcp_wrappers/ |
H A D | tcpdmatch.c | 41 #ifndef S_ISDIR 42 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 114 } else if (!S_ISDIR(st.st_mode)) {
|
H A D | tcpdchk.c | 45 #ifndef S_ISDIR 46 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 133 } else if (!S_ISDIR(st.st_mode)) {
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | file-find.c | 85 && ! S_ISDIR (st.st_mode) in find_a_file() 95 && ! S_ISDIR (st.st_mode) in find_a_file()
|
/dragonfly/bin/mv/ |
H A D | mv.c | 118 if (stat(argv[argc - 1], &sb) || !S_ISDIR(sb.st_mode)) { in main() 241 if (target_is_file && S_ISDIR(sb.st_mode)) { in do_move() 376 if (S_ISDIR(sb.st_mode)) { in copy()
|
/dragonfly/sbin/hammer/ |
H A D | cmd_snapshot.c | 82 } else if (S_ISDIR(st.st_mode)) { in hammer_cmd_snap() 233 } else if (S_ISDIR(st.st_mode)) { in hammer_cmd_snaprm() 343 if (!S_ISDIR(st.st_mode)) { in hammer_cmd_snapshot() 382 !S_ISDIR(st.st_mode)) { in hammer_cmd_snapshot()
|
/dragonfly/lib/libc/stdio/ |
H A D | remove.c | 49 if (S_ISDIR(sb.st_mode)) in remove()
|
/dragonfly/gnu/usr.bin/grep/libgreputils/sys/ |
H A D | stat.h | 400 # undef S_ISDIR 427 #ifndef S_ISDIR 429 # define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro 431 # define S_ISDIR(m) 0 macro
|
/dragonfly/usr.bin/patch/ |
H A D | mkpath.c | 70 } else if (!S_ISDIR(sb.st_mode)) { in mkpath()
|