Searched defs:comparf (Results 1 - 7 of 7) sorted by relevance
/ast/src/lib/libvcodex/ |
H A D | vcqsort.c | 36 void vcqsort(Void_t* list, ssize_t n, ssize_t size, Vccompare_f comparf, Void_t* disc) argument 42 Vccompare_f comparf; /* comparison function */ 53 { if((*comparf)(base, base+size, disc) > 0) 59 { if((*comparf)(base, base + l*size, disc) >= 0) 69 vcqsort(base, l, size, comparf, disc); 72 vcqsort(base + r*size, n, size, comparf, disc);
|
/ast/src/lib/libast/string/ |
H A D | strsearch.c | 32 * name in the (*comparf*)() sorted tab of num elements of 40 strsearch(const void* tab, size_t num, size_t siz, Strcmp_f comparf, const char* name, void* context) argument 50 if (!(v = context ? (*(Strcmp_context_f)comparf)(name, *((char**)mid), context) : (*comparf)(name, *((char**)mid))))
|
/ast/src/lib/libast/misc/ |
H A D | ftwalk.c | 35 int (*comparf)(Ftw_t*, Ftw_t*); member in struct:__anon282 45 return (*state.comparf)(*pf1, *pf2); 53 ftwalk(const char* path, int (*userf)(Ftw_t*), int flags, int (*comparf)(Ftw_t*, Ftw_t*)) argument 75 state.comparf = comparf; 76 if (!(f = fts_open((char* const*)path, flags, comparf ? ftscompare : 0)))
|
/ast/src/lib/libast/comp/ |
H A D | tsearch.c | 68 int(* comparf)_ARG_((const Void_t*, const Void_t*)); member in struct:_treedisc_s 86 return (*((Treedisc_t*)disc)->comparf)((Void_t*)one,(Void_t*)two); 104 int(*comparf)(const Void_t*,const Void_t*) ) 106 Void_t* tsearch(key, rootp, comparf) 109 int(* comparf)(); 119 /* dangerous to set comparf on each call but that's tsearch */ 120 Treedisc.comparf = comparf; 140 int(*comparf)(const Void_t*, const Void_t*) ) 142 Void_t* tfind(key, rootp, comparf) [all...] |
/ast/src/cmd/mailx/ |
H A D | local.c | 793 * name in the (*comparf*)() sorted tab of num elements of 801 strsearch(const void* tab, size_t num, size_t siz, Compare_f comparf, const char* name, void* context) argument 811 if (!(v = context ? (*(Compare_context_f)comparf)(name, *((char**)mid), context) : (*(Compare_f)comparf)(name, *((char**)mid))))
|
/ast/src/cmd/mailx/port/ |
H A D | cdt.h | 220 Dtcompar_f comparf;/* to compare two objects */ member in struct:_dtdisc_s
|
/ast/src/lib/libast/include/ |
H A D | cdt.h | 124 Dtcompar_f comparf;/* to compare two objects */ member in struct:_dtdisc_s 133 (dc)->comparf = (cmpf), (dc)->hashf = (hshf), \ 314 ((dc)->comparf ? (*(dc)->comparf)((dt), (k1), (k2), (dc)) : \
|
Completed in 25 milliseconds