Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 41) sorted by relevance

12

/libevent-2.1.12/WIN32-Code/
H A Dtree.h117 struct type *name##_SPLAY_INSERT(struct name *, struct type *); \
118 struct type *name##_SPLAY_REMOVE(struct name *, struct type *); \
157 struct type * \
181 struct type * \
378 void name##_RB_REMOVE_COLOR(struct name *, struct type *, struct type *);\
379 struct type *name##_RB_REMOVE(struct name *, struct type *); \
380 struct type *name##_RB_INSERT(struct name *, struct type *); \
381 struct type *name##_RB_FIND(struct name *, struct type *); \
382 struct type *name##_RB_NEXT(struct type *); \
510 struct type * \
[all …]
/libevent-2.1.12/
H A Dht-internal.h11 #define HT_HEAD(name, type) \ argument
14 struct type **hth_table; \
29 #define HT_ENTRY(type) \ argument
31 struct type *hte_next; \
34 #define HT_ENTRY(type) \ argument
36 struct type *hte_next; \
129 #define HT_PROTOTYPE(name, type, field, hashfn, eqfn) \ argument
143 static inline struct type ** \
144 name##_HT_FIND_P_(struct name *head, struct type *elm) \
146 struct type **p; \
[all …]
H A Dutil-internal.h179 #define EVUTIL_ASSERT_LIST_OK(dlist, type, field) do { \ argument
180 struct type *elm1, *elm2, **nextp; \
215 #define EVUTIL_ASSERT_TAILQ_OK(tailq, type, field) do { \ argument
216 struct type *elm1, *elm2, **nextp; \
288 #define EVUTIL_UPCAST(ptr, type, field) \ argument
289 ((type *)(((char*)(ptr)) - evutil_offsetof(type, field)))
504 evutil_socket_t evutil_socket_(int domain, int type, int protocol);
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()
136 (ctor)(&ent_->ent.type); \
139 (x) = &ent_->ent.type; \
162 #define GET_SIGNAL_SLOT(x, map, slot, type) \ argument
163 (x) = (struct type *)((map)->entries[slot])
173 mm_calloc(1,sizeof(struct type)+fdinfo_len); \
176 (ctor)((struct type *)(map)->entries[slot]); \
178 (x) = (struct type *)((map)->entries[slot]); \
184 #define GET_IO_SLOT(x,map,slot,type) GET_SIGNAL_SLOT(x,map,slot,type) argument
[all …]
H A Dopenssl-compat.h10 static inline BIO_METHOD *BIO_meth_new(int type, const char *name) in BIO_meth_new() argument
15 biom->type = type; in BIO_meth_new()
H A Devdns.c201 unsigned int type; member
1117 u16 type, class; in reply_parse() local
1120 GET16(type); in reply_parse()
1192 GET16(type); in reply_parse()
1279 GET16(type); in request_parse()
1285 q->type = type; in request_parse()
1713 APPEND16(type); in evdns_request_data_build()
1813 item->type = type; in evdns_server_request_add_reply()
2308 (void) type; in nameserver_probe_callback()
3244 EVUTIL_ASSERT(type == TYPE_A || type == TYPE_AAAA); in search_request_new()
[all …]
H A Devent-config.h.cmake87 /* Define to 1 if fd_mask type is defined */
238 /* Define to 1 if the system has the type `sa_family_t'. */
298 /* Define to 1 if the system has the type `struct addrinfo'. */
301 /* Define to 1 if the system has the type `struct in6_addr'. */
319 /* Define to 1 if the system has the type `struct sockaddr_un'. */
331 /* Define to 1 if the system has the type `struct linger'. */
416 /* Define to 1 if the system has the type `uint8_t'. */
419 /* Define to 1 if the system has the type `uint16_t'. */
422 /* Define to 1 if the system has the type `uint32_t'. */
425 /* Define to 1 if the system has the type `uint64_t'. */
[all …]
H A Dhttp.c313 switch (type) { in evhttp_method()
362 req->type != EVHTTP_REQ_HEAD); in evhttp_response_needs_body()
455 if ((req->type == EVHTTP_REQ_POST || req->type == EVHTTP_REQ_PUT) && in evhttp_make_header_request()
1727 enum evhttp_cmd_type type; in evhttp_parse_request_line() local
1770 type = EVHTTP_REQ_GET; in evhttp_parse_request_line()
1778 type = EVHTTP_REQ_PUT; in evhttp_parse_request_line()
1790 type = EVHTTP_REQ_POST; in evhttp_parse_request_line()
1863 req->type = type; in evhttp_parse_request_line()
2196 switch (type) { in evhttp_method_may_have_body()
2654 req->type = type; in evhttp_make_request()
[all …]
H A Ddoxygen.am45 { find '$(DESTDIR)$(htmldir)/'$$d -type d ! -perm -200 -exec chmod u+w '{}' ';' && \
48 { find '$(DESTDIR)$(htmldir)/'$$d -type d ! -perm -200 -exec chmod u+w '{}' ';' && \
H A DVagrantfile43 type: "rsync"
84 type: "rsync", group: "wheel"
125 type: "rsync", group: "wheel"
167 type: "virtualbox"
226 type: "rsync", group: "wheel"
275 type: "rsync", group: "wheel"
330 type: "virtualbox"
H A Devutil.c205 return socketpair(family, type, protocol, fd); in evutil_socketpair()
207 return evutil_ersatz_socketpair_(family, type, protocol, fd); in evutil_socketpair()
212 evutil_ersatz_socketpair_(int family, int type, int protocol, in evutil_ersatz_socketpair_() argument
250 listener = socket(AF_INET, type, 0); in evutil_ersatz_socketpair_()
263 connector = socket(AF_INET, type, 0); in evutil_ersatz_socketpair_()
2595 evutil_socket_(int domain, int type, int protocol) in evutil_socket_() argument
2599 r = socket(domain, type, protocol); in evutil_socket_()
2602 else if ((type & (SOCK_NONBLOCK|SOCK_CLOEXEC)) == 0) in evutil_socket_()
2606 r = socket(domain, type & SOCKET_TYPE_MASK, protocol); in evutil_socket_()
2609 if (type & EVUTIL_SOCK_NONBLOCK) { in evutil_socket_()
[all …]
/libevent-2.1.12/include/event2/
H A Devent_struct.h71 #define TAILQ_ENTRY(type) \ argument
73 struct type *tqe_next; /* next element */ \
74 struct type **tqe_prev; /* address of previous next element */ \
80 #define TAILQ_HEAD(name, type) \ argument
82 struct type *tqh_first; \
83 struct type **tqh_last; \
90 #define LIST_ENTRY(type) \ argument
92 struct type *le_next; /* next element */ \
93 struct type **le_prev; /* address of previous next element */ \
99 #define LIST_HEAD(name, type) \ argument
[all …]
H A Dkeyvalq_struct.h38 #define TAILQ_ENTRY(type) \ argument
40 struct type *tqe_next; /* next element */ \
41 struct type **tqe_prev; /* address of previous next element */ \
47 #define TAILQ_HEAD(name, type) \ argument
49 struct type *tqh_first; \
50 struct type **tqh_last; \
H A Drpc_struct.h44 #define TAILQ_ENTRY(type) \ argument
46 struct type *tqe_next; /* next element */ \
47 struct type **tqe_prev; /* address of previous next element */ \
H A Dutil.h390 int evutil_socketpair(int d, int type, int protocol, evutil_socket_t sv[2]);
574 #define evutil_offsetof(type, field) offsetof(type, field) argument
576 #define evutil_offsetof(type, field) ((off_t)(&((type *)0)->field)) argument
H A Ddns.h229 typedef void (*evdns_callback_type) (int result, char type, int count, int ttl, void *addresses, vo…
669 …eply(struct evdns_server_request *req, int section, const char *name, int type, int dns_class, int…
H A Ddns_struct.h62 int type; member
H A Dhttp_struct.h92 enum evhttp_cmd_type type; member
/libevent-2.1.12/test/
H A Dregress_ssl.c325 enum regress_openssl_type type; in respond_to_number() local
367 enum regress_openssl_type type; in eventcb() local
388 if ((type & REGRESS_OPENSSL_CLIENT_WRITE) && (type & REGRESS_OPENSSL_CLIENT)) in eventcb()
393 if (type & REGRESS_OPENSSL_FD) { in eventcb()
403 if (type & REGRESS_OPENSSL_FD) { in eventcb()
413 if (type & REGRESS_OPENSSL_FD) { in eventcb()
468 enum regress_openssl_type type; in regress_bufferevent_openssl() local
501 fd_pair, bev_ll, type); in regress_bufferevent_openssl()
521 fd_pair, bev_ll, type); in regress_bufferevent_openssl()
583 enum regress_openssl_type type; in acceptcb() local
[all …]
H A Dtinytest_macros.h113 #define tt_assert_test_fmt_type(a,b,str_test,type,test,printf_type,printf_fmt, \ argument
116 type val1_ = (type)(a); \
117 type val2_ = (type)(b); \
123 type value_ = val1_; \
143 #define tt_assert_test_type(a,b,str_test,type,test,fmt,die_on_fail) \ argument
144 tt_assert_test_fmt_type(a,b,str_test,type,test,type,fmt, \
147 #define tt_assert_test_type_opt(a,b,str_test,type,test,fmt,die_on_fail) \ argument
148 tt_assert_test_fmt_type(a,b,str_test,type,test,type,fmt, \
153 #define tt_assert_op_type(a,op,b,type,fmt) \ argument
154 tt_assert_test_type(a,b,#a" "#op" "#b,type,(val1_ op val2_),fmt, \
H A Dregress_dns.c108 switch (type) { in dns_gethostbyname_cb()
148 dns_ok = type; in dns_gethostbyname_cb()
319 switch (type) { in dns_server_gethostbyname_cb()
475 char type; member
490 res->type = type; in generic_dns_callback()
494 if (type == DNS_IPv4_A) in generic_dns_callback()
496 else if (type == DNS_IPv6_AAAA) in generic_dns_callback()
498 else if (type == DNS_PTR) in generic_dns_callback()
760 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_retry_test_impl()
789 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_retry_test_impl()
[all …]
H A Dregress_http.c1441 if (!(type & NO_NS) && (type & SERVER_TIMEOUT)) in http_cancel_test_bad_request_new()
1445 if ((type & INACTIVE_SERVER) || (type & NO_NS)) in http_cancel_test_bad_request_new()
1471 if (type & BY_HOST) { in http_cancel_test()
1480 if (type & NO_NS) in http_cancel_test()
1495 if (type & INACTIVE_SERVER) { in http_cancel_test()
1503 if (type & SERVER_TIMEOUT) in http_cancel_test()
1510 if (type & INACTIVE_SERVER) in http_cancel_test()
1517 if (type & SERVER_TIMEOUT) in http_cancel_test()
1543 if (type & NO_NS || type & INACTIVE_SERVER) in http_cancel_test()
1552 if (type & SERVER_TIMEOUT) in http_cancel_test()
[all …]
/libevent-2.1.12/compat/sys/
H A Dqueue.h88 #define SLIST_HEAD(name, type) \ argument
97 #define SLIST_ENTRY(type) \ argument
140 #define LIST_HEAD(name, type) \ argument
148 #define LIST_ENTRY(type) \ argument
150 struct type *le_next; /* next element */ \
214 #define SIMPLEQ_HEAD(name, type) \ argument
223 #define SIMPLEQ_ENTRY(type) \ argument
275 #define TAILQ_HEAD(name, type) \ argument
284 #define TAILQ_ENTRY(type) \ argument
378 #define CIRCLEQ_HEAD(name, type) \ argument
[all …]
/libevent-2.1.12/sample/
H A Ddns-example.c59 main_callback(int result, char type, int count, int ttl, in main_callback() argument
64 if (type == DNS_IPv4_A) { in main_callback()
66 } else if (type == DNS_PTR) { in main_callback()
118 if (req->questions[i]->type == EVDNS_TYPE_A && in evdns_server_callback()
125 } else if (req->questions[i]->type == EVDNS_TYPE_PTR && in evdns_server_callback()
134 req->questions[i]->type, req->questions[i]->dns_question_class); in evdns_server_callback()
H A Dhttps-client.c238 enum { HTTP, HTTPS } type = HTTP; in main() local
435 type = HTTPS; in main()
520 if (type == HTTP && ssl) in main()

12