S_ISDIR
if (r == -1 || !S_ISDIR(to_stat.st_mode)) {
if (S_ISDIR(tmp_stat.st_mode) && (Rflag || rflag))
if (S_ISDIR(curr->fts_statp->st_mode))
if (!S_ISDIR(curr->fts_statp->st_mode) &&
S_ISDIR(to_stat.st_mode)) {
} else if (!S_ISDIR(to_stat.st_mode)) {
if (stat(ptr = a, &stb) == 0 && S_ISDIR(stb.st_mode)) \
#define isdir(d) (S_ISDIR(d.st_mode))
access(strname, X_OK) == 0) || (dir_ok && S_ISDIR(stbuf.st_mode))));
i = S_ISDIR(stb.st_mode);
S_ISDIR(statb.st_mode))
return test_stat(opnd1, &b1) == 0 && S_ISDIR(b1.st_mode);
else if (S_ISDIR(statb.st_mode))
&& ISDIRSEP(xp[-1]) && !S_ISDIR(lstatb.st_mode)
|| !S_ISDIR(statb.st_mode))
&& (S_ISDIR(lstatb.st_mode)
&& S_ISDIR(statb.st_mode))
err = S_ISDIR(statb.st_mode) ? EISDIR : EACCES;
&& stat(s, &statb) == 0 && S_ISDIR(statb.st_mode))
if (!S_ISDIR(sb.st_mode))
if (S_ISDIR(sb.st_mode)) {
(lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) ||
(!hflag && stat(target, &sb) == 0 && S_ISDIR(sb.st_mode))) {
if (Fflag && S_ISDIR(sb.st_mode)) {
if (Fflag && S_ISDIR(sb.st_mode)) {
if (f_type || (f_typedir && S_ISDIR(sp->st_mode)))
if (f_type || (f_typedir && S_ISDIR(sp->st_mode)))
if (!S_ISDIR(sb.st_mode)) {
if (hflg || stat(argv[argc - 1], &sb) || !S_ISDIR(sb.st_mode)) {
if ((S_ISDIR(sb.st_mode)) ? rmdir(to) : unlink(to)) {
if (S_ISDIR(arsb.st_mode)) {
if (stat(fname, &sb) != -1 && S_ISDIR(sb.st_mode))
if (!S_ISDIR(sb.st_mode)) {
if (lstat(arcn->ln_name, &sb) != -1 && S_ISDIR(sb.st_mode)) {
if (S_ISDIR(sb.st_mode) && strcmp(from, ".") != 0) {
if (S_ISDIR(sb.st_mode)) {
if (retval == -1 && stat(name, &sb) == 0 && S_ISDIR(sb.st_mode))
if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
if (!S_ISDIR(stb.st_mode)) {
if (S_ISDIR(stb.st_mode))
if (S_ISDIR(sb.st_mode) && !dflag) {
else if (S_ISDIR(sb.st_mode))
if (!S_ISDIR(statb.st_mode)) {
if (S_ISDIR(statb.st_mode))
if (S_ISDIR(statb.st_mode) || S_ISBLK(statb.st_mode))
return S_ISDIR(s.st_mode);
if (S_ISDIR(st.st_mode)) {
if (fstat(fd, &sb) || !S_ISDIR(sb.st_mode)) {
return (S_ISDIR(sbuf.st_mode));
if (S_ISDIR(sbp->st_mode)) {
if (*q == '/' && !S_ISDIR(sb.st_mode)) {
pathend[-1] != SEP) && (S_ISDIR(sb.st_mode) ||
S_ISDIR(sb.st_mode)))) {
!S_ISDIR(sbuf.st_mode)
if (!S_ISDIR(sb.st_mode)) {
if (!S_ISDIR(sbuf.st_mode)) {
if (S_ISDIR(sb.st_mode))
if (S_ISDIR(stbuf.st_mode))
if (S_ISDIR(sb.st_mode)) {
!S_ISDIR(statbuf.st_mode)) {
if (! S_ISDIR(pdirstat.st_mode)) {
if (S_ISDIR(fe->stat->st_mode))
if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
if (S_ISDIR(fe->stat->st_mode)) {
if (xok && S_ISDIR(fe->stat->st_mode))
if (rok && xok && S_ISDIR(fe->stat->st_mode))
if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
if (wok && CURCLASS_FLAGS_ISSET(modify) && S_ISDIR(fe->stat->st_mode))
if (S_ISDIR(mode))
} else if (!S_ISDIR(st.st_mode))
lstat(dir, &sb) == 0 && S_ISDIR(sb.st_mode)) {
if (S_ISDIR(sb.st_mode)) {
} else if (!nostat && S_ISDIR(sb.st_mode)) {
if (S_ISDIR(st.st_mode)) {
if (S_ISDIR(sb.st_mode)) {
} else if (S_ISDIR(sb.st_mode))
va->va_type = S_ISDIR(st.st_mode) ? VDIR : VREG; /* XXX */
else if (S_ISDIR(sb.st_mode))
if (!S_ISDIR(sb.st_mode) && !S_ISREG(sb.st_mode))
if (S_ISDIR(st.st_mode))
r->r0 = S_ISDIR(st.st_mode) ?
if (!S_ISDIR(st.st_mode)) {
if (!S_ISDIR(sb.st_mode)) {
&& S_ISDIR(sb.st_mode))
if (ino == EFS_ROOTINO && !S_ISDIR(eip->ei_mode)) {
if (!S_ISDIR(st.st_mode)) {
ATF_CHECK(S_ISDIR(m) != 0);
if (dir != 0 && S_ISDIR(sa.st_mode) == 0)
if (S_ISDIR(st.st_mode)) {
if (S_ISDIR(st.st_mode)) {
} else if (!S_ISDIR(st.st_mode))
if (!S_ISDIR(st.st_mode))
if (!S_ISDIR(st.st_mode))
return S_ISDIR(buf.st_mode);
if (S_ISDIR(st.st_mode))
if (gotstdin && (S_ISDIR(stb1.st_mode) || S_ISDIR(stb2.st_mode)))
if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
if (S_ISDIR(stb1.st_mode)) {
if (S_ISDIR(stb2.st_mode)) {
if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
if (!S_ISREG(stb1.st_mode) && !S_ISDIR(stb1.st_mode))
else if (!S_ISREG(stb2.st_mode) && !S_ISDIR(stb2.st_mode))
if (S_ISDIR(stb1.st_mode) != S_ISDIR(stb2.st_mode))
return (S_ISDIR(stb1.st_mode) ? D_MISMATCH1 : D_MISMATCH2);
if (S_ISDIR(entry->fts_statp->st_mode)) {
if (S_ISDIR(entry->fts_statp->st_mode)) {
if (S_ISDIR(sb.st_mode))
if (S_ISDIR(sb.st_mode)) {
if (S_ISDIR(st.st_mode)) {
if (!S_ISDIR(sb.st_mode)) {
if (S_ISDIR(sb.st_mode))
return S_ISDIR(sbuf.st_mode);
if (S_ISDIR(st.st_mode)) {
if (stat(tmpdir, &st) < 0 || !S_ISDIR(st.st_mode)) {
if (stat(path, &sb) != 0 || !S_ISDIR(sb.st_mode))
if (!S_ISDIR(cst.cst_mode) &&
} else if (S_ISDIR(cst.cst_mode)) {
if (stat(*ap, &sb) == 0 && S_ISDIR(sb.st_mode))
} else if (!S_ISDIR(sb.st_mode)) {
if (stat(fullname, &filestat) == 0 && S_ISDIR(filestat.st_mode)) {
if (!S_ISDIR(stb.st_mode)) {
if (stat(path, &stb) == 0 && S_ISDIR(stb.st_mode)) {
} else if (S_ISDIR(stb.st_mode)) {
if (S_ISDIR(stb.st_mode)) {
if (S_ISDIR(sb.st_mode))
if (S_ISDIR(sb.st_mode)) {
if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) {
if (S_ISDIR(filetype) && j_opt) {
if (S_ISDIR(filetype))
if (!S_ISDIR(filetype) && !S_ISREG(filetype) && !S_ISLNK(filetype)) {
if (S_ISDIR(filetype)) {
if (S_ISDIR(archive_entry_filetype(e)))
if (stat(dst, &st) == 0 && S_ISDIR(st.st_mode)) {
S_ISDIR(sb.st_mode))) {
if (!S_ISDIR(sb.st_mode)) {
if (!no_target && S_ISDIR(to_sb.st_mode)) {
} else if (S_ISDIR(sbuf.st_mode)) {
if (!S_ISDIR(params->s1stat.st_mode)) {
S_ISDIR(params->s1stat.st_mode) ? " (directory)"
if (S_ISDIR(statb.st_mode)) {
if ((S_ISDIR(root->type)) && (root->name[0] == '.')
if (!S_ISDIR(iterator->type) ||
if (S_ISDIR(iterator->type)) {
if (S_ISDIR(cn->node->type)) {
if (S_ISDIR(child->node->type)) {
if (S_ISDIR(child->node->type))
temp, !(S_ISDIR(newnode->node->type)));
if (S_ISDIR(newnode->node->type))
if (!(S_ISDIR(node->type)))
if (!S_ISDIR(cur->type & S_IFMT)) {
if (S_ISDIR(DIP(dp, mode))) {
assert (! S_ISDIR(cur->type));
if (!S_ISDIR(sb.st_mode))
if (S_ISDIR(cur->type) && S_ISDIR(st->st_mode)) {
if (S_ISDIR(cur->type)) {
if (S_ISDIR(sb.st_mode)) {
if (!S_ISDIR(sb.st_mode))
if (!S_ISDIR(sb.st_mode) && !S_ISREG(sb.st_mode)) {
(!S_ISDIR(stb.st_mode) && !S_ISREG(stb.st_mode)) ||
if (!S_ISDIR(p->fts_statp->st_mode))
S_ISDIR(p->fts_statp->st_mode) ? "" : " ", vispath(p->fts_name));
(dflag && S_ISDIR(p->fts_statp->st_mode))) {
if (S_ISDIR((*a)->fts_statp->st_mode)) {
if (!S_ISDIR((*b)->fts_statp->st_mode))
} else if (S_ISDIR((*b)->fts_statp->st_mode)) {
if ((S_ISDIR(p->fts_statp->st_mode)
S_ISDIR(statbuf.st_mode))
if (S_ISDIR(stat_buffer.st_mode)) {
if (stat(sp_name, &statbuf) || !S_ISDIR(statbuf.st_mode))
if (stat(pathname, &statbuf) || !S_ISDIR(statbuf.st_mode)) {
if (S_ISDIR(sb.st_mode)) {
else if (S_ISDIR(sb.st_mode)) {
if (stat(set_dir_bin, &sb) == 0 && S_ISDIR(sb.st_mode) &&
} else if (!S_ISDIR(st.st_mode)) {
#ifndef S_ISDIR
} else if (!S_ISDIR(st.st_mode)) {
#ifndef S_ISDIR
if (!S_ISDIR(st.st_mode)) {
if (stat(map_path, &finfo) < 0 || !S_ISDIR(finfo.st_mode)) {
if ((stat(domain_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))
if ((stat(domain_path, &finfo) == 0) && S_ISDIR(finfo.st_mode))
if ((stat(domain_path, &finfo) != 0) || !S_ISDIR(finfo.st_mode)) {
(S_ISDIR(finfo.st_mode) == 0)) {