Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 34) sorted by relevance

12

/libevent-2.1.12/
H A Dutil-internal.h462 #define EV_I64_ARG(x) ((__int64)(x)) argument
463 #define EV_U64_ARG(x) ((unsigned __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 Dconfigure.ac60 if test x$have_gcc295 = xyes; then
80 [if test x$enableval = xyes; then
348 AM_CONDITIONAL(BUILD_WITH_NO_UNDEFINED, test x$bwin32 = xtrue || test x$cygwin = xtrue || test x$mi…
350 if test x$bwin32 = xtrue; then
398 AS_IF([test x$bwin32 = xtrue],
412 AS_IF([test x$bwin32 = xtrue],
424 AS_IF([test x$bwin32 = xfalse], [
520 if test x$bwin32 != xtrue; then
662 if test "x$bwin32" = "xtrue"; then
772 ],[socklen_t x;]
[all …]
H A Dkqueue.c55 #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 Dlog-internal.h79 #define event_debug(x) do { \ argument
81 event_debugx_ x; \
85 #define event_debug(x) ((void)0) argument
H A Devmap.c114 #define GET_IO_SLOT(x, map, slot, type) \ in HT_PROTOTYPE() argument
119 (x) = ent_ ? &ent_->ent.type : NULL; \ in HT_PROTOTYPE()
122 #define GET_IO_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument
139 (x) = &ent_->ent.type; \
162 #define GET_SIGNAL_SLOT(x, map, slot, type) \ argument
163 (x) = (struct type *)((map)->entries[slot])
169 #define GET_SIGNAL_SLOT_AND_CTOR(x, map, slot, type, ctor, fdinfo_len) \ argument
178 (x) = (struct type *)((map)->entries[slot]); \
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
[all …]
H A Dht-internal.h124 #define HT_FOREACH(x, name, head) \ argument
125 for ((x) = HT_START(name, head); \
126 (x) != NULL; \
127 (x) = HT_NEXT(name, head, x))
H A Devent_rpcgen.py51 return [x % mydict for x in mylist]
1274 code += [" " + x for x in codearrayassign]
1313 code += [" " + x for x in codearrayadd]
1346 code += [" " + x for x in tmp]
1418 code += [" " + x for x in codearrayfree]
H A Dbufferevent_ratelim.c203 #define LIM(x) \ in bufferevent_get_rlim_max_() argument
204 (is_write ? (x).write_limit : (x).read_limit) in bufferevent_get_rlim_max_()
210 #define CLAMPTO(x) \ in bufferevent_get_rlim_max_() argument
212 if (max_so_far > (x)) \ in bufferevent_get_rlim_max_()
213 max_so_far = (x); \ in bufferevent_get_rlim_max_()
H A Dselect.c72 #define DIV_ROUNDUP(x, y) (((x)+((y)-1))/(y)) argument
H A Devutil.c179 #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 Devdns.c981 #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
1625 t_ = htons(x); \ in dnsname_to_labels()
1629 #define APPEND32(x) do { \ in dnsname_to_labels() argument
1632 t32_ = htonl(x); \ in dnsname_to_labels()
/libevent-2.1.12/WIN32-Code/
H A Dtree.h278 #define SPLAY_FIND(name, x, y) name##_SPLAY_FIND(x, y) argument
279 #define SPLAY_NEXT(name, x, y) name##_SPLAY_NEXT(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
288 (x) = SPLAY_NEXT(name, head, x))
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
669 #define RB_MIN(name, x) name##_RB_MINMAX(x, RB_NEGINF) argument
670 #define RB_MAX(name, x) name##_RB_MINMAX(x, RB_INF) argument
[all …]
H A Dgetopt.c41 #define __P(x) x argument
42 #define _DIAGASSERT(x) assert(x) argument
H A Dgetopt_long.c43 #define __P(x) x argument
44 #define _DIAGASSERT(x) assert(x) argument
/libevent-2.1.12/include/event2/
H A Dbuffer_compat.h111 #define EVBUFFER_LENGTH(x) evbuffer_get_length(x) argument
113 #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) argument
H A Dbufferevent_compat.h100 #define EVBUFFER_INPUT(x) bufferevent_get_input(x) argument
102 #define EVBUFFER_OUTPUT(x) bufferevent_get_output(x) argument
H A Devent_compat.h187 #define evsignal_set(ev, x, cb, arg) \ argument
188 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
213 #define signal_set(ev, x, cb, arg) \ argument
214 event_set((ev), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
H A Devent.h980 #define evsignal_assign(ev, b, x, cb, arg) \ argument
981 event_assign((ev), (b), (x), EV_SIGNAL|EV_PERSIST, cb, (arg))
982 #define evsignal_new(b, x, cb, arg) \ argument
983 event_new((b), (x), EV_SIGNAL|EV_PERSIST, (cb), (arg))
/libevent-2.1.12/m4/
H A Dax_check_funcs_ex.m47 AS_IF([test "x$2" = "x"], [AC_MSG_ERROR([header not privided])])
17 AS_IF([test "x$2" = "x"], [AC_MSG_ERROR([header not privided])])
H A Dacx_pthread.m499 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
107 if test x"$acx_pthread_ok" = xno; then
162 if test x"$acx_pthread_ok" = xno; then
177 if test x"$acx_pthread_config" = xno; then continue; fi
212 if test "x$acx_pthread_ok" = xyes; then
222 if test "x$acx_pthread_ok" = xyes; then
249 if test "x$flag" != xno; then
257 if test x"$GCC" != xyes; then
271 if test x"$acx_pthread_ok" = xyes; then
H A Dax_prog_doxygen.m4137 [[expr ".$1" : '\(\.\)[^/]*$' \| "x$1" : 'x\(.*\)/[^/]*$']])
150 if test "x$2" = "xdoxygen"; then
/libevent-2.1.12/test/
H A Dprint-winsock-errors.c11 #define E(x) printf (#x " -> \"%s\"\n", evutil_socket_error_to_string (x)); argument
H A Dtest-ratelim.c229 #define B(x) \ in check_bucket_levels_cb() argument
230 if ((x) > max_bucket_level) \ in check_bucket_levels_cb()
231 max_bucket_level = (x); \ in check_bucket_levels_cb()
232 if ((x) < min_bucket_level) \ in check_bucket_levels_cb()
233 min_bucket_level = (x) in check_bucket_levels_cb()
/libevent-2.1.12/sample/
H A Dhttp-server.c27 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR) argument
/libevent-2.1.12/cmake/
H A DCodeCoverage.cmake154 …COMMAND ${GCOVR_PATH} -x -r ${CMAKE_SOURCE_DIR} -e '${CMAKE_SOURCE_DIR}/tests/' -o ${_outputname}…

12