Searched refs:maxelt (Results 1 – 1 of 1) sorted by relevance
629 int child, father, maxelt = h->elements - 1; in heap_extract() local631 if (maxelt < 0) { in heap_extract()650 while (child <= maxelt) { /* valid entry */ in heap_extract()651 if (child != maxelt && DN_KEY_LT(h->p[child + 1].key, h->p[child].key)) { in heap_extract()660 if (father != maxelt) { in heap_extract()664 h->p[father] = h->p[maxelt]; in heap_extract()