Home
last modified time | relevance | path

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

/external/libdivsufsort/lib/
Dtrsort.c98 tr_fixdown(const saidx_t *ISAd, saidx_t *SA, saidx_t i, saidx_t size) { in tr_fixdown() function
124 for(i = m / 2 - 1; 0 <= i; --i) { tr_fixdown(ISAd, SA, i, m); } in tr_heapsort()
125 if((size % 2) == 0) { SWAP(SA[0], SA[m]); tr_fixdown(ISAd, SA, 0, m); } in tr_heapsort()
128 tr_fixdown(ISAd, SA, 0, i); in tr_heapsort()