Lines Matching refs:son
724 int son = h->elements; in heap_insert() local
728 son = (int)key1; in heap_insert()
730 son = h->elements; in heap_insert()
731 if (son == h->size) { /* need resize... */ in heap_insert()
736 h->p[son].object = object; in heap_insert()
737 h->p[son].obj_size = obj_size; in heap_insert()
738 h->p[son].key = key1; in heap_insert()
741 while (son > 0) { /* bubble up */ in heap_insert()
742 int father = HEAP_FATHER(son); in heap_insert()
745 if (DN_KEY_LT( h->p[father].key, h->p[son].key )) { in heap_insert()
749 HEAP_SWAP(h->p[son], h->p[father], tmp); in heap_insert()
750 SET_OFFSET(h, son); in heap_insert()
751 son = father; in heap_insert()
753 SET_OFFSET(h, son); in heap_insert()