Lines Matching defs:son
147 int son = h->elements;
151 son = key1;
153 son = h->elements;
154 if (son == h->size) /* need resize... */
158 h->p[son].object = p;
159 h->p[son].key = key1;
162 /* make sure that son >= father along the path */
163 while (son > 0) {
164 int father = HEAP_FATHER(son);
167 if (DN_KEY_LT( h->p[father].key, h->p[son].key ) )
169 /* son smaller than father, swap and repeat */
170 HEAP_SWAP(h->p[son], h->p[father], tmp);
171 SET_OFFSET(h, son);
172 son = father;
174 SET_OFFSET(h, son);