Lines Matching refs:son
143 int son = h->elements; in heap_insert() local
147 son = key1; in heap_insert()
149 son = h->elements; in heap_insert()
150 if (son == h->size) /* need resize... */ in heap_insert()
154 h->p[son].object = p; in heap_insert()
155 h->p[son].key = key1; in heap_insert()
159 while (son > 0) { in heap_insert()
160 int father = HEAP_FATHER(son); in heap_insert()
163 if (DN_KEY_LT( h->p[father].key, h->p[son].key ) ) in heap_insert()
166 HEAP_SWAP(h->p[son], h->p[father], tmp); in heap_insert()
167 SET_OFFSET(h, son); in heap_insert()
168 son = father; in heap_insert()
170 SET_OFFSET(h, son); in heap_insert()