min_heap_t 39 third_party/libevent/min_heap.h static inline void min_heap_ctor(min_heap_t* s); min_heap_t 40 third_party/libevent/min_heap.h static inline void min_heap_dtor(min_heap_t* s); min_heap_t 43 third_party/libevent/min_heap.h static inline int min_heap_empty(min_heap_t* s); min_heap_t 44 third_party/libevent/min_heap.h static inline unsigned min_heap_size(min_heap_t* s); min_heap_t 45 third_party/libevent/min_heap.h static inline struct event* min_heap_top(min_heap_t* s); min_heap_t 46 third_party/libevent/min_heap.h static inline int min_heap_reserve(min_heap_t* s, unsigned n); min_heap_t 47 third_party/libevent/min_heap.h static inline int min_heap_push(min_heap_t* s, struct event* e); min_heap_t 48 third_party/libevent/min_heap.h static inline struct event* min_heap_pop(min_heap_t* s); min_heap_t 49 third_party/libevent/min_heap.h static inline int min_heap_erase(min_heap_t* s, struct event* e); min_heap_t 50 third_party/libevent/min_heap.h static inline void min_heap_shift_up_(min_heap_t* s, unsigned hole_index, struct event* e); min_heap_t 51 third_party/libevent/min_heap.h static inline void min_heap_shift_down_(min_heap_t* s, unsigned hole_index, struct event* e); min_heap_t 58 third_party/libevent/min_heap.h void min_heap_ctor(min_heap_t* s) { s->p = 0; s->n = 0; s->a = 0; } min_heap_t 59 third_party/libevent/min_heap.h void min_heap_dtor(min_heap_t* s) { free(s->p); } min_heap_t 61 third_party/libevent/min_heap.h int min_heap_empty(min_heap_t* s) { return 0u == s->n; } min_heap_t 62 third_party/libevent/min_heap.h unsigned min_heap_size(min_heap_t* s) { return s->n; } min_heap_t 63 third_party/libevent/min_heap.h struct event* min_heap_top(min_heap_t* s) { return s->n ? *s->p : 0; } min_heap_t 65 third_party/libevent/min_heap.h int min_heap_push(min_heap_t* s, struct event* e) min_heap_t 73 third_party/libevent/min_heap.h struct event* min_heap_pop(min_heap_t* s) min_heap_t 85 third_party/libevent/min_heap.h int min_heap_erase(min_heap_t* s, struct event* e) min_heap_t 106 third_party/libevent/min_heap.h int min_heap_reserve(min_heap_t* s, unsigned n) min_heap_t 122 third_party/libevent/min_heap.h void min_heap_shift_up_(min_heap_t* s, unsigned hole_index, struct event* e) min_heap_t 134 third_party/libevent/min_heap.h void min_heap_shift_down_(min_heap_t* s, unsigned hole_index, struct event* e)