Searched refs:son (Results 1 – 1 of 1) sorted by relevance
592 int son = h->elements; in heap_insert() local596 son = (int)key1; in heap_insert()598 son = h->elements; in heap_insert()599 if (son == h->size) { /* need resize... */ in heap_insert()604 h->p[son].object = p; in heap_insert()605 h->p[son].key = key1; in heap_insert()608 while (son > 0) { /* bubble up */ in heap_insert()609 int father = HEAP_FATHER(son); in heap_insert()612 if (DN_KEY_LT( h->p[father].key, h->p[son].key )) { in heap_insert()616 HEAP_SWAP(h->p[son], h->p[father], tmp); in heap_insert()[all …]