Lines Matching refs:son
280 int son = h->elements ;
283 son = key1 ;
285 son = h->elements ;
286 if (son == h->size) /* need resize... */
289 h->p[son].object = p ;
290 h->p[son].key = key1 ;
293 while (son > 0) { /* bubble up */
294 int father = HEAP_FATHER(son) ;
297 if (DN_KEY_LT( h->p[father].key, h->p[son].key ) )
299 /* son smaller than father, swap and repeat */
300 HEAP_SWAP(h->p[son], h->p[father], tmp) ;
301 SET_OFFSET(h, son);
302 son = father ;
304 SET_OFFSET(h, son);