Home
last modified time | relevance | path

Searched refs:higher_priority (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dheap.c49 heap_new(heap_higher_priority_func higher_priority, heap_index_func index, in heap_new() argument
53 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()
/illumos-gate/usr/src/lib/libresolv2/include/isc/
H A Dheap.h27 heap_higher_priority_func higher_priority; member