Lines Matching refs:comparf
60 Compar_f comparf; /* node comparison func */ \
258 search(FTSENT* e, FTSENT* root, int(*comparf)(FTSENT* const*, FTSENT* const*), int insert)
270 if (!(cmp = (*comparf)(&e, &root)) && !insert)
278 if (root->left && (cmp = (*comparf)(&e, &root->left)) <= 0)
303 if (root->right && (cmp = (*comparf)(&e, &root->right)) >= 0)
672 * order fts->todo if fts->comparf != 0
685 root = search(f, root, fts->comparf, 1);
733 fts_open(char* const* pathnames, int flags, int (*comparf)(FTSENT* const*, FTSENT* const*))
741 fts->comparf = comparf;
854 if (!fts->state && fts->comparf)
985 fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf;
1073 if (fts->comparf)
1074 fts->root = search(f, fts->root, fts->comparf, 1);
1467 if (fts->comparf)