Home
last modified time | relevance | path

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

12345678

/dragonfly/bin/ln/
H A Dln.c158 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 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 Drldefs.h53 #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 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()
/dragonfly/contrib/binutils-2.27/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()
/dragonfly/contrib/cvs-1.12/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
/dragonfly/bin/cp/
H A Dcp.c214 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 Dunzip.c318 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 Dglob.c74 #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 Dtc.os.h229 # 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 Dgdb_stat.h31 #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 Dsystem.h44 #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 Dosunixdir.c289 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 Dargv.c397 #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 Dargv.c397 #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 Dcreate.c223 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 Dremote-fileio.c205 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 Dtcpdmatch.c41 #ifndef S_ISDIR
42 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) macro
114 } else if (!S_ISDIR(st.st_mode)) {
H A Dtcpdchk.c45 #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 Dfile-find.c85 && ! S_ISDIR (st.st_mode) in find_a_file()
95 && ! S_ISDIR (st.st_mode) in find_a_file()
/dragonfly/bin/mv/
H A Dmv.c118 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 Dcmd_snapshot.c82 } 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 Dremove.c49 if (S_ISDIR(sb.st_mode)) in remove()
/dragonfly/gnu/usr.bin/grep/libgreputils/sys/
H A Dstat.h400 # 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 Dmkpath.c70 } else if (!S_ISDIR(sb.st_mode)) { in mkpath()

12345678