Home
last modified time | relevance | path

Searched refs:fts_level (Results 1 – 20 of 20) sorted by relevance

/dragonfly/contrib/grep/lib/
H A Dfts.c447 parent->fts_level = FTS_ROOTPARENTLEVEL; in fts_open()
481 p->fts_level = FTS_ROOTLEVEL; in fts_open()
523 sp->fts_cur->fts_level = 1; in fts_open()
988 if (p->fts_level == FTS_ROOTLEVEL) { in fts_read()
1055 if (p->fts_level == FTS_ROOTLEVEL) in fts_read()
1073 if (p->fts_level == FTS_ROOTPARENTLEVEL) { in fts_read()
1094 if (p->fts_level == FTS_ROOTLEVEL) { in fts_read()
1450 level = cur->fts_level + 1; in fts_build()
1521 p->fts_level = level; in fts_build()
1622 (cur->fts_level == FTS_ROOTLEVEL in fts_build()
[all …]
H A Dfts_.h218 ptrdiff_t fts_level; /* depth (-1 to N) */ member
H A Dfts-cycle.c142 if (parent != NULL && 0 <= parent->fts_level) in leave_dir()
/dragonfly/lib/libc/gen/
H A Dfts.c142 parent->fts_level = FTS_ROOTPARENTLEVEL; in fts_open()
153 p->fts_level = FTS_ROOTLEVEL; in fts_open()
248 for (p = sp->fts_cur; p->fts_level >= FTS_ROOTLEVEL;) { in fts_close()
397 if (p->fts_level == FTS_ROOTLEVEL) { in fts_read()
436 if (p->fts_level == FTS_ROOTPARENTLEVEL) { in fts_read()
454 if (p->fts_level == FTS_ROOTLEVEL) { in fts_read()
717 level = cur->fts_level + 1; in fts_build()
755 p->fts_level = level; in fts_build()
831 (cur->fts_level == FTS_ROOTLEVEL ? in fts_build()
918 t->fts_level >= FTS_ROOTLEVEL; t = t->fts_parent) in fts_stat()
[all …]
H A Dnftw.c96 ftw.level = cur->fts_level; in nftw()
/dragonfly/usr.bin/find/
H A Dfind.c182 if (maxdepth != -1 && entry->fts_level >= maxdepth) { in find_execute()
199 entry->fts_errno == ENOENT && entry->fts_level > 0) in find_execute()
221 if (mindepth != -1 && entry->fts_level < mindepth) in find_execute()
H A Dfunction.c374 if (entry->fts_level > FTS_ROOTLEVEL && in f_delete()
444 COMPARE(entry->fts_level, plan->d_data); in f_depth()
/dragonfly/usr.sbin/mtree/
H A Dverify.c92 if (specdepth > p->fts_level) { in vwalk()
109 if (specdepth != p->fts_level) in vwalk()
H A Dcreate.c116 indent = p->fts_level * 4; in cwalk()
135 if (p->fts_level > 0) in cwalk()
139 if (p->fts_level > 0 || flavor == F_FREEBSD9) { in cwalk()
/dragonfly/bin/ls/
H A Dprint.c137 if ((dp->list == NULL || dp->list->fts_level != FTS_ROOTLEVEL) && in printlong()
276 if ((dp->list == NULL || dp->list->fts_level != FTS_ROOTLEVEL) && in printcol()
602 if (p->fts_level == FTS_ROOTLEVEL) in printlink()
H A Dls.c497 if (p->fts_level != FTS_ROOTLEVEL && in traverse()
795 (*a)->fts_level == FTS_ROOTLEVEL && !f_listdir) { in mastercmp()
/dragonfly/bin/cp/
H A Dcp.c318 if (curr->fts_level == FTS_ROOTLEVEL) { in copy()
410 curr->fts_level == 0)) { in copy()
/dragonfly/include/
H A Dfts.h87 long fts_level; /* depth (-1 to N) */ member
/dragonfly/usr.bin/du/
H A Ddu.c244 if (p->fts_level <= depth) { in main()
274 if (listall || p->fts_level == 0) { in main()
/dragonfly/usr.bin/chflags/
H A Dchflags.c142 p->fts_level == FTS_ROOTLEVEL)) in main()
/dragonfly/bin/chmod/
H A Dchmod.c152 p->fts_level == FTS_ROOTLEVEL)) in main()
/dragonfly/usr.sbin/chown/
H A Dchown.c158 p->fts_level == FTS_ROOTLEVEL)) in main()
/dragonfly/usr.sbin/ckdist/
H A Dckdist.c162 if (!opt_recurse && f->fts_level > FTS_ROOTLEVEL && in main()
/dragonfly/contrib/mdocml/
H A Dmandocdb.c643 if ( ! use_all && ff->fts_level < 2) { in treescan()
714 switch (ff->fts_level) { in treescan()
/dragonfly/contrib/grep/src/
H A Dgrep.c1594 command_line &= ent->fts_level == FTS_ROOTLEVEL; in grepdirent()