Searched refs:FTS_D (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libast/include/
H A Dfts.h70 #define FTS_D (1<<3) /* directory - pre-order visit */ macro
80 #define FTS_DC (FTS_D|FTS_C) /* dir - would cause cycle */
81 #define FTS_DNR (FTS_D|FTS_NR) /* dir - no read permission */
82 #define FTS_DNX (FTS_D|FTS_NX) /* dir - no search permission */
83 #define FTS_DOT (FTS_D|FTS_DD) /* . or .. */
84 #define FTS_DP (FTS_D|FTS_P) /* dir - post-order visit */
94 #define FTS_SKIP FTS_NOSTAT /* skip FTS_D directory */
H A Dftwalk.h85 #define FTW_D FTS_D
/ast/src/lib/libast/misc/
H A Dftwalk.c111 if (!(x->info & FTS_D))
122 case FTS_D:
H A Dfts.c89 long nlink; /* FTS_D link count */ \
545 f->fts_info = FTS_D;
783 fts->parent->fts_info = FTS_D;
933 if (f->fts_info == FTS_D)
987 * FTS_D or FTS_DNX, about to read children
1092 else if (fts->children || f->fts_info == FTS_D || f->fts_info == FTS_SL)
1186 if ((f->fts_info & FTS_DP) == FTS_D)
1250 f->fts_info = FTS_D;
1460 if ((f->fts_info & (FTS_D|FTS_P)) != FTS_D)
[all...]
/ast/src/lib/libcmd/
H A Drm.c142 case FTS_D:
194 if (ent->fts_info == FTS_D)
203 else if (ent->fts_info == FTS_D)
H A Dchmod.c288 case FTS_D:
H A Dcp.c346 case FTS_D:
368 case FTS_D:
379 else if (mkdir(state->path, (ent->fts_statp->st_mode & S_IPERM)|(ent->fts_info == FTS_D ? S_IRWXU : 0)))
H A Dchgrp.c418 case FTS_D:
/ast/src/cmd/std/
H A Ddu.c268 case FTS_D:
/ast/src/cmd/html/
H A Dhtmlrefs.c468 if (state->external && ent->fts_info == FTS_D)
1181 sfprintf(sfstdout, " %s %s\n", (ent->fts_info & FTS_D) ? "rmdir" : " rm", ent->fts_path);
1182 if (state->exec && ((ent->fts_info & FTS_D) ? rmdir : remove)(ent->fts_path))
1217 sfprintf(sfstdout, " %s %s\n", (ent->fts_info & FTS_D) ? "rmdir" : " rm", ent->fts_path);
1218 if (state->exec && ((ent->fts_info & FTS_D) ? rmdir : remove)(ent->fts_path))

Completed in 26 milliseconds