Home
last modified time | relevance | path

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

/freebsd/contrib/libdivsufsort/lib/
H A Dsssort.c658 #define GETIDX(a) ((0 <= (a)) ? (a) : (~(a))) in ss_swapmerge() macro
662 (((c) & 2) && (ss_compare(T, PA + GETIDX(*((a) - 1)), PA + *(a), depth) == 0))) {\ in ss_swapmerge()
665 if(((c) & 4) && ((ss_compare(T, PA + GETIDX(*((b) - 1)), PA + *(b), depth) == 0))) {\ in ss_swapmerge()
697 if(ss_compare(T, PA + GETIDX(*(middle + m + half)), in ss_swapmerge()
698 PA + GETIDX(*(middle - m - half - 1)), depth) < 0) { in ss_swapmerge()
728 if(ss_compare(T, PA + GETIDX(*(middle - 1)), PA + *middle, depth) == 0) { in ss_swapmerge()
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Ddivsufsort.c748 #define GETIDX(a) ((0 <= (a)) ? (a) : (~(a))) in ss_swapmerge() macro
752 (((c) & 2) && (ss_compare(T, PA + GETIDX(*((a) - 1)), PA + *(a), depth) == 0))) {\ in ss_swapmerge()
755 if(((c) & 4) && ((ss_compare(T, PA + GETIDX(*((b) - 1)), PA + *(b), depth) == 0))) {\ in ss_swapmerge()
787 if(ss_compare(T, PA + GETIDX(*(middle + m + half)), in ss_swapmerge()
788 PA + GETIDX(*(middle - m - half - 1)), depth) < 0) { in ss_swapmerge()
818 if(ss_compare(T, PA + GETIDX(*(middle - 1)), PA + *middle, depth) == 0) { in ss_swapmerge()