Searched refs:higher_priority (Results 1 – 2 of 2) sorted by relevance
49 heap_new(heap_higher_priority_func higher_priority, heap_index_func index, in heap_new() argument53 if (higher_priority == NULL) in heap_new()67 ctx->higher_priority = higher_priority; in heap_new()106 i > 1 && ctx->higher_priority(elt, ctx->heap[p]); in float_up()126 if (j < size && ctx->higher_priority(ctx->heap[j+1], in sink_down()129 if (ctx->higher_priority(elt, ctx->heap[j])) in sink_down()173 less = ctx->higher_priority(elt, ctx->heap[i]); in heap_delete()
27 heap_higher_priority_func higher_priority; member