Searched refs:smallest (Results 1 – 1 of 1) sorted by relevance
153 struct heap_node* smallest; in HEAP_EXPORT() local221 smallest = child; in HEAP_EXPORT()222 if (child->left != NULL && less_than(child->left, smallest)) in HEAP_EXPORT()223 smallest = child->left; in HEAP_EXPORT()224 if (child->right != NULL && less_than(child->right, smallest)) in HEAP_EXPORT()225 smallest = child->right; in HEAP_EXPORT()226 if (smallest == child) in HEAP_EXPORT()228 heap_node_swap(heap, child, smallest); in HEAP_EXPORT()
Completed in 5 milliseconds