Searched refs:maxelt (Results 1 – 1 of 1) sorted by relevance
635 int child, father, maxelt = h->elements - 1; in heap_extract() local637 if (maxelt < 0) { in heap_extract()656 while (child <= maxelt) { /* valid entry */ in heap_extract()657 if (child != maxelt && DN_KEY_LT(h->p[child + 1].key, h->p[child].key)) { in heap_extract()666 if (father != maxelt) { in heap_extract()670 h->p[father] = h->p[maxelt]; in heap_extract()