HomeSort by: relevance | last modified time | path
    Searched refs:S_ISDIR (Results 1 - 25 of 101) sorted by relevancy

1 2 3 4 5

  /src/lib/libc/stdio/
remove.c 66 if (S_ISDIR(sb.st_mode))
gettemp.c 108 if (!S_ISDIR(sbuf.st_mode)) {
  /src/usr.bin/patch/
mkpath.c 74 } else if (!S_ISDIR(sb.st_mode)) {
  /src/sys/external/bsd/acpica/dist/os_specific/service_layers/
osunixdir.c 289 if ((S_ISDIR (temp_stat.st_mode)
292 ((!S_ISDIR (temp_stat.st_mode)
  /src/bin/ln/
ln.c 176 if (!S_ISDIR(sb.st_mode))
246 if (S_ISDIR(sb.st_mode)) {
258 (lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) ||
259 (!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) {
313 if (Fflag && S_ISDIR(sb.st_mode)) {
334 if (Fflag && S_ISDIR(sb.st_mode)) {
  /src/bin/cp/
cp.c 245 if (r == -1 || !S_ISDIR(to_stat.st_mode)) {
268 if (S_ISDIR(tmp_stat.st_mode) && (Rflag || rflag))
429 if (S_ISDIR(curr->fts_statp->st_mode))
433 if (!S_ISDIR(curr->fts_statp->st_mode) &&
434 S_ISDIR(to_stat.st_mode)) {
487 } else if (!S_ISDIR(to_stat.st_mode)) {
  /src/distrib/utils/libhack/
opendir.c 66 if (fstat(fd, &sb) || !S_ISDIR(sb.st_mode)) {
  /src/sys/stand/
ls.c 72 if (!S_ISDIR(st.st_mode)) {
  /src/sbin/dump/
snapshot.c 94 } else if (S_ISDIR(sb.st_mode))
110 if (S_ISDIR(sb.st_mode)) {
  /src/usr.bin/unzip/
unzip.c 334 if (S_ISDIR(sb.st_mode))
372 if (S_ISDIR(sb.st_mode)) {
720 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) {
728 if (S_ISDIR(filetype) && j_opt) {
754 if (S_ISDIR(filetype))
773 if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) {
781 if (S_ISDIR(filetype)) {
844 if (S_ISDIR(archive_entry_filetype(e)))
  /src/usr.bin/dc/
dc.c 102 if (S_ISDIR(st.st_mode))
  /src/usr.sbin/tcpdmatch/
tcpdmatch.c 46 #ifndef S_ISDIR
47 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
108 } else if (!S_ISDIR(st.st_mode)) {
  /src/usr.sbin/tcpdchk/
tcpdchk.c 47 #ifndef S_ISDIR
48 #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
145 } else if (!S_ISDIR(st.st_mode)) {
  /src/bin/mkdir/
mkdir.c 183 if (!S_ISDIR(sb.st_mode)) {
  /src/bin/rcp/
util.c 93 if (S_ISDIR(stb.st_mode))
  /src/lib/libc/gen/
opendir.c 102 if (!S_ISDIR(sb.st_mode)) {
getcwd.c 206 if (*q == '/' && !S_ISDIR(sb.st_mode)) {
  /src/sys/arch/ia64/stand/common/
ls.c 173 if (!S_ISDIR(sb.st_mode)) {
  /src/libexec/ftpd/
cmds.c 243 if (! S_ISDIR(pdirstat.st_mode)) {
633 if (S_ISDIR(fe->stat->st_mode))
664 if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
672 if (S_ISDIR(fe->stat->st_mode)) {
694 if (xok && S_ISDIR(fe->stat->st_mode))
702 if (rok && xok && S_ISDIR(fe->stat->st_mode))
706 if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
710 if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
  /src/usr.sbin/mtree/
verify.c 159 if ((S_ISDIR(p->fts_statp->st_mode)
198 S_ISDIR(statbuf.st_mode))
  /src/sys/arch/acorn32/stand/nbfs/
nbfs.c 201 if (S_ISDIR(st.st_mode))
303 r->r0 = S_ISDIR(st.st_mode) ?
366 if (!S_ISDIR(st.st_mode)) {
  /src/usr.sbin/ypserv/ypserv/
ypserv_proc.c 105 if ((stat(domain_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))
131 if ((stat(domain_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))
460 if ((stat(domain_path, &finfo) != 0) || !S_ISDIR(finfo.st_mode)) {
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerIOPosix.cpp 39 return S_ISDIR(St.st_mode);
  /src/usr.sbin/makefs/
chfs.c 202 if (!S_ISDIR(cur->type & S_IFMT)) {
  /src/tests/include/
t_paths.c 189 ATF_CHECK(S_ISDIR(m) != 0);

Completed in 24 milliseconds

1 2 3 4 5