Home
last modified time | relevance | path

Searched refs:SORT_CMP (Results 1 – 2 of 2) sorted by relevance

/external/libxml2/
Dtimsort.h51 #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()
[all …]
Dxpath.c468 #define SORT_CMP(x, y) (wrap_cmp(x, y)) macro