Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 4 of 4) sorted by relevance

/libevent-2.1.12/sample/
H A Ddns-example.c42 #define u32 ev_uint32_t macro
46 debug_ntoa(u32 address) in debug_ntoa()
49 u32 a = ntohl(address); in debug_ntoa()
65 printf("%s: %s\n", n, debug_ntoa(((u32*)addrs)[i])); in main_callback()
117 u32 ans = htonl(0xc0a80b0bUL); in evdns_server_callback()
/libevent-2.1.12/test/
H A Dregress_util.c755 ev_uint32_t u32; in test_evutil_integers() local
769 tt_int_op(sizeof(u32), ==, 4); in test_evutil_integers()
797 u32 = EV_UINT32_MAX; in test_evutil_integers()
799 tt_assert(u32 > 0); in test_evutil_integers()
801 u32++; in test_evutil_integers()
803 tt_assert(u32 == 0); in test_evutil_integers()
H A Dregress.c2541 ev_uint32_t u32; in evtag_test_peek() local
2546 tt_int_op(evtag_peek(tmp, &u32), ==, 1); in evtag_test_peek()
2547 tt_int_op(u32, ==, 30); in evtag_test_peek()
2548 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0); in evtag_test_peek()
2549 tt_int_op(u32, ==, 1+1+1); in evtag_test_peek()
2552 tt_int_op(evtag_peek(tmp, &u32), ==, 1); in evtag_test_peek()
2553 tt_int_op(u32, ==, 40); in evtag_test_peek()
2554 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0); in evtag_test_peek()
2555 tt_int_op(u32, ==, 1+1+11); in evtag_test_peek()
2556 tt_int_op(evtag_payload_length(tmp, &u32), ==, 0); in evtag_test_peek()
[all …]
/libevent-2.1.12/
H A Devdns.c136 #define u32 ev_uint32_t macro
205 u32 addrcount;
206 u32 addresses[MAX_V4_ADDRS];
209 u32 addrcount;
268 u32 ttl; /* The RR TTL */
782 u32 ttl;
783 u32 err;
1043 u32 ttl, ttl_r = 0xffffffff; in reply_parse()
1868 u32 a; in evdns_server_request_add_ptr_reply()
1913 u32 t32_; in evdns_server_request_format_response()
[all …]