Lines Matching refs:FTSENT

46 	FTSENT*		parent;			/* top parent		*/ \
47 FTSENT* todo; /* todo list */ \
48 FTSENT* top; /* top element */ \
49 FTSENT* root; \
50 FTSENT* bot; /* bottom element */ \
51 FTSENT* free; /* free element */ \
52 FTSENT* diroot; \
53 FTSENT* curdir; \
54 FTSENT* current; /* current element */ \
55 FTSENT* previous; /* previous current */ \
56 FTSENT* dotdot; \
57 FTSENT* link; /* real current fts_link*/ \
58 FTSENT* pwd; /* pwd parent */ \
85 FTSENT* left; /* left child */ \
86 FTSENT* right; /* right child */ \
87 FTSENT* pwd; /* pwd parent */ \
88 FTSENT* stack; /* getlist() stack */ \
161 typedef int (*Notify_f)(FTS*, FTSENT*, void*);
173 * allocate an FTSENT node
176 static FTSENT*
177 node(FTS* fts, FTSENT* parent, register char* name, register size_t namelen)
179 register FTSENT* f;
190 if (!(f = newof(0, FTSENT, 1, n)))
224 statcmp(FTSENT* const* pf1, FTSENT* const* pf2)
226 register const FTSENT* f1 = *pf1;
227 register const FTSENT* f2 = *pf2;
257 static FTSENT*
258 search(FTSENT* e, FTSENT* root, int(*comparf)(FTSENT* const*, FTSENT* const*), int insert)
261 register FTSENT* t;
262 register FTSENT* left;
263 register FTSENT* right;
264 register FTSENT* lroot;
265 register FTSENT* rroot;
345 static FTSENT*
346 deleteroot(register FTSENT* root)
348 register FTSENT* t;
349 register FTSENT* left;
350 register FTSENT* right;
367 * FTSENT.stack instead of recursion to avoid blowing the real
372 getlist(register FTSENT** top, register FTSENT** bot, register FTSENT* root)
374 register FTSENT* stack = 0;
462 register FTSENT*f;
504 info(FTS* fts, register FTSENT* f, const char* path, struct stat* sp, int flags)
589 static FTSENT*
593 register FTSENT* f;
594 register FTSENT* top;
595 register FTSENT* bot;
691 register FTSENT* f;
692 register FTSENT* root;
693 FTSENT* top;
694 FTSENT* bot;
746 fts_open(char* const* pathnames, int flags, int (*comparf)(FTSENT* const*, FTSENT* const*))
750 if (!(fts = newof(0, FTS, 1, sizeof(FTSENT))))
782 fts->parent = (FTSENT*)(fts + 1);
824 FTSENT*
829 register FTSENT* f;
832 FTSENT* t;
1445 fts_set(register FTS* fts, register FTSENT* f, int status)
1474 FTSENT*
1477 register FTSENT* f;
1523 fts_local(FTSENT* ent)
1541 register FTSENT* f;
1542 register FTSENT* x;