Home
last modified time | relevance | path

Searched refs:fts (Results 1 – 19 of 19) sorted by relevance

/dragonfly/contrib/grep/lib/
H A Dfts-cycle.c50 setup_dir (FTS *fts) in setup_dir() argument
52 if (fts->fts_options & (FTS_TIGHT_CYCLE_CHECK | FTS_LOGICAL)) in setup_dir()
57 if (! fts->fts_cycle.ht) in setup_dir()
62 fts->fts_cycle.state = malloc (sizeof *fts->fts_cycle.state); in setup_dir()
63 if (! fts->fts_cycle.state) in setup_dir()
65 cycle_check_init (fts->fts_cycle.state); in setup_dir()
74 enter_dir (FTS *fts, FTSENT *ent) in enter_dir() argument
92 ad_from_table = hash_insert (fts->fts_cycle.ht, ad); in enter_dir()
125 leave_dir (FTS *fts, FTSENT *ent) in leave_dir() argument
134 found = hash_delete (fts->fts_cycle.ht, &obj); in leave_dir()
[all …]
/dragonfly/test/stress/stress2/testcases/fts/
H A Dfts.c58 FTS *fts; in test() local
67 if ((fts = fts_open(args, ftsoptions, NULL)) == NULL) in test()
70 while ((p = fts_read(fts)) != NULL) { in test()
99 if (fts_close(fts) == -1) in test()
H A DMakefile3 PROG= fts
/dragonfly/lib/libc/gen/
H A DMakefile.inc20 frexp.c fstab.c ftok.c fts.c ftw.c getbootfile.c getbsize.c \
64 fmtcheck.3 fmtmsg.3 fnmatch.3 frexp.3 ftok.3 fts.3 ftw.3 \
137 MLINKS+=fts.3 fts_children.3 \
138 fts.3 fts_close.3 \
139 fts.3 fts_get_clientptr.3 \
140 fts.3 fts_get_stream.3 \
141 fts.3 fts_open.3 \
142 fts.3 fts_read.3 \
143 fts.3 fts_set.3 \
144 fts.3 fts_set_clientptr.3
/dragonfly/usr.sbin/asf/
H A Dasf.c101 FTS *fts; in findmodule() local
111 fts = fts_open(path_argv, FTS_PHYSICAL | FTS_NOCHDIR, NULL); in findmodule()
112 if (fts == NULL) { in findmodule()
120 while ((ftsent = fts_read(fts)) != NULL) { in findmodule()
156 fts_close(fts); in findmodule()
/dragonfly/test/stress/stress2/
H A Dmarcus.cfg17 testcases/fts/fts
/dragonfly/usr.bin/du/
H A Ddu.c86 FTS *fts; in main() local
219 if ((fts = fts_open(argv, ftsoptions, NULL)) == NULL) in main()
222 while ((p = fts_read(fts)) != NULL) { in main()
226 fts_set(fts, p, FTS_SKIP); in main()
298 fts_close(fts); in main()
/dragonfly/bin/rm/
H A Drm.c185 FTS *fts; in rm_tree() local
212 if ((fts = fts_open(argv, flags, NULL)) == NULL) { in rm_tree()
217 while ((p = fts_read(fts)) != NULL) { in rm_tree()
245 fts_set(fts, p, FTS_SKIP); in rm_tree()
339 fts_close(fts); in rm_tree()
/dragonfly/include/
H A Dfts.h125 #define fts_get_clientptr(fts) ((fts)->fts_clientptr) argument
H A DMakefile14 float.h fmtmsg.h fnmatch.h fstab.h fts.h ftw.h \
/dragonfly/contrib/grep/src/
H A Dgrep.c1591 grepdirent (FTS *fts, FTSENT *ent, bool command_line) in grepdirent() argument
1604 fts_set (fts, ent, FTS_SKIP); in grepdirent()
1611 follow = (fts->fts_options & FTS_LOGICAL in grepdirent()
1612 || (fts->fts_options & FTS_COMFOLLOW && command_line)); in grepdirent()
1619 fts_set (fts, ent, FTS_SKIP); in grepdirent()
1792 FTS *fts; in grepdesc() local
1804 fts = fts_open (fts_arg, opts, NULL); in grepdesc()
1806 if (!fts) in grepdesc()
1808 while ((ent = fts_read (fts))) in grepdesc()
1809 status &= grepdirent (fts, ent, command_line); in grepdesc()
[all …]
/dragonfly/usr.bin/dsynth/
H A Dsubs.c960 FTS *fts; in crcDirTree() local
971 fts = fts_open(pav, FTS_PHYSICAL | FTS_NOCHDIR, NULL); in crcDirTree()
972 if (fts == NULL) in crcDirTree()
974 while ((fen = fts_read(fts)) != NULL) { in crcDirTree()
995 fts_close(fts); in crcDirTree()
/dragonfly/sbin/vquota/
H A Dvquota.c264 FTS *fts; in get_dirsize() local
282 if ((fts = fts_open(fts_args, FTS_PHYSICAL|FTS_XDEV, NULL)) == NULL) in get_dirsize()
285 while ((p = fts_read(fts)) != NULL) { in get_dirsize()
322 fts_close(fts); in get_dirsize()
/dragonfly/test/stress/stress2/testcases/
H A DMakefile6 fts \
/dragonfly/contrib/mdocml/
H A DREADME.DELETED59 test-fts.c
/dragonfly/usr.bin/gzip/
H A Dgzip.c1810 FTS *fts; in handle_dir() local
1815 fts = fts_open(path_argv, FTS_PHYSICAL | FTS_NOCHDIR, NULL); in handle_dir()
1816 if (fts == NULL) { in handle_dir()
1821 while ((entry = fts_read(fts))) { in handle_dir()
1836 (void)fts_close(fts); in handle_dir()
/dragonfly/gnu/usr.bin/grep/libgreputils/
H A DMakefile41 fts.c \
/dragonfly/contrib/file/magic/Magdir/
H A Dwindows438 !:mime application/x-winhelp-fts
439 !:ext fts
H A Dimages1258 !:ext fits/fts