/netbsd-src/external/bsd/libevent/dist/test/ |
H A D | regress.gen.h | 62 void evtag_marshal_msg(struct evbuffer *, ev_uint32_t, 64 int evtag_unmarshal_msg(struct evbuffer *, ev_uint32_t, 91 int (*how_often_assign)(struct kill *, int, const ev_uint32_t); 92 int (*how_often_get)(struct kill *, int, ev_uint32_t *); 93 ev_uint32_t * (*how_often_add)(struct kill *msg, const ev_uint32_t value); 101 ev_uint32_t *how_often_data; 117 void evtag_marshal_kill(struct evbuffer *, ev_uint32_t, 119 int evtag_unmarshal_kill(struct evbuffer *, ev_uint32_t, 125 int kill_how_often_assign(struct kill *, int, const ev_uint32_t); 126 int kill_how_often_get(struct kill *, int, ev_uint32_t *); [all …]
|
H A D | regress.gen.c | 326 ev_uint32_t tag; in msg_unmarshal() 410 evtag_unmarshal_msg(struct evbuffer *evbuf, ev_uint32_t need_tag, in evtag_unmarshal_msg() 413 ev_uint32_t tag; in evtag_unmarshal_msg() 432 evtag_marshal_msg(struct evbuffer *evbuf, ev_uint32_t tag, in evtag_marshal_msg() 492 ev_uint32_t* new_data = NULL; in kill_how_often_expand_to_hold_more() 494 new_data = (ev_uint32_t*) realloc(msg->how_often_data, in kill_how_often_expand_to_hold_more() 495 tobe_allocated * sizeof(ev_uint32_t)); in kill_how_often_expand_to_hold_more() 503 ev_uint32_t * 504 kill_how_often_add(struct kill *msg, const ev_uint32_t value) in kill_how_often_add() 544 const ev_uint32_t value) in kill_how_often_assign() [all …]
|
H A D | regress_util.c | 79 ev_uint32_t res; 93 ev_uint32_t res[4]; 190 ev_uint32_t u = in regress_ipv6_parse() 191 ((ev_uint32_t)in6.s6_addr[j*4 ] << 24) | in regress_ipv6_parse() 192 ((ev_uint32_t)in6.s6_addr[j*4+1] << 16) | in regress_ipv6_parse() 193 ((ev_uint32_t)in6.s6_addr[j*4+2] << 8) | in regress_ipv6_parse() 194 ((ev_uint32_t)in6.s6_addr[j*4+3]); in regress_ipv6_parse() 221 ev_uint32_t res[4]; 257 ev_uint32_t u = in regress_ipv6_parse_scope() 258 ((ev_uint32_t)in6.s6_addr[j*4 ] << 24) | in regress_ipv6_parse_scope() [all …]
|
H A D | regress_rpc.c | 745 ev_uint32_t tag; in rpc_test() 832 ev_uint32_t short_number; in rpc_test() 867 ev_uint32_t res; in rpc_test()
|
H A D | regress_dns.c | 586 tt_int_op(((ev_uint32_t*)r[0].addrs)[0], ==, htonl(0x0b16212c)); in dns_search_test_impl() 589 tt_int_op(((ev_uint32_t*)r[1].addrs)[0], ==, htonl(0xc8640064)); in dns_search_test_impl() 766 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl() 795 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl() 869 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0xf00ff00f)); in dns_reissue_test_impl() 944 tt_int_op(((ev_uint32_t*)r[i].addrs)[0], ==, htonl(0xf00ff00f)); in dns_inflight_test_impl() 1834 ev_uint32_t answer = 0x7f000001; in gaic_server_cb()
|
H A D | regress.c | 2375 int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf); 2377 int evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t number); 2378 int evtag_decode_tag(ev_uint32_t *pnumber, struct evbuffer *evbuf); 2435 ev_uint32_t integers[TEST_MAX_INT] = { in evtag_int_test() 2438 ev_uint32_t integer; in evtag_int_test() 2513 ev_uint32_t integers[TEST_MAX_INT] = { in evtag_tag_encoding() 2516 ev_uint32_t integer; in evtag_tag_encoding() 2545 ev_uint32_t u32; in evtag_test_peek() 2611 ev_uint32_t vint; in test_version()
|
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/include/event2/ |
H A D | tag.h | 74 int evtag_unmarshal_header(struct evbuffer *evbuf, ev_uint32_t *ptag); 77 void evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, const void *data, 78 ev_uint32_t len); 80 void evtag_marshal_buffer(struct evbuffer *evbuf, ev_uint32_t tag, 94 void evtag_encode_int(struct evbuffer *evbuf, ev_uint32_t number); 99 void evtag_marshal_int(struct evbuffer *evbuf, ev_uint32_t tag, 100 ev_uint32_t integer); 102 void evtag_marshal_int64(struct evbuffer *evbuf, ev_uint32_t tag, 106 void evtag_marshal_string(struct evbuffer *buf, ev_uint32_t tag, 110 void evtag_marshal_timeval(struct evbuffer *evbuf, ev_uint32_t tag, [all …]
|
/netbsd-src/external/bsd/libevent/dist/include/event2/ |
H A D | tag.h | 73 int evtag_unmarshal_header(struct evbuffer *evbuf, ev_uint32_t *ptag); 76 void evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, const void *data, 77 ev_uint32_t len); 79 void evtag_marshal_buffer(struct evbuffer *evbuf, ev_uint32_t tag, 93 void evtag_encode_int(struct evbuffer *evbuf, ev_uint32_t number); 98 void evtag_marshal_int(struct evbuffer *evbuf, ev_uint32_t tag, 99 ev_uint32_t integer); 101 void evtag_marshal_int64(struct evbuffer *evbuf, ev_uint32_t tag, 105 void evtag_marshal_string(struct evbuffer *buf, ev_uint32_t tag, 109 void evtag_marshal_timeval(struct evbuffer *evbuf, ev_uint32_t tag, [all …]
|
H A D | util.h | 135 #define ev_uint32_t uint32_t macro 138 #define ev_uint32_t unsigned int 141 #define ev_uint32_t unsigned long 144 #define ev_uint32_t unsigned int 147 #define ev_uint32_t ... 187 #define ev_uintptr_t ev_uint32_t 244 #define EV_UINT32_MAX ((ev_uint32_t)0xffffffffUL)
|
H A D | buffer.h | 947 struct evbuffer_cb_entry *cb, ev_uint32_t flags); 958 struct evbuffer_cb_entry *cb, ev_uint32_t flags);
|
H A D | event.h | 776 void event_enable_debug_logging(ev_uint32_t which); 1432 ev_uint32_t event_get_version_number(void);
|
/netbsd-src/external/bsd/libevent/dist/ |
H A D | event_tagging.c | 101 int evtag_decode_int(ev_uint32_t *pnumber, struct evbuffer *evbuf); 105 int evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t tag); 107 int evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf); 149 encode_int_internal(ev_uint8_t *data, ev_uint32_t number) in encode_int_internal() 161 evtag_encode_int(struct evbuffer *evbuf, ev_uint32_t number) in evtag_encode_int() 182 evtag_encode_tag(struct evbuffer *evbuf, ev_uint32_t tag) in evtag_encode_tag() 205 decode_tag_internal(ev_uint32_t *ptag, struct evbuffer *evbuf, int dodrain) in decode_tag_internal() 207 ev_uint32_t number = 0; in decode_tag_internal() 253 evtag_decode_tag(ev_uint32_t *ptag, struct evbuffer *evbuf) in evtag_decode_tag() 265 evtag_marshal(struct evbuffer *evbuf, ev_uint32_t tag, in evtag_marshal() [all …]
|
H A D | ratelim-internal.h | 45 ev_uint32_t last_updated; 71 ev_uint32_t current_tick); 75 ev_uint32_t ev_token_bucket_get_tick_(const struct timeval *tv, 85 ev_uint32_t current_tick,
|
H A D | evutil_rand.c | 105 ev_uint32_t u = arc4random(); in ev_arc4random_buf() 112 *(ev_uint32_t*)b = arc4random(); in ev_arc4random_buf() 117 ev_uint32_t u = arc4random(); in ev_arc4random_buf() 135 #define ARC4RANDOM_UINT32 ev_uint32_t
|
H A D | evutil.c | 619 static inline int evutil_v4addr_is_localhost(ev_uint32_t addr) in evutil_v4addr_is_localhost() 624 static inline int evutil_v4addr_is_linklocal(ev_uint32_t addr) in evutil_v4addr_is_linklocal() 629 static inline int evutil_v4addr_is_classd(ev_uint32_t addr) in evutil_v4addr_is_classd() 635 const ev_uint32_t addr = ntohl(in->s_addr); in evutil_v4addr_is_local_() 1907 const ev_uint32_t a = ntohl(in->s_addr); in evutil_inet_ntop() 2322 static const ev_uint32_t EVUTIL_ISALPHA_TABLE[8] = 2324 static const ev_uint32_t EVUTIL_ISALNUM_TABLE[8] = 2326 static const ev_uint32_t EVUTIL_ISSPACE_TABLE[8] = { 0x3e00, 0x1, 0, 0, 0, 0, 0, 0 }; 2327 static const ev_uint32_t EVUTIL_ISXDIGIT_TABLE[8] = 2329 static const ev_uint32_t EVUTIL_ISDIGIT_TABLE[8] = { 0, 0x3ff0000, 0, 0, 0, 0, 0, 0 }; [all …]
|
H A D | evbuffer-internal.h | 77 ev_uint32_t flags; 137 ev_uint32_t flags;
|
H A D | log.c | 75 EVENT2_EXPORT_SYMBOL ev_uint32_t event_debug_logging_mask_ = DEFAULT_MASK; 79 event_enable_debug_logging(ev_uint32_t which) in event_enable_debug_logging()
|
H A D | util-internal.h | 318 ev_uint32_t seed; 333 ev_uint32_t evutil_weakrand_seed_(struct evutil_weakrand_state *state, ev_uint32_t seed);
|
H A D | bufferevent_ratelim.c | 54 ev_uint32_t current_tick, in ev_token_bucket_init_() 78 ev_uint32_t current_tick) in ev_token_bucket_update_() 128 ev_uint32_t 569 ev_uint32_t tick; in bufferevent_set_rate_limit() 645 ev_uint32_t tick; in bufferevent_rate_limit_group_new() 668 (ev_uint32_t) ((now.tv_sec + now.tv_usec) + (ev_intptr_t)g)); in bufferevent_rate_limit_group_new()
|
H A D | log-internal.h | 53 EVENT2_CORE_EXPORT_SYMBOL extern ev_uint32_t event_debug_logging_mask_;
|
H A D | iocp-internal.h | 189 ev_uintptr_t key, ev_uint32_t n_bytes);
|
H A D | event_iocp.c | 279 ev_uintptr_t key, ev_uint32_t n) in event_iocp_activate_overlapped_()
|
H A D | buffer.c | 385 buf->flags |= (ev_uint32_t)flags; in evbuffer_set_flags() 394 buf->flags &= ~(ev_uint32_t)flags; in evbuffer_clear_flags() 465 ev_uint32_t mask, masked_val; in evbuffer_run_callbacks() 3382 struct evbuffer_cb_entry *cb, ev_uint32_t flags) in evbuffer_cb_set_flags() 3394 struct evbuffer_cb_entry *cb, ev_uint32_t flags) in evbuffer_cb_clear_flags()
|
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/ |
H A D | ratelim-internal.h | 46 ev_uint32_t last_updated; 72 ev_uint32_t current_tick); 76 ev_uint32_t ev_token_bucket_get_tick_(const struct timeval *tv, 86 ev_uint32_t current_tick,
|
/netbsd-src/external/bsd/libevent/dist/sample/ |
H A D | dns-example.c | 43 #define u32 ev_uint32_t
|