Lines Matching refs:son
145 int son = h->elements;
149 son = key1;
151 son = h->elements;
152 if (son == h->size) /* need resize... */
156 h->p[son].object = p;
157 h->p[son].key = key1;
160 /* make sure that son >= father along the path */
161 while (son > 0) {
162 int father = HEAP_FATHER(son);
165 if (DN_KEY_LT( h->p[father].key, h->p[son].key ) )
167 /* son smaller than father, swap and repeat */
168 HEAP_SWAP(h->p[son], h->p[father], tmp);
169 SET_OFFSET(h, son);
170 son = father;
172 SET_OFFSET(h, son);