Searched refs:higher_priority (Results 1 – 2 of 2) sorted by relevance
53 heap_new(heap_higher_priority_func higher_priority, heap_index_func index, in heap_new() argument57 if (higher_priority == NULL) in heap_new()71 ctx->higher_priority = higher_priority; in heap_new()110 i > 1 && ctx->higher_priority(elt, ctx->heap[p]); in float_up()130 if (j < size && ctx->higher_priority(ctx->heap[j+1], in sink_down()133 if (ctx->higher_priority(elt, ctx->heap[j])) in sink_down()177 less = ctx->higher_priority(elt, ctx->heap[i]); in heap_delete()
27 heap_higher_priority_func higher_priority; member