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) in search()
270 if (!(cmp = (*comparf)(&e, &root)) && !insert) in search()
278 if (root->left && (cmp = (*comparf)(&e, &root->left)) <= 0) in search()
303 if (root->right && (cmp = (*comparf)(&e, &root->right)) >= 0) in search()
685 root = search(f, root, fts->comparf, 1); in order()
733 fts_open(char* const* pathnames, int flags, int (*comparf)(FTSENT* const*, FTSENT* const*)) in fts_open()
741 fts->comparf = comparf; in fts_open()
854 if (!fts->state && fts->comparf) in fts_read()
985 fts->cpname = fts->cd && !fts->nostat || !fts->children && !fts->comparf; in fts_read()
1073 if (fts->comparf) in fts_read()
1074 fts->root = search(f, fts->root, fts->comparf, 1); in fts_read()
1467 if (fts->comparf) in fts_children()