Home
last modified time | relevance | path

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

/freebsd/contrib/libdivsufsort/lib/
H A Dsssort.c192 ss_fixdown(const sauchar_t *Td, const saidx_t *PA, in ss_fixdown() function
219 for(i = m / 2 - 1; 0 <= i; --i) { ss_fixdown(Td, PA, SA, i, m); } in ss_heapsort()
220 if((size % 2) == 0) { SWAP(SA[0], SA[m]); ss_fixdown(Td, PA, SA, 0, m); } in ss_heapsort()
223 ss_fixdown(Td, PA, SA, 0, i); in ss_heapsort()
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Ddivsufsort.c282 ss_fixdown(const unsigned char *Td, const int *PA, in ss_fixdown() function
309 for(i = m / 2 - 1; 0 <= i; --i) { ss_fixdown(Td, PA, SA, i, m); } in ss_heapsort()
310 if((size % 2) == 0) { SWAP(SA[0], SA[m]); ss_fixdown(Td, PA, SA, 0, m); } in ss_heapsort()
313 ss_fixdown(Td, PA, SA, 0, i); in ss_heapsort()