Lines Matching refs:SORT_CMP
51 #ifndef SORT_CMP
52 #define SORT_CMP(x, y) ((x) < (y) ? -1 : ((x) == (y) ? 0 : 1)) macro
186 if (SORT_CMP(x, dst[0]) < 0) { in BINARY_INSERTION_FIND()
188 } else if (SORT_CMP(x, dst[r]) > 0) { in BINARY_INSERTION_FIND()
195 const int val = SORT_CMP(x, cx); in BINARY_INSERTION_FIND()
226 if (SORT_CMP(dst[i - 1], dst[i]) <= 0) { in BINARY_INSERTION_SORT_START()
278 if (SORT_CMP(dst[size - 2], dst[size - 1]) > 0) { in COUNT_RUN()
287 if (SORT_CMP(dst[start], dst[start + 1]) <= 0) { in COUNT_RUN()
294 if (SORT_CMP(dst[curr - 1], dst[curr]) > 0) { in COUNT_RUN()
309 if (SORT_CMP(dst[curr - 1], dst[curr]) <= 0) { in COUNT_RUN()
389 if (SORT_CMP(storage[i], dst[j]) <= 0) { in TIM_SORT_MERGE()
409 if (SORT_CMP(dst[j - 1], storage[i - 1]) > 0) { in TIM_SORT_MERGE()
583 #undef SORT_CMP