Home
last modified time | relevance | path

Searched refs:LIST_FIRST (Results 1 – 6 of 6) sorted by relevance

/libevent-2.1.12/
H A Dutil-internal.h186 elm1 = LIST_FIRST((dlist)); \
199 nextp = &LIST_FIRST((dlist)); \
200 elm1 = LIST_FIRST((dlist)); \
H A Devmap.c325 (old_ev = LIST_FIRST(&ctx->events)) && in evmap_io_add_()
492 if (LIST_FIRST(&ctx->events) == NULL) { in evmap_signal_del_()
627 (ev = LIST_FIRST(&ctx->events)) &&
671 while ((ev = LIST_FIRST(dlist)))
H A Dbufferevent_ratelim.c460 bev = LIST_FIRST(&group->members); in bev_group_random_element_()
481 for (bev = LIST_FIRST(&g->members); bev && bev != first; \
H A Dbuffer.c495 for (cbent = LIST_FIRST(&buffer->callbacks); in evbuffer_run_callbacks()
554 while ((cbent = LIST_FIRST(&buffer->callbacks))) { in evbuffer_remove_all_callbacks()
H A Devent.c918 while (LIST_FIRST(&base->once_events)) { in event_base_free_()
919 struct event_once *eonce = LIST_FIRST(&base->once_events); in event_base_free_()
/libevent-2.1.12/compat/sys/
H A Dqueue.h157 #define LIST_FIRST(head) ((head)->lh_first) macro
159 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head))
163 for((var) = LIST_FIRST(head); \
171 LIST_FIRST(head) = LIST_END(head); \