| /libevent-2.1.12/ |
| H A D | util-internal.h | 70 # define EVUTIL_HAS_ATTRIBUTE(x) 0 argument 462 #define EV_I64_ARG(x) ((__int64)(x)) argument 467 #define EV_I64_ARG(x) ((long long)(x)) argument 474 #define EV_SOCK_ARG(x) EV_I64_ARG((x)) argument 477 #define EV_SOCK_ARG(x) (x) argument 484 #define EV_SIZE_ARG(x) (x) argument 485 #define EV_SSIZE_ARG(x) (x) argument 493 #define EV_SIZE_ARG(x) ((unsigned long)(x)) argument 494 #define EV_SSIZE_ARG(x) ((long)(x)) argument 498 #define EV_SIZE_ARG(x) EV_U64_ARG(x) argument [all …]
|
| H A D | kqueue.c | 55 #define PTR_TO_UDATA(x) ((typeof(((struct kevent *)0)->udata))(x)) argument 56 #define INT_TO_UDATA(x) ((typeof(((struct kevent *)0)->udata))(intptr_t)(x)) argument 58 #define PTR_TO_UDATA(x) ((intptr_t)(x)) argument 59 #define INT_TO_UDATA(x) ((intptr_t)(x)) argument 61 #define PTR_TO_UDATA(x) (x) argument 62 #define INT_TO_UDATA(x) ((void*)(x)) argument
|
| H A D | log-internal.h | 79 #define event_debug(x) do { \ argument 85 #define event_debug(x) ((void)0) argument
|
| H A D | evmap.c | 114 #define GET_IO_SLOT(x, map, slot, type) \ in HT_PROTOTYPE() argument 122 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument 162 #define GET_SIGNAL_SLOT(x, map, slot, type) \ argument 169 #define GET_SIGNAL_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument 184 #define GET_IO_SLOT(x,map,slot,type) GET_SIGNAL_SLOT(x,map,slot,type) argument 185 #define GET_IO_SLOT_AND_CTOR(x,map,slot,type,ctor,fdinfo_len) \ argument
|
| H A D | select.c | 72 #define DIV_ROUNDUP(x, y) (((x)+((y)-1))/(y)) argument
|
| H A D | bufferevent_ratelim.c | 203 #define LIM(x) \ in bufferevent_get_rlim_max_() argument 210 #define CLAMPTO(x) \ in bufferevent_get_rlim_max_() argument
|
| H A D | ht-internal.h | 124 #define HT_FOREACH(x, name, head) \ argument
|
| H A D | evutil.c | 179 #define N_TO_READ(x) ((x) > INT_MAX) ? INT_MAX : ((int)(x)) in evutil_read_file_() argument 181 #define N_TO_READ(x) (x) in evutil_read_file_() argument
|
| H A D | evdns.c | 981 #define GET32(x) do { if (j + 4 > length) goto err; memcpy(&t32_, packet + j, 4); j += 4; x = ntohl… in name_parse() argument 982 #define GET16(x) do { if (j + 2 > length) goto err; memcpy(&t_, packet + j, 2); j += 2; x = ntohs(t… in name_parse() argument 983 #define GET8(x) do { if (j >= length) goto err; x = packet[j++]; } while (0) in name_parse() argument 1622 #define APPEND16(x) do { \ in dnsname_to_labels() argument 1629 #define APPEND32(x) do { \ in dnsname_to_labels() argument
|
| H A D | http.c | 3017 #define MEMBERSOF(x) (sizeof(x)/sizeof(x[0])) argument
|
| /libevent-2.1.12/WIN32-Code/ |
| H A D | tree.h | 278 #define SPLAY_FIND(name, x, y) name##_SPLAY_FIND(x, y) argument 280 #define SPLAY_MIN(name, x) (SPLAY_EMPTY(x) ? NULL \ argument 282 #define SPLAY_MAX(name, x) (SPLAY_EMPTY(x) ? NULL \ argument 285 #define SPLAY_FOREACH(x, name, head) \ argument 332 #define RB_AUGMENT(x) argument 665 #define RB_INSERT(name, x, y) name##_RB_INSERT(x, y) argument 666 #define RB_REMOVE(name, x, y) name##_RB_REMOVE(x, y) argument 667 #define RB_FIND(name, x, y) name##_RB_FIND(x, y) argument 668 #define RB_NEXT(name, x, y) name##_RB_NEXT(y) argument 670 #define RB_MAX(name, x) name##_RB_MINMAX(x, RB_INF) argument [all …]
|
| H A D | getopt.c | 41 #define __P(x) x argument 42 #define _DIAGASSERT(x) assert(x) argument
|
| H A D | getopt_long.c | 43 #define __P(x) x argument 44 #define _DIAGASSERT(x) assert(x) argument
|
| /libevent-2.1.12/include/event2/ |
| H A D | buffer_compat.h | 111 #define EVBUFFER_LENGTH(x) evbuffer_get_length(x) argument 113 #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) argument
|
| H A D | bufferevent_compat.h | 100 #define EVBUFFER_INPUT(x) bufferevent_get_input(x) argument 102 #define EVBUFFER_OUTPUT(x) bufferevent_get_output(x) argument
|
| H A D | event_compat.h | 187 #define evsignal_set(ev, x, cb, arg) \ argument 213 #define signal_set(ev, x, cb, arg) \ argument
|
| H A D | event.h | 980 #define evsignal_assign(ev, b, x, cb, arg) \ argument 982 #define evsignal_new(b, x, cb, arg) \ argument
|
| /libevent-2.1.12/test/ |
| H A D | print-winsock-errors.c | 11 #define E(x) printf (#x " -> \"%s\"\n", evutil_socket_error_to_string (x)); argument
|
| H A D | tinytest.c | 56 #define __attribute__(x) argument
|
| H A D | test-ratelim.c | 229 #define B(x) \ in check_bucket_levels_cb() argument
|
| H A D | regress_bufferevent.c | 39 #define __has_feature(x) 0 argument
|
| H A D | regress_buffer.c | 1533 char x[] = in test_evbuffer_readln() local
|
| H A D | regress.c | 287 #define setup_test(x) do { \ argument
|
| H A D | regress_http.c | 69 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) argument
|
| /libevent-2.1.12/sample/ |
| H A D | http-server.c | 27 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR) argument
|