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