Searched refs:HEAP_SWAP (Results 1 – 2 of 2) sorted by relevance
715 #define HEAP_SWAP(a, b, tmp) { tmp = a; a = b; b = tmp; } macro744 HEAP_SWAP(h->p[child], h->p[parent], tmp); in heap_insert()
260 #define HEAP_SWAP(a, b, buffer) { buffer = a ; a = b ; b = buffer ; } macro616 HEAP_SWAP(h->p[son], h->p[father], tmp); in heap_insert()