Searched refs:CMP (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | qsort.c | 87 #define CMP(t, x, y) (cmp((t), (x), (y))) macro 89 #define CMP(t, x, y) (cmp((x), (y))) macro 99 return CMP(thunk, a, b) < 0 ? in med3() 100 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) in med3() 101 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); in med3() 123 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; in qsort_r() 145 while (pb <= pc && (cmp_result = CMP(thunk, pb, a)) <= 0) { in qsort_r() 153 while (pb <= pc && (cmp_result = CMP(thunk, pc, a)) >= 0) { in qsort_r() 171 pl > (char *)a && CMP(thunk, pl - es, pl) > 0; in qsort_r()
|