Home
last modified time | relevance | path

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

/libevent-2.1.12/include/event2/
H A Dtag.h76 ev_uint32_t len);
78 void evtag_marshal_buffer(struct evbuffer *evbuf, ev_uint32_t tag,
92 void evtag_encode_int(struct evbuffer *evbuf, ev_uint32_t number);
97 void evtag_marshal_int(struct evbuffer *evbuf, ev_uint32_t tag,
98 ev_uint32_t integer);
100 void evtag_marshal_int64(struct evbuffer *evbuf, ev_uint32_t tag,
104 void evtag_marshal_string(struct evbuffer *buf, ev_uint32_t tag,
108 void evtag_marshal_timeval(struct evbuffer *evbuf, ev_uint32_t tag,
112 int evtag_unmarshal(struct evbuffer *src, ev_uint32_t *ptag,
115 int evtag_peek(struct evbuffer *evbuf, ev_uint32_t *ptag);
[all …]
H A Dutil.h133 #define ev_uint32_t uint32_t macro
136 #define ev_uint32_t unsigned int
139 #define ev_uint32_t unsigned long
142 #define ev_uint32_t unsigned int
145 #define ev_uint32_t ...
185 #define ev_uintptr_t ev_uint32_t
242 #define EV_UINT32_MAX ((ev_uint32_t)0xffffffffUL)
H A Dbuffer.h946 struct evbuffer_cb_entry *cb, ev_uint32_t flags);
957 struct evbuffer_cb_entry *cb, ev_uint32_t flags);
H A Devent.h775 void event_enable_debug_logging(ev_uint32_t which);
1431 ev_uint32_t event_get_version_number(void);
/libevent-2.1.12/
H A Devent_tagging.c203 ev_uint32_t number = 0; in decode_tag_internal()
368 ev_uint32_t number = 0; in decode_int_internal()
444 ev_uint32_t len; in evtag_unmarshal_header()
492 ev_uint32_t tag; in evtag_unmarshal_int()
493 ev_uint32_t len; in evtag_unmarshal_int()
518 ev_uint32_t tag; in evtag_unmarshal_int64()
519 ev_uint32_t len; in evtag_unmarshal_int64()
546 ev_uint32_t tag; in evtag_unmarshal_fixed()
565 ev_uint32_t tag; in evtag_unmarshal_string()
587 ev_uint32_t tag; in evtag_unmarshal_timeval()
[all …]
H A Dratelim-internal.h44 ev_uint32_t last_updated;
70 ev_uint32_t current_tick);
74 ev_uint32_t ev_token_bucket_get_tick_(const struct timeval *tv,
84 ev_uint32_t current_tick,
H A Devutil_rand.c99 ev_uint32_t u = arc4random(); in ev_arc4random_buf()
106 *(ev_uint32_t*)b = arc4random(); in ev_arc4random_buf()
111 ev_uint32_t u = arc4random(); in ev_arc4random_buf()
129 #define ARC4RANDOM_UINT32 ev_uint32_t
H A Devutil.c625 static inline int evutil_v4addr_is_classd(ev_uint32_t addr) in evutil_v4addr_is_classd()
631 const ev_uint32_t addr = ntohl(in->s_addr); in evutil_v4addr_is_local_()
1903 const ev_uint32_t a = ntohl(in->s_addr); in evutil_inet_ntop()
2318 static const ev_uint32_t EVUTIL_ISALPHA_TABLE[8] =
2320 static const ev_uint32_t EVUTIL_ISALNUM_TABLE[8] =
2323 static const ev_uint32_t EVUTIL_ISXDIGIT_TABLE[8] =
2326 static const ev_uint32_t EVUTIL_ISPRINT_TABLE[8] =
2471 ev_uint32_t
2477 seed = (ev_uint32_t)tv.tv_sec + (ev_uint32_t)tv.tv_usec; in evutil_weakrand_seed_()
2479 seed += (ev_uint32_t) _getpid(); in evutil_weakrand_seed_()
[all …]
H A Devbuffer-internal.h75 ev_uint32_t flags;
135 ev_uint32_t flags;
H A Dlog.c72 EVENT2_EXPORT_SYMBOL ev_uint32_t event_debug_logging_mask_ = DEFAULT_MASK;
76 event_enable_debug_logging(ev_uint32_t which) in event_enable_debug_logging()
H A Dutil-internal.h316 ev_uint32_t seed;
331 ev_uint32_t evutil_weakrand_seed_(struct evutil_weakrand_state *state, ev_uint32_t seed);
H A Dbufferevent_ratelim.c52 ev_uint32_t current_tick, in ev_token_bucket_init_()
76 ev_uint32_t current_tick) in ev_token_bucket_update_()
126 ev_uint32_t
567 ev_uint32_t tick; in bufferevent_set_rate_limit()
643 ev_uint32_t tick; in bufferevent_rate_limit_group_new()
666 (ev_uint32_t) ((now.tv_sec + now.tv_usec) + (ev_intptr_t)g)); in bufferevent_rate_limit_group_new()
H A Dlog-internal.h51 EVENT2_CORE_EXPORT_SYMBOL extern ev_uint32_t event_debug_logging_mask_;
H A Diocp-internal.h188 ev_uintptr_t key, ev_uint32_t n_bytes);
H A Devent_iocp.c278 ev_uintptr_t key, ev_uint32_t n) in event_iocp_activate_overlapped_()
H A Dbuffer.c381 buf->flags |= (ev_uint32_t)flags; in evbuffer_set_flags()
390 buf->flags &= ~(ev_uint32_t)flags; in evbuffer_clear_flags()
461 ev_uint32_t mask, masked_val; in evbuffer_run_callbacks()
3378 struct evbuffer_cb_entry *cb, ev_uint32_t flags) in evbuffer_cb_set_flags()
3390 struct evbuffer_cb_entry *cb, ev_uint32_t flags) in evbuffer_cb_clear_flags()
H A Dbufferevent_openssl.c312 ev_uint32_t errors[NUM_ERRORS];
376 bev_ssl->errors[bev_ssl->n_errors++] = (ev_uint32_t) err; in put_error()
H A Devent.c1578 ev_uint32_t usec_mask = 0; in event_persist_closure()
3461 ev_uint32_t
H A Devdns.c136 #define u32 ev_uint32_t
4300 ev_uint32_t type;
H A DChangeLog-2.0925 o Replace some cases of uint32_t with ev_uint32_t. (a47d88d)
/libevent-2.1.12/test/
H A Dregress_util.c74 ev_uint32_t res;
88 ev_uint32_t res[4];
185 ev_uint32_t u = in regress_ipv6_parse()
186 ((ev_uint32_t)in6.s6_addr[j*4 ] << 24) | in regress_ipv6_parse()
188 ((ev_uint32_t)in6.s6_addr[j*4+2] << 8) | in regress_ipv6_parse()
189 ((ev_uint32_t)in6.s6_addr[j*4+3]); in regress_ipv6_parse()
216 ev_uint32_t res[4];
252 ev_uint32_t u = in regress_ipv6_parse_scope()
255 ((ev_uint32_t)in6.s6_addr[j*4+2] << 8) | in regress_ipv6_parse_scope()
256 ((ev_uint32_t)in6.s6_addr[j*4+3]); in regress_ipv6_parse_scope()
[all …]
H A Dregress_rpc.c741 ev_uint32_t tag; in rpc_test()
828 ev_uint32_t short_number; in rpc_test()
863 ev_uint32_t res; in rpc_test()
H A Dregress_dns.c582 tt_int_op(((ev_uint32_t*)r[0].addrs)[0], ==, htonl(0x0b16212c)); in dns_search_test_impl()
585 tt_int_op(((ev_uint32_t*)r[1].addrs)[0], ==, htonl(0xc8640064)); in dns_search_test_impl()
762 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
791 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
865 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0xf00ff00f)); in dns_reissue_test_impl()
940 tt_int_op(((ev_uint32_t*)r[i].addrs)[0], ==, htonl(0xf00ff00f)); in dns_inflight_test_impl()
1830 ev_uint32_t answer = 0x7f000001; in gaic_server_cb()
H A Dregress.c2371 int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf);
2373 int evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t number);
2374 int evtag_decode_tag(ev_uint32_t *pnumber, struct evbuffer *evbuf);
2431 ev_uint32_t integers[TEST_MAX_INT] = { in evtag_int_test()
2434 ev_uint32_t integer; in evtag_int_test()
2509 ev_uint32_t integers[TEST_MAX_INT] = { in evtag_tag_encoding()
2512 ev_uint32_t integer; in evtag_tag_encoding()
2541 ev_uint32_t u32; in evtag_test_peek()
2607 ev_uint32_t vint; in test_version()
/libevent-2.1.12/sample/
H A Ddns-example.c42 #define u32 ev_uint32_t