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

123

/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/
H A Dfts.c28 * fts implementation unwound from the kpv ftwalk() of 1988-10-30
95 #include <fts.h>
177 node(FTS* fts, FTSENT* parent, register char* name, register size_t namelen) argument
182 if (fts->free && namelen < MINNAME)
184 f = fts->free;
185 fts->free = f->fts_link;
192 fts->fts_errno = errno;
193 fts->state = FTS_error;
196 f->fts = fts;
460 popdirs(FTS* fts) argument
504 info(FTS* fts, register FTSENT* f, const char* path, struct stat* sp, int flags) argument
582 toplist(FTS* fts, register char* const* pathnames) argument
676 order(FTS* fts) argument
697 resize(register FTS* fts, size_t inc) argument
735 register FTS* fts; local
812 fts_read(register FTS* fts) argument
1432 fts_set(register FTS* fts, register FTSENT* f, int status) argument
1462 fts_children(register FTS* fts, int flags) argument
1526 fts_close(register FTS* fts) argument
[all...]
/macosx-10.9.5/ksh-20/ksh/src/lib/libcmd/
H A Dfts_fix.h36 #include <fts.h>
H A Dfts_fix.c41 _fts_read(FTS* fts) argument
47 if ((oe = _ast_fts_read(fts)) && ast.version < 20100102L && (ne || (ne = newof(0, FTSENT, 1, 0))))
H A Dchmod.c157 register FTS* fts; local
256 if (!(fts = fts_open(argv, flags, NiL)))
262 while (!sh_checksig(context) && (ent = fts_read(fts)))
304 fts_close(fts);
H A Drm.c332 FTS* fts; local
404 if (fts = fts_open(argv, FTS_PHYSICAL, NiL))
406 while (!sh_checksig(context) && (ent = fts_read(fts)) && !rm(&state, ent));
407 fts_close(fts);
/macosx-10.9.5/cctools-845/libstuff/
H A Ddylib_roots.c32 #include <fts.h>
121 FTS *fts; local
151 fts = fts_open((char * const *)paths, FTS_PHYSICAL, NULL);
152 if(fts == NULL){
160 while((ftsent = fts_read(fts)) != NULL){
188 if(fts_close(fts) == -1)
199 if(fts_close(fts) == -1)
203 if(fts_close(fts) == -1){
/macosx-10.9.5/bless-98/
H A DmodeFirmware.c38 #include <fts.h>
/macosx-10.9.5/Security-55471.14.18/include/security_codesigning/
H A Ddirscanner.cpp90 FTS fts(root);
91 while (FTSENT *ent = fts_read(fts)) {
116 fts_set(fts, ent, FTS_SKIP); // do not descend
H A Ddirscanner.h29 #include <fts.h>
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/lib/
H A Ddirscanner.cpp90 FTS fts(root);
91 while (FTSENT *ent = fts_read(fts)) {
116 fts_set(fts, ent, FTS_SKIP); // do not descend
/macosx-10.9.5/file_cmds-230/mtree/
H A Dexcludes.c39 #include <fts.h>
H A Dmisc.c41 #include <fts.h>
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/include/
H A Dftwalk.h30 * which formed the basis for the POSIX fts proposal
32 * NOTE: this file is in cahoots with the fts implementation
49 #define FTSENT Ftw_t /* <fts.h> internal */
50 #define Ftsent FTW /* <fts.h> internal */
52 #define _FTSENT_LOCAL_PRIVATE_ /* <fts.h> internal */ \
59 #include <fts.h>
H A Dfts.h29 * fts interface definitions
125 FTS* fts; /* fts_open() handle */ member in struct:Ftsent
/macosx-10.9.5/removefile-33/
H A Dremovefile_priv.h14 #include <fts.h>
/macosx-10.9.5/shell_cmds-175/find/
H A Dmain.c54 #include <fts.h>
H A Dmisc.c48 #include <fts.h>
H A Dls.c44 #include <fts.h>
/macosx-10.9.5/shell_cmds-175/path_helper/
H A Dpath_helper.c24 #include <fts.h>
107 FTS* fts; local
113 fts = fts_open(dirpathv, FTS_PHYSICAL | FTS_XDEV, NULL);
114 if (!fts) {
119 while ((ent = fts_read(fts)) != NULL) {
122 if (ent->fts_level >= 1) fts_set(fts, ent, FTS_SKIP);
143 fts_close(fts);
/macosx-10.9.5/ksh-20/ksh/src/lib/libdll/
H A Ddllscan.c38 FTS* fts; \
62 #include <fts.h>
173 * fts version sort order
363 if (scan->fts)
364 fts_close(scan->fts);
395 if (scan->fts)
397 fts_close(scan->fts);
398 scan->fts = 0;
436 if ((scan->fts = fts_open((char**)t, FTS_LOGICAL|FTS_NOPOSTORDER|FTS_ONEPATH, vercmp)) && (scan->ent = fts_read(scan->fts))
[all...]
/macosx-10.9.5/file_cmds-230/rm/
H A Drm.c56 #include <fts.h>
177 FTS *fts; local
200 if (!(fts = fts_open(argv, flags, NULL))) {
205 while ((p = fts_read(fts)) != NULL) {
238 (void)fts_set(fts, p, FTS_SKIP);
327 fts_close(fts);
/macosx-10.9.5/kext_tools-326.95.1/
H A Dsafecalls.c43 #include <fts.h>
402 FTS * fts; local
414 if ((fts = fts_open(pathv, ftsoptions, NULL)) == NULL) goto finish;
418 while ((fent = fts_read(fts)) /* && !rval ?? */) {
452 if (fts_close(fts) < 0) {
/macosx-10.9.5/autofs-234/automount/
H A Dautomount.c53 #include <fts.h>
211 FTS *fts; local
221 fts = fts_open(paths, FTS_NOCHDIR|FTS_PHYSICAL|FTS_XDEV,
223 if (fts != NULL) {
224 while ((ftsent = fts_read(fts)) != NULL) {
241 fts_close(fts);
/macosx-10.9.5/system_cmds-597.90.1/dirhelper.tproj/
H A Ddirhelper.c29 #include <fts.h>
196 FTS* fts; local
199 fts = fts_open(path_argv, FTS_PHYSICAL | FTS_XDEV, NULL);
200 if (fts) {
203 while ((ent = fts_read(fts))) {
263 fts_close(fts);
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/dirhelper.tproj/
H A Ddirhelper.c29 #include <fts.h>
196 FTS* fts; local
199 fts = fts_open(path_argv, FTS_PHYSICAL | FTS_XDEV, NULL);
200 if (fts) {
203 while ((ent = fts_read(fts))) {
263 fts_close(fts);

Completed in 413 milliseconds

123