Home
last modified time | relevance | path

Searched refs:grpc_timer_heap (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dtimer_heap.h30 } grpc_timer_heap; typedef
33 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);
Dtimer_heap.cc73 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()
Dtimer_generic.cc70 grpc_timer_heap heap;
/external/grpc-grpc/test/core/iomgr/
Dtimer_heap_test.cc44 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()