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.h60 void evtag_marshal_msg(struct evbuffer *, ev_uint32_t,
62 int evtag_unmarshal_msg(struct evbuffer *, ev_uint32_t,
89 int (*how_often_assign)(struct kill *, int, const ev_uint32_t);
90 int (*how_often_get)(struct kill *, int, ev_uint32_t *);
91 ev_uint32_t * (*how_often_add)(struct kill *msg, const ev_uint32_t value);
99 ev_uint32_t *how_often_data;
115 void evtag_marshal_kill(struct evbuffer *, ev_uint32_t,
117 int evtag_unmarshal_kill(struct evbuffer *, ev_uint32_t,
123 int kill_how_often_assign(struct kill *, int, const ev_uint32_t);
124 int kill_how_often_get(struct kill *, int, ev_uint32_t *);
[all …]
Dregress.gen.c317 ev_uint32_t tag; in msg_unmarshal()
407 evtag_unmarshal_msg(struct evbuffer *evbuf, ev_uint32_t need_tag, struct msg *msg) in evtag_unmarshal_msg()
409 ev_uint32_t tag; in evtag_unmarshal_msg()
428 evtag_marshal_msg(struct evbuffer *evbuf, ev_uint32_t tag, const struct msg *msg) in evtag_marshal_msg()
487 ev_uint32_t* new_data = NULL; in kill_how_often_expand_to_hold_more()
489 new_data = (ev_uint32_t*) realloc(msg->how_often_data, in kill_how_often_expand_to_hold_more()
490 tobe_allocated * sizeof(ev_uint32_t)); in kill_how_often_expand_to_hold_more()
497 ev_uint32_t *
498 kill_how_often_add(struct kill *msg, const ev_uint32_t value) in kill_how_often_add()
538 const ev_uint32_t value) in kill_how_often_assign()
[all …]
Dregress_util.c70 ev_uint32_t res;
84 ev_uint32_t res[4];
181 ev_uint32_t u = in regress_ipv6_parse()
182 ((ev_uint32_t)in6.s6_addr[j*4 ] << 24) | in regress_ipv6_parse()
183 ((ev_uint32_t)in6.s6_addr[j*4+1] << 16) | in regress_ipv6_parse()
184 ((ev_uint32_t)in6.s6_addr[j*4+2] << 8) | in regress_ipv6_parse()
185 ((ev_uint32_t)in6.s6_addr[j*4+3]); in regress_ipv6_parse()
692 ev_uint32_t u32; in test_evutil_integers()
Dregress_rpc.c742 ev_uint32_t tag; in rpc_test()
829 ev_uint32_t short_number; in rpc_test()
864 ev_uint32_t res; in rpc_test()
Dregress_dns.c575 tt_int_op(((ev_uint32_t*)r[0].addrs)[0], ==, htonl(0x0b16212c)); in dns_search_test_impl()
578 tt_int_op(((ev_uint32_t*)r[1].addrs)[0], ==, htonl(0xc8640064)); in dns_search_test_impl()
763 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
792 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
866 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0xf00ff00f)); in dns_reissue_test_impl()
941 tt_int_op(((ev_uint32_t*)r[i].addrs)[0], ==, htonl(0xf00ff00f)); in dns_inflight_test_impl()
1752 ev_uint32_t answer = 0x7f000001; in gaic_server_cb()
Dregress.c2300 int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf);
2302 int evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t number);
2303 int evtag_decode_tag(ev_uint32_t *pnumber, struct evbuffer *evbuf);
2360 ev_uint32_t integers[TEST_MAX_INT] = { in evtag_int_test()
2363 ev_uint32_t integer; in evtag_int_test()
2438 ev_uint32_t integers[TEST_MAX_INT] = { in evtag_tag_encoding()
2441 ev_uint32_t integer; in evtag_tag_encoding()
2470 ev_uint32_t u32; in evtag_test_peek()
2536 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.h136 #define ev_uint32_t uint32_t macro
139 #define ev_uint32_t unsigned int
142 #define ev_uint32_t unsigned long
145 #define ev_uint32_t unsigned int
148 #define ev_uint32_t ...
188 #define ev_uintptr_t ev_uint32_t
245 #define EV_UINT32_MAX ((ev_uint32_t)0xffffffffUL)
Dbuffer.h945 struct evbuffer_cb_entry *cb, ev_uint32_t flags);
956 struct evbuffer_cb_entry *cb, ev_uint32_t flags);
Devent.h778 void event_enable_debug_logging(ev_uint32_t which);
1434 ev_uint32_t event_get_version_number(void);
/external/libevent/
Devent_tagging.c96 int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf);
98 int evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t tag);
99 int evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf);
141 encode_int_internal(ev_uint8_t *data, ev_uint32_t number) in encode_int_internal()
153 evtag_encode_int(struct evbuffer *evbuf, ev_uint32_t number) in evtag_encode_int()
174 evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t tag) in evtag_encode_tag()
197 decode_tag_internal(ev_uint32_t *ptag, struct evbuffer *evbuf, int dodrain) in decode_tag_internal()
199 ev_uint32_t number = 0; in decode_tag_internal()
245 evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf) in evtag_decode_tag()
257 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
Dlog.c73 ev_uint32_t event_debug_logging_mask_ = DEFAULT_MASK;
75 static ev_uint32_t event_debug_logging_mask_ = DEFAULT_MASK;
76 ev_uint32_t
85 event_enable_debug_logging(ev_uint32_t which) in event_enable_debug_logging()
Dlog-internal.h50 extern ev_uint32_t event_debug_logging_mask_;
53 ev_uint32_t event_debug_get_logging_mask_(void);
Devutil.c615 ev_uint32_t addr = ntohl(sin->sin_addr.s_addr); in evutil_found_ifaddr()
1870 const ev_uint32_t a = ntohl(in->s_addr); in evutil_inet_ntop()
2246 static const ev_uint32_t EVUTIL_ISALPHA_TABLE[8] =
2248 static const ev_uint32_t EVUTIL_ISALNUM_TABLE[8] =
2250 static const ev_uint32_t EVUTIL_ISSPACE_TABLE[8] = { 0x3e00, 0x1, 0, 0, 0, 0, 0, 0 };
2251 static const ev_uint32_t EVUTIL_ISXDIGIT_TABLE[8] =
2253 static const ev_uint32_t EVUTIL_ISDIGIT_TABLE[8] = { 0, 0x3ff0000, 0, 0, 0, 0, 0, 0 };
2254 static const ev_uint32_t EVUTIL_ISPRINT_TABLE[8] =
2256 static const ev_uint32_t EVUTIL_ISUPPER_TABLE[8] = { 0, 0, 0x7fffffe, 0, 0, 0, 0, 0 };
2257 static const ev_uint32_t EVUTIL_ISLOWER_TABLE[8] = { 0, 0, 0, 0x7fffffe, 0, 0, 0, 0 };
[all …]
Devbuffer-internal.h75 ev_uint32_t flags;
135 ev_uint32_t flags;
Dutil-internal.h278 ev_uint32_t seed;
292 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
568 ev_uint32_t tick; in bufferevent_set_rate_limit()
644 ev_uint32_t tick; in bufferevent_rate_limit_group_new()
667 (ev_uint32_t) ((now.tv_sec + now.tv_usec) + (ev_intptr_t)g)); in bufferevent_rate_limit_group_new()
Diocp-internal.h177 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.c380 buf->flags |= (ev_uint32_t)flags; in evbuffer_set_flags()
389 buf->flags &= ~(ev_uint32_t)flags; in evbuffer_clear_flags()
460 ev_uint32_t mask, masked_val; in evbuffer_run_callbacks()
3358 struct evbuffer_cb_entry *cb, ev_uint32_t flags) in evbuffer_cb_set_flags()
3370 struct evbuffer_cb_entry *cb, ev_uint32_t flags) in evbuffer_cb_clear_flags()
Dbufferevent_openssl.c311 ev_uint32_t errors[NUM_ERRORS];
375 bev_ssl->errors[bev_ssl->n_errors++] = (ev_uint32_t) err; in put_error()
Devent.c1535 ev_uint32_t usec_mask = 0; in event_persist_closure()
3410 ev_uint32_t
/external/libevent/sample/
Ddns-example.c42 #define u32 ev_uint32_t

12