gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:cmp from t2ex/bsd_source/lib/libc/src_bsd/stdlib/qsort.c (0.00 seconds)
t2ex
bsd_source/lib/libc/src_bsd/stdlib/qsort.c - 6.3KB - 162 lines
77: {
78:         return cmp(a, b) < 0 ?
79:                (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a ))
80:               :(cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c ));
81: }
94: for (pm = (char *)a + es; pm < (char *) a + n * es; pm += es) 95: for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0; 96: pl -= es)
116: for (;;) { 117: while (pb <= pc && (cmp_result = cmp(pb, a)) <= 0) { 118: if (cmp_result == 0) {
124: } 125: while (pb <= pc && (cmp_result = cmp(pc, a)) >= 0) { 126: if (cmp_result == 0) {
141: for (pm = (char *) a + es; pm < (char *) a + n * es; pm += es) 142: for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0; 143: pl -= es)