Lines Matching refs:cmpFn
44 Int (*cmpFn) ( const void*, const void* ); /* cmp fn (may be NULL) */ member
72 xa->cmpFn = NULL; in VG_()
124 xa->cmpFn = compar; in VG_()
229 vg_assert(xa->cmpFn); in VG_()
230 VG_(ssort)( xa->arr, xa->usedsizeE, xa->elemSzB, xa->cmpFn ); in VG_()
236 Int(*cmpFn)(const void*, const void*) ) in VG_()
248 cres = cmpFn( key, midv ); in VG_()
252 vg_assert(cmpFn( key, VG_(indexXA)(xa, lo) ) >= 0); in VG_()
253 vg_assert(cmpFn( key, VG_(indexXA)(xa, hi) ) <= 0); in VG_()
257 && 0 == cmpFn( key, VG_(indexXA)(xa, (*first)-1))) { in VG_()
264 && 0 == cmpFn( key, VG_(indexXA)(xa, (*last)+1))) { in VG_()
276 vg_assert(xa->cmpFn); in VG_()
278 return VG_(lookupXA_UNSAFE)(xa, key, first, last, xa->cmpFn); in VG_()