Home
last modified time | relevance | path

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

12

/external/libevent/test/
Dregress.gen.h61 void evtag_marshal_msg(struct evbuffer *, ev_uint32_t,
63 int evtag_unmarshal_msg(struct evbuffer *, ev_uint32_t,
90 int (*how_often_assign)(struct kill *, int, const ev_uint32_t);
91 int (*how_often_get)(struct kill *, int, ev_uint32_t *);
92 ev_uint32_t * (*how_often_add)(struct kill *msg, const ev_uint32_t value);
100 ev_uint32_t *how_often_data;
116 void evtag_marshal_kill(struct evbuffer *, ev_uint32_t,
118 int evtag_unmarshal_kill(struct evbuffer *, ev_uint32_t,
124 int kill_how_often_assign(struct kill *, int, const ev_uint32_t);
125 int kill_how_often_get(struct kill *, int, ev_uint32_t *);
[all …]
Dregress.gen.c325 ev_uint32_t tag; in msg_unmarshal()
409 evtag_unmarshal_msg(struct evbuffer *evbuf, ev_uint32_t need_tag, in evtag_unmarshal_msg()
412 ev_uint32_t tag; in evtag_unmarshal_msg()
431 evtag_marshal_msg(struct evbuffer *evbuf, ev_uint32_t tag, in evtag_marshal_msg()
491 ev_uint32_t* new_data = NULL; in kill_how_often_expand_to_hold_more()
493 new_data = (ev_uint32_t*) realloc(msg->how_often_data, in kill_how_often_expand_to_hold_more()
494 tobe_allocated * sizeof(ev_uint32_t)); in kill_how_often_expand_to_hold_more()
502 ev_uint32_t *
503 kill_how_often_add(struct kill *msg, const ev_uint32_t value) in kill_how_often_add()
543 const ev_uint32_t value) in kill_how_often_assign()
[all …]
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()
187 ((ev_uint32_t)in6.s6_addr[j*4+1] << 16) | 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()
253 ((ev_uint32_t)in6.s6_addr[j*4 ] << 24) | in regress_ipv6_parse_scope()
[all …]
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()
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()
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()
/external/libevent/include/event2/
Dtag.h72 int evtag_unmarshal_header(struct evbuffer *evbuf, ev_uint32_t *ptag);
75 void evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, const void *data,
76 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,
[all …]
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)
Dbuffer.h946 struct evbuffer_cb_entry *cb, ev_uint32_t flags);
957 struct evbuffer_cb_entry *cb, ev_uint32_t flags);
Devent.h775 void event_enable_debug_logging(ev_uint32_t which);
1431 ev_uint32_t event_get_version_number(void);
/external/libevent/
Devent_tagging.c97 int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf);
101 int evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t tag);
103 int evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf);
145 encode_int_internal(ev_uint8_t *data, ev_uint32_t number) in encode_int_internal()
157 evtag_encode_int(struct evbuffer *evbuf, ev_uint32_t number) in evtag_encode_int()
178 evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t tag) in evtag_encode_tag()
201 decode_tag_internal(ev_uint32_t *ptag, struct evbuffer *evbuf, int dodrain) in decode_tag_internal()
203 ev_uint32_t number = 0; in decode_tag_internal()
249 evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf) in evtag_decode_tag()
261 evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, in evtag_marshal()
[all …]
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,
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
Devutil.c615 static inline int evutil_v4addr_is_localhost(ev_uint32_t addr) in evutil_v4addr_is_localhost()
620 static inline int evutil_v4addr_is_linklocal(ev_uint32_t addr) in evutil_v4addr_is_linklocal()
625 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] =
2322 static const ev_uint32_t EVUTIL_ISSPACE_TABLE[8] = { 0x3e00, 0x1, 0, 0, 0, 0, 0, 0 };
2323 static const ev_uint32_t EVUTIL_ISXDIGIT_TABLE[8] =
2325 static const ev_uint32_t EVUTIL_ISDIGIT_TABLE[8] = { 0, 0x3ff0000, 0, 0, 0, 0, 0, 0 };
[all …]
Devbuffer-internal.h75 ev_uint32_t flags;
135 ev_uint32_t flags;
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()
Dutil-internal.h316 ev_uint32_t seed;
331 ev_uint32_t evutil_weakrand_seed_(struct evutil_weakrand_state *state, ev_uint32_t seed);
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()
Dlog-internal.h51 EVENT2_CORE_EXPORT_SYMBOL extern ev_uint32_t event_debug_logging_mask_;
Diocp-internal.h188 ev_uintptr_t key, ev_uint32_t n_bytes);
Devent_iocp.c278 ev_uintptr_t key, ev_uint32_t n) in event_iocp_activate_overlapped_()
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()
Dbufferevent_openssl.c312 ev_uint32_t errors[NUM_ERRORS];
376 bev_ssl->errors[bev_ssl->n_errors++] = (ev_uint32_t) err; in put_error()
Devent.c1578 ev_uint32_t usec_mask = 0; in event_persist_closure()
3461 ev_uint32_t
/external/libevent/sample/
Ddns-example.c42 #define u32 ev_uint32_t

12