Searched defs:fts (Results 1 - 4 of 4) sorted by relevance

/system/core/toolbox/
H A Drestorecon.c7 #include <fts.h>
95 FTS *fts; local
97 fts = fts_open(argv, ftsflags, NULL);
98 if (!fts) {
103 while ((ftsent = fts_read(fts))) {
112 fts_set(fts, ftsent, FTS_SKIP);
116 fts_set(fts, ftsent, FTS_SKIP);
H A Ddu.c55 #include <fts.h>
74 FTS *fts; local
143 * Because of the way that fts(3) works, logical walks will not count
181 if ((fts = fts_open(argv, ftsoptions, NULL)) == NULL)
184 for (rval = 0; (p = fts_read(fts)) != NULL;) {
/system/core/toolbox/grep/
H A Dutil.c46 #include <fts.h>
114 FTS *fts; local
136 if (!(fts = fts_open(argv, fts_flags, NULL)))
138 while ((p = fts_read(fts)) != NULL) {
178 fts_close(fts);
/system/vold/
H A DVolumeManager.cpp22 #include <fts.h>
548 FTS *fts = fts_open(paths, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, NULL); local
549 if (fts) {
551 for (FTSENT *ftsent = fts_read(fts); ftsent != NULL; ftsent = fts_read(fts)) {
580 fts_close(fts);

Completed in 61 milliseconds