/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/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/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/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)))
|
H A D | fts.c | 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) 685 * order fts->todo if fts->comparf != 0 698 root = search(f, root, fts->comparf, 1); 746 fts_open(char* const* pathnames, int flags, int (*comparf)(FTSENT* const*, FTSENT* const*)) 754 fts->comparf = comparf; [all...] |
/ast/src/cmd/mailx/port/ |
H A D | dthdr.h | 114 #define CMP(dt,k1,k2,d) (d->comparf ? (*d->comparf)(dt,k1,k2,d) : \
|
H A D | cdt.h | 220 Dtcompar_f comparf;/* to compare two objects */ member in struct:_dtdisc_s
|
/ast/src/cmd/dsslib/ip_t/ |
H A D | iv-flat.c | 116 fl->dc.comparf = flatbldcmp; 218 fl->dc.comparf = flatsrchcmp; 239 fl->dc.comparf = flatsrchcmp;
|
H A D | ptopen.c | 81 prefixdisc.comparf = (Dtcompar_f)byprefix;
|
H A D | iv-nested.c | 217 nst->dc.comparf = nestcmp;
|
H A D | ptvopen.c | 96 p->dtdisc.comparf = (Dtcompar_f)byprefix;
|
/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)) : \
|
/ast/src/cmd/tests/cdt/ |
H A D | tstringset.c | 66 disc.comparf = 0; disc.hashf = 0;
|
H A D | tvthread.c | 80 dc->disc.comparf = mycompare;
|
H A D | trehash.c | 239 Disc->disc.comparf = NIL(Dtcompar_f);
|
H A D | tsafehash.c | 239 Disc->disc.comparf = NIL(Dtcompar_f);
|
H A D | tsafetree.c | 241 Disc->disc.comparf = NIL(Dtcompar_f);
|
H A D | tvsafehash.c | 134 mmdc->disc.comparf = mmcompare;
|
H A D | tvsaferehash.c | 136 mmdc->disc.comparf = mmcompare;
|
H A D | tvsafetree.c | 133 mmdc->disc.comparf = mmcompare;
|
/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/lib/libjcl/ |
H A D | uniq.c | 215 state.uniqdisc.comparf = uniqcmp;
|
/ast/src/lib/libdss/ |
H A D | cxmap.c | 91 stricase2numdisc.comparf = ignorecase;
|
/ast/src/cmd/dsslib/merge/ |
H A D | merge.c | 231 state->orderdisc.comparf = ordercmp;
|
/ast/src/cmd/std/ |
H A D | mount.c | 217 state.matchdisc.comparf = matchcmp;
|