/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress.gen.h | 61 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 …]
|
H A D | regress.gen.c | 325 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 …]
|
H A D | regress_util.c | 74 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 …]
|
/freebsd/contrib/libevent/test/ |
H A D | regress.gen.h | 61 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 …]
|
H A D | regress.gen.c | 325 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 …]
|
H A D | regress_util.c | 74 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 …]
|
/freebsd/contrib/ntp/sntp/libevent/include/event2/ |
H A D | tag.h | 72 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 …]
|
H A D | util.h | 133 #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)
|
/freebsd/contrib/libevent/include/event2/ |
H A D | tag.h | 72 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 …]
|
H A D | util.h | 133 #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)
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | event_tagging.c | 97 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 …]
|
H A D | ratelim-internal.h | 44 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 D | evutil_rand.c | 99 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 D | evutil.c | 615 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 …]
|
H A D | evbuffer-internal.h | 75 ev_uint32_t flags; 135 ev_uint32_t flags;
|
H A D | log.c | 72 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 D | util-internal.h | 316 ev_uint32_t seed; 331 ev_uint32_t evutil_weakrand_seed_(struct evutil_weakrand_state *state, ev_uint32_t seed);
|
H A D | bufferevent_ratelim.c | 52 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()
|
/freebsd/contrib/libevent/ |
H A D | event_tagging.c | 97 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 …]
|
H A D | ratelim-internal.h | 44 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 D | evutil_rand.c | 99 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 D | evutil.c | 615 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 …]
|
H A D | evbuffer-internal.h | 75 ev_uint32_t flags; 135 ev_uint32_t flags;
|
H A D | log.c | 72 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 D | util-internal.h | 316 ev_uint32_t seed; 331 ev_uint32_t evutil_weakrand_seed_(struct evutil_weakrand_state *state, ev_uint32_t seed);
|