Searched refs:grpc_timer_heap (Results 1 – 4 of 4) sorted by relevance
30 } grpc_timer_heap; typedef33 int grpc_timer_heap_add(grpc_timer_heap* heap, grpc_timer* timer);35 void grpc_timer_heap_init(grpc_timer_heap* heap);36 void grpc_timer_heap_destroy(grpc_timer_heap* heap);38 void grpc_timer_heap_remove(grpc_timer_heap* heap, grpc_timer* timer);39 grpc_timer* grpc_timer_heap_top(grpc_timer_heap* heap);40 void grpc_timer_heap_pop(grpc_timer_heap* heap);42 int grpc_timer_heap_is_empty(grpc_timer_heap* heap);
73 static void maybe_shrink(grpc_timer_heap* heap) { in maybe_shrink()82 static void note_changed_priority(grpc_timer_heap* heap, grpc_timer* timer) { in note_changed_priority()92 void grpc_timer_heap_init(grpc_timer_heap* heap) { in grpc_timer_heap_init()96 void grpc_timer_heap_destroy(grpc_timer_heap* heap) { gpr_free(heap->timers); } in grpc_timer_heap_destroy()98 int grpc_timer_heap_add(grpc_timer_heap* heap, grpc_timer* timer) { in grpc_timer_heap_add()111 void grpc_timer_heap_remove(grpc_timer_heap* heap, grpc_timer* timer) { in grpc_timer_heap_remove()125 int grpc_timer_heap_is_empty(grpc_timer_heap* heap) { in grpc_timer_heap_is_empty()129 grpc_timer* grpc_timer_heap_top(grpc_timer_heap* heap) { in grpc_timer_heap_top()133 void grpc_timer_heap_pop(grpc_timer_heap* heap) { in grpc_timer_heap_pop()
70 grpc_timer_heap heap;
44 static int contains(grpc_timer_heap* pq, grpc_timer* el) { in contains()52 static void check_valid(grpc_timer_heap* pq) { in check_valid()71 grpc_timer_heap pq; in test1()159 grpc_timer_heap pq; in test2()230 grpc_timer_heap pq; in shrink_test()