Home
last modified time | relevance | path

Searched refs:father (Results 1 – 1 of 1) sorted by relevance

/xnu-11215.1.10/bsd/netinet/
H A Dip_dummynet.c614 int father = HEAP_FATHER(son); in heap_insert() local
617 if (DN_KEY_LT( h->p[father].key, h->p[son].key )) { in heap_insert()
621 HEAP_SWAP(h->p[son], h->p[father], tmp); in heap_insert()
623 son = father; in heap_insert()
635 int child, father, maxelt = h->elements - 1; in heap_extract() local
642 father = 0; /* default: move up smallest child */ in heap_extract()
647 father = *((int *)(void *)((char *)obj + h->offset)); in heap_extract()
648 if (father < 0 || father >= h->elements) { in heap_extract()
650 father, h->elements); in heap_extract()
654 RESET_OFFSET(h, father); in heap_extract()
[all …]