Lines Matching refs:son
589 int son = h->elements ;
592 son = key1 ;
594 son = h->elements ;
595 if (son == h->size) /* need resize... */
598 h->p[son].object = p ;
599 h->p[son].key = key1 ;
602 while (son > 0) { /* bubble up */
603 int father = HEAP_FATHER(son) ;
606 if (DN_KEY_LT( h->p[father].key, h->p[son].key ) )
608 /* son smaller than father, swap and repeat */
609 HEAP_SWAP(h->p[son], h->p[father], tmp) ;
610 SET_OFFSET(h, son);
611 son = father ;
613 SET_OFFSET(h, son);