Searched refs:fts (Results 1 - 7 of 7) sorted by last modified time

/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);
/system/core/toolbox/cp/
H A Dcp.c54 * current target file. Since fts(3) does not change directories,
57 * The basic algorithm is to initialize "to" and use fts(3) to traverse
71 #include <fts.h>
220 /* Set end of argument list for fts(3). */
H A Dutils.c52 #include <fts.h>
/system/core/toolbox/
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;) {
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);
/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/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp40 #include <fts.h>

Completed in 84 milliseconds