Searched refs:head (Results 1 – 8 of 8) sorted by relevance
| /libevent-2.1.12/compat/sys/ |
| H A D | queue.h | 106 #define SLIST_FIRST(head) ((head)->slh_first) argument 108 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head)) argument 120 SLIST_FIRST(head) = SLIST_END(head); \ 157 #define LIST_FIRST(head) ((head)->lh_first) argument 159 #define LIST_EMPTY(head) (LIST_FIRST(head) == LIST_END(head)) argument 171 LIST_FIRST(head) = LIST_END(head); \ 233 #define SIMPLEQ_EMPTY(head) (SIMPLEQ_FIRST(head) == SIMPLEQ_END(head)) argument 246 (head)->sqh_last = &(head)->sqh_first; \ 302 (TAILQ_FIRST(head) == TAILQ_END(head)) 385 { CIRCLEQ_END(&head), CIRCLEQ_END(&head) } [all …]
|
| /libevent-2.1.12/ |
| H A D | ht-internal.h | 50 (sizeof(*head) + (head)->hth_table_length * sizeof(void*)) 52 #define HT_FIND(name, head, elm) name##_HT_FIND((head), (elm)) argument 53 #define HT_INSERT(name, head, elm) name##_HT_INSERT((head), (elm)) argument 54 #define HT_REPLACE(name, head, elm) name##_HT_REPLACE((head), (elm)) argument 55 #define HT_REMOVE(name, head, elm) name##_HT_REMOVE((head), (elm)) argument 56 #define HT_START(name, head) name##_HT_START(head) argument 57 #define HT_NEXT(name, head, elm) name##_HT_NEXT((head), (elm)) argument 59 #define HT_CLEAR(name, head) name##_HT_CLEAR(head) argument 60 #define HT_INIT(name, head) name##_HT_INIT(head) argument 174 if (!head->hth_table || head->hth_n_entries >= head->hth_load_limit) \ [all …]
|
| H A D | event-internal.h | 372 #define LIST_END(head) NULL argument 376 #define TAILQ_FIRST(head) ((head)->tqh_first) argument 379 #define TAILQ_END(head) NULL argument 386 #define TAILQ_FOREACH(var, head, field) \ argument 387 for ((var) = TAILQ_FIRST(head); \ 388 (var) != TAILQ_END(head); \
|
| H A D | evrpc.c | 126 struct evrpc_hook_list *head = NULL; in evrpc_add_hook() local 130 head = &base->in_hooks; in evrpc_add_hook() 133 head = &base->out_hooks; in evrpc_add_hook() 144 TAILQ_INSERT_TAIL(head, hook, next); in evrpc_add_hook() 153 TAILQ_FOREACH(hook, head, next) { in evrpc_remove_hook_internal() 155 TAILQ_REMOVE(head, hook, next); in evrpc_remove_hook_internal() 172 struct evrpc_hook_list *head = NULL; in evrpc_remove_hook() local 175 head = &base->in_hooks; in evrpc_remove_hook() 178 head = &base->out_hooks; in evrpc_remove_hook() 192 TAILQ_FOREACH(hook, head, next) { in evrpc_process_hooks() [all …]
|
| H A D | checkpatch.sh | 189 { uncrustify_indent_off; git_hunk "$@" | head -n$((start - 1)); } 190 { uncrustify_indent_on; git_hunk "$@" | head -n$((end - 1)) | tail -n+$start; } 200 head -n$end | tail -n+$start
|
| H A D | evdns.c | 659 if (head) in request_finished() 2728 ptr = *head; in evdns_request_remove() 2735 } while (ptr != *head); in evdns_request_remove() 2744 *head = NULL; in evdns_request_remove() 2748 if (*head == req) *head = req->next; in evdns_request_remove() 2758 if (!*head) { in evdns_request_insert() 2759 *head = req; in evdns_request_insert() 2764 req->prev = (*head)->prev; in evdns_request_insert() 2766 req->next = *head; in evdns_request_insert() 2767 (*head)->prev = req; in evdns_request_insert() [all …]
|
| H A D | event.c | 1451 const struct timeval *now, struct event *head) in common_timeout_schedule() argument 1453 struct timeval timeout = head->ev_timeout; in common_timeout_schedule()
|
| /libevent-2.1.12/WIN32-Code/ |
| H A D | tree.h | 77 #define SPLAY_ROOT(head) (head)->sph_root argument 78 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument 96 (head)->sph_root = SPLAY_LEFT((head)->sph_root, field); \ 102 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field); \ 124 if (SPLAY_EMPTY(head)) \ 190 (head)->sph_root = SPLAY_RIGHT((head)->sph_root, field);\ 193 (head)->sph_root = SPLAY_LEFT((head)->sph_root, field);\ 317 #define RB_ROOT(head) (head)->rbh_root argument 318 #define RB_EMPTY(head) (RB_ROOT(head) == NULL) argument 469 elm = RB_ROOT(head); \ [all …]
|