Home
last modified time | relevance | path

Searched refs:comparf (Results 1 – 10 of 10) sorted by relevance

/titanic_41/usr/src/lib/libast/common/comp/
H A Dtsearch.c66 int(* comparf)_ARG_((const Void_t*, const Void_t*)); member
84 return (*((Treedisc_t*)disc)->comparf)((Void_t*)one,(Void_t*)two);
102 int(*comparf)(const Void_t*,const Void_t*) ) in tsearch()
104 Void_t* tsearch(key, rootp, comparf) in tsearch()
107 int(* comparf)();
118 Treedisc.comparf = comparf;
138 int(*comparf)(const Void_t*, const Void_t*) ) in tfind()
140 Void_t* tfind(key, rootp, comparf) in tfind()
143 int(* comparf)();
151 Treedisc.comparf = comparf;
[all …]
/titanic_41/usr/src/lib/libast/common/misc/
H A Dftwalk.c35 int (*comparf)(Ftw_t*, Ftw_t*); member
45 return (*state.comparf)(*pf1, *pf2); in ftscompare()
53 ftwalk(const char* path, int (*userf)(Ftw_t*), int flags, int (*comparf)(Ftw_t*, Ftw_t*)) in ftwalk()
75 state.comparf = comparf; in ftwalk()
76 if (!(f = fts_open((char* const*)path, flags, comparf ? ftscompare : 0))) in ftwalk()
H A Dfts.c60 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()
[all …]
H A Dmime.c779 mp->dict.comparf = order; in mimeopen()
/titanic_41/usr/src/lib/libast/common/string/
H A Dstrsearch.c40 strsearch(const void* tab, size_t num, size_t siz, Strcmp_f comparf, const char* name, void* contex… in strsearch() argument
50 …if (!(v = context ? (*(Strcmp_context_f)comparf)(name, *((char**)mid), context) : (*comparf)(name,… in strsearch()
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Dcdt.h96 Dtcompar_f comparf;/* to compare two objects */ member
105 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf)
/titanic_41/usr/src/lib/libast/common/include/
H A Dcdt.h96 Dtcompar_f comparf;/* to compare two objects */ member
105 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf)
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Dcdt.h96 Dtcompar_f comparf;/* to compare two objects */ member
105 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf)
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Dcdt.h96 Dtcompar_f comparf;/* to compare two objects */ member
105 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf)
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Dcdt.h96 Dtcompar_f comparf;/* to compare two objects */ member
105 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \
245 (ky = (dc)->key, sz = (dc)->size, lk = (dc)->link, cmpf = (dc)->comparf)