Searched refs:fts (Results 1 - 15 of 15) sorted by relevance

/haiku-fatelf/src/bin/coreutils/lib/
H A Dxfts.c36 FTS *fts = fts_open (argv, options | FTS_CWDFD, compar); local
37 if (fts == NULL)
45 return fts;
53 records the options that control this aspect of fts's behavior,
56 cycle_warning_required (FTS const *fts, FTSENT const *ent) argument
62 return ((ISSET (fts, FTS_PHYSICAL) && !ISSET (fts, FTS_COMFOLLOW))
63 || (ISSET (fts, FTS_PHYSICAL) && ISSET (fts, FTS_COMFOLLOW)
H A Dfts-cycle.c50 setup_dir (FTS *fts) argument
52 if (fts->fts_options & (FTS_TIGHT_CYCLE_CHECK | FTS_LOGICAL))
55 fts->fts_cycle.ht = hash_initialize (HT_INITIAL_SIZE, NULL, AD_hash,
57 if (! fts->fts_cycle.ht)
62 fts->fts_cycle.state = malloc (sizeof *fts->fts_cycle.state);
63 if (! fts->fts_cycle.state)
65 cycle_check_init (fts->fts_cycle.state);
74 enter_dir (FTS *fts, FTSENT *ent) argument
76 if (fts
125 leave_dir(FTS *fts, FTSENT *ent) argument
[all...]
H A Dxfts.h9 cycle_warning_required (FTS const *fts, FTSENT const *ent);
H A Dfts.c50 static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94";
209 # include "fts-cycle.c"
211 static bool enter_dir (FTS *fts, FTSENT *ent) { return true; } argument
212 static void leave_dir (FTS *fts, FTSENT *ent) {} argument
213 static bool setup_dir (FTS *fts) { return true; } argument
214 static void free_dir (FTS *fts) {} argument
461 /* The classic fts implementation would call fts_stat with
1062 * semantics to fts using fts_set. An error return is allowed for similar
1576 Dprintf (("fts-cross-check cur=%s\n", ent->fts_path));
H A Dgnulib.mk12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libcoreutils --source-base=lib --m4-base=m4 --doc-base=doc --tests-base=gnulib-tests --aux-dir=build-aux --with-tests --avoid=canonicalize-lgpl --avoid=dummy --no-libtool --macro-prefix=gl acl alloca announce-gen areadlink-with-size argmatch argv-iter assert atexit autobuild backupfile base64 c-strcase c-strtod c-strtold calloc canon-host canonicalize chown cloexec closein closeout config-h configmake crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 cycle-check d-ino d-type diacrit dirfd dirname do-release-commit-and-tag dup2 environ error euidaccess exclude exitfail faccessat fchdir fcntl fcntl-safer fdl file-type fileblocks filemode filenamecat filevercmp fnmatch-gnu fopen-safer fprintftime freopen freopen-safer fseeko fsusage fsync ftello ftruncate fts getdate getgroups gethrxtime getline getloadavg getndelim2 getopt-gnu getpagesize getpass-gnu gettext gettime gettimeofday getugroups getusershell git-version-gen gitlog-to-changelog gnu-make gnu-web-doc-update gnumakefile gnupload group-member hard-locale hash hash-pjw host-os human idcache ignore-value inttostr inttypes isapipe isblank lchmod lchown lib-ignore linebuffer link link-follow linkat long-options lstat maintainer-makefile malloc manywarnings mbrtowc mbsalign mbswidth memcasecmp memchr memcmp memcmp2 memcpy memmove mempcpy memrchr memset mgetgroups mkancesdirs mkdir mkdir-p mkstemp mktime modechange mountlist mpsort nproc obstack pathmax perl physmem posix-shell posixtm posixver priv-set progname propername putenv quote quotearg raise randint randperm readlink readtokens readtokens0 readutmp realloc regex remove rename rmdir root-dev-ino rpmatch safe-read same save-cwd savedir savewd selinux-at settime sig2str sigaction ssize_t stat-macros stat-time stdbool stdlib-safer stpcpy stpncpy strcspn strdup-posix strftime strpbrk strsignal strtod strtoimax strtol strtoumax symlink sys_stat timespec tzset uname unicodeio unistd-safer unlink-busy unlocked-io unsetenv update-copyright uptime useless-if-before-free userspec utimecmp utimens vasprintf-posix vc-list-files verify verror version-etc-fsf wcwidth winsz-ioctl winsz-termios write-any-file xalloc xfreopen xgetcwd xgethostname xmemcoll xnanosleep xprintf xprintf-posix xreadlink xstrtod xstrtoimax xstrtol xstrtold xstrtoumax yesno
1029 ## begin gnulib module fts
1032 EXTRA_DIST += fts-cycle.c fts.c fts_.h
1034 EXTRA_libcoreutils_a_SOURCES += fts-cycle.c fts.c
1036 ## end gnulib module fts
/haiku-fatelf/src/bin/coreutils/src/
H A Dremove.c216 prompt (FTS const *fts, FTSENT const *ent, bool is_dir, argument
221 int fd_cwd = fts->fts_cwd_fd;
403 /* Tell fts not to traverse into the hierarchy at ENT. */
405 fts_skip_tree (FTS *fts, FTSENT *ent) argument
407 fts_set (fts, ent, FTS_SKIP);
409 ent = fts_read (fts);
431 excise (FTS *fts, FTSENT *ent, struct rm_options const *x, bool is_dir) argument
434 if (unlinkat (fts->fts_cwd_fd, ent->fts_accpath, flag) == 0)
452 if ( ! (lstatat (fts->fts_cwd_fd, ent->fts_accpath, &st)
471 /* This function is called once for every file system object that fts
478 rm_fts(FTS *fts, FTSENT *ent, struct rm_options const *x) argument
608 FTS *fts; local
[all...]
H A Dchown-core.c248 change_file_owner (FTS *fts, FTSENT *ent, argument
271 /* Tell fts not to traverse into this hierarchy. */
272 fts_set (fts, ent, FTS_SKIP);
274 ignore_ptr (fts_read (fts));
297 fts_set (fts, ent, FTS_AGAIN);
320 if (cycle_warning_required (fts, ent))
352 if (fstatat (fts->fts_cwd_fd, file, &stat_buf, 0) != 0)
383 ok = (lchownat (fts->fts_cwd_fd, file, uid, gid) == 0);
397 (-h) --no-dereference option. If fts's stat call determined
407 = restricted_chown (fts
497 FTS *fts = xfts_open (files, bit_flags | stat_flags, NULL); local
[all...]
H A Dchcon.c206 once for every file system object that fts encounters. */
209 process_file (FTS *fts, FTSENT *ent) argument
226 /* Tell fts not to traverse into this hierarchy. */
227 fts_set (fts, ent, FTS_SKIP);
229 ignore_ptr (fts_read (fts));
252 fts_set (fts, ent, FTS_AGAIN);
271 if (cycle_warning_required (fts, ent))
295 if (change_file_context (fts->fts_cwd_fd, file) != 0)
300 fts_set (fts, ent, FTS_SKIP);
306 of which is NULL). BIT_FLAGS controls how fts work
314 FTS *fts = xfts_open (files, bit_flags, NULL); local
[all...]
H A Dchmod.c175 once for every file system object that fts encounters. */
178 process_file (FTS *fts, FTSENT *ent) argument
204 fts_set (fts, ent, FTS_AGAIN);
234 if (cycle_warning_required (fts, ent))
248 /* Tell fts not to traverse into this hierarchy. */
249 fts_set (fts, ent, FTS_SKIP);
251 ignore_ptr (fts_read (fts));
263 if (chmodat (fts->fts_cwd_fd, file, new_mode) == 0)
311 fts_set (fts, ent, FTS_SKIP);
317 of which is NULL). BIT_FLAGS controls how fts work
325 FTS *fts = xfts_open (files, bit_flags, NULL); local
[all...]
H A Ddu.c24 Rewritten to use nftw, then to use fts by Jim Meyering. */
444 /* This function is called once for every file system object that fts
445 encounters. fts does a depth-first traversal. This function knows
450 process_file (FTS *fts, FTSENT *ent) argument
476 fts_set (fts, ent, FTS_SKIP);
497 if (cycle_warning_required (fts, ent))
618 BIT_FLAGS controls how fts works.
628 FTS *fts = xfts_open (files, bit_flags, NULL); local
634 ent = fts_read (fts);
645 FTS_CROSS_CHECK (fts);
[all...]
/haiku-fatelf/headers/posix/
H A Dfts.h29 * @(#)fts.h 8.3 (Berkeley) 8/14/94
128 #define fts_get_clientptr(fts) ((fts)->fts_clientptr)
/haiku-fatelf/src/system/libroot/posix/
H A Dftw.c29 #include <fts.h>
H A Dnftw.c29 #include <fts.h>
H A Dfts.c29 * $OpenBSD: fts.c,v 1.22 1999/10/03 19:22:22 millert Exp $
34 static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94";
47 #include <fts.h>
62 #include <fts.h>
516 * semantics to fts using fts_set. An error return is allowed for similar
/haiku-fatelf/src/bin/coreutils/
H A Dconfigure22894 gl_LIBOBJS="$gl_LIBOBJS fts.$ac_objext"
[all...]

Completed in 124 milliseconds