Home
last modified time | relevance | path

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

/freebsd/lib/libc/stdlib/
H A Dheapsort.c82 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \ argument
83 for (par_i = initval; (child_i = par_i * 2) <= nmemb; \
84 par_i = child_i) { \
85 child = base + child_i * size; \
86 if (child_i < nmemb && COMPAR(child, child + size) < 0) { \
88 ++child_i; \
114 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ argument
115 for (par_i = 1; (child_i = par_i * 2) <= nmemb; par_i = child_i) { \
116 child = base + child_i * size; \
117 if (child_i < nmemb && COMPAR(child, child + size) < 0) { \
[all …]