Lines Matching refs:tt_int_op
157 tt_int_op(dns_ok, ==, DNS_IPv4_A); in dns_gethostbyname()
174 tt_int_op(dns_ok, ==, DNS_IPv6_AAAA); in dns_gethostbyname6()
189 tt_int_op(dns_ok, ==, DNS_PTR); in dns_gethostbyaddr()
214 tt_int_op(dns_ok, ==, DNS_PTR); in dns_resolve_reverse()
410 tt_int_op(evdns_base_count_nameservers(base), ==, 1); in dns_server()
418 tt_int_op(slen2, ==, slen); in dns_server()
419 tt_int_op(ss2.ss_family, ==, 0); in dns_server()
421 tt_int_op(slen2, ==, slen); in dns_server()
425 tt_int_op(-1, ==, slen2); in dns_server()
573 tt_int_op(r[0].type, ==, DNS_IPv4_A); in dns_search_test_impl()
574 tt_int_op(r[0].count, ==, 1); in dns_search_test_impl()
575 tt_int_op(((ev_uint32_t*)r[0].addrs)[0], ==, htonl(0x0b16212c)); in dns_search_test_impl()
576 tt_int_op(r[1].type, ==, DNS_IPv4_A); in dns_search_test_impl()
577 tt_int_op(r[1].count, ==, 1); in dns_search_test_impl()
578 tt_int_op(((ev_uint32_t*)r[1].addrs)[0], ==, htonl(0xc8640064)); in dns_search_test_impl()
579 tt_int_op(r[2].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
580 tt_int_op(r[3].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
581 tt_int_op(r[4].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
582 tt_int_op(r[5].result, ==, DNS_ERR_NODATA); in dns_search_test_impl()
583 tt_int_op(r[5].ttl, ==, 42); in dns_search_test_impl()
584 tt_int_op(r[6].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
585 tt_int_op(r[6].ttl, ==, 42); in dns_search_test_impl()
586 tt_int_op(r[7].result, ==, DNS_ERR_NODATA); in dns_search_test_impl()
587 tt_int_op(r[7].ttl, ==, 0); in dns_search_test_impl()
684 tt_int_op(r1.result, ==, DNS_ERR_CANCEL); in dns_search_cancel_test()
759 tt_int_op(drop_count, ==, 0); in dns_retry_test_impl()
761 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_retry_test_impl()
762 tt_int_op(r1.count, ==, 1); in dns_retry_test_impl()
763 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
781 tt_int_op(r1.result, ==, DNS_ERR_TIMEOUT); in dns_retry_test_impl()
784 tt_int_op(drop_count, ==, 0); in dns_retry_test_impl()
789 tt_int_op(r1.result, ==, DNS_ERR_NONE); in dns_retry_test_impl()
790 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_retry_test_impl()
791 tt_int_op(r1.count, ==, 1); in dns_retry_test_impl()
792 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
863 tt_int_op(r1.result, ==, DNS_ERR_NONE); in dns_reissue_test_impl()
864 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_reissue_test_impl()
865 tt_int_op(r1.count, ==, 1); in dns_reissue_test_impl()
866 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0xf00ff00f)); in dns_reissue_test_impl()
869 tt_int_op(internal_error_table[0].seen, >, 0); in dns_reissue_test_impl()
939 tt_int_op(r[i].type, ==, DNS_IPv4_A); in dns_inflight_test_impl()
940 tt_int_op(r[i].count, ==, 1); in dns_inflight_test_impl()
941 tt_int_op(((ev_uint32_t*)r[i].addrs)[0], ==, htonl(0xf00ff00f)); in dns_inflight_test_impl()
994 tt_int_op(n_replies_left, ==, 0); in dns_disable_when_inactive_no_ns_test()
996 tt_int_op(r.result, ==, DNS_ERR_TIMEOUT); in dns_disable_when_inactive_no_ns_test()
997 tt_int_op(r.count, ==, 0); in dns_disable_when_inactive_no_ns_test()
1226 tt_int_op(dns_port, >=, 0); in test_bufferevent_connect_hostname()
1284 tt_int_op(be1_outcome.what, ==, BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1285 tt_int_op(be1_outcome.dnserr, ==, EVUTIL_EAI_NONAME); in test_bufferevent_connect_hostname()
1286 tt_int_op(be2_outcome.what, ==, BEV_EVENT_CONNECTED); in test_bufferevent_connect_hostname()
1287 tt_int_op(be2_outcome.dnserr, ==, 0); in test_bufferevent_connect_hostname()
1288 tt_int_op(be3_outcome.what, ==, BEV_EVENT_CONNECTED); in test_bufferevent_connect_hostname()
1289 tt_int_op(be3_outcome.dnserr, ==, 0); in test_bufferevent_connect_hostname()
1290 tt_int_op(be4_outcome.what, ==, BEV_EVENT_CONNECTED); in test_bufferevent_connect_hostname()
1291 tt_int_op(be4_outcome.dnserr, ==, 0); in test_bufferevent_connect_hostname()
1293 tt_int_op(be5_outcome.what, ==, BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1294 tt_int_op(be5_outcome.dnserr, ==, expect_err5); in test_bufferevent_connect_hostname()
1297 tt_int_op(n_accept, ==, 3); in test_bufferevent_connect_hostname()
1298 tt_int_op(n_dns, ==, 2); in test_bufferevent_connect_hostname()
1403 tt_int_op(local_outcome.err,==,EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1414 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1428 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1448 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1469 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1490 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1511 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1524 tt_int_op(dns_port, >=, 0); in test_getaddrinfo_async()
1629 tt_int_op(a_out[0].err, ==, 0); in test_getaddrinfo_async()
1643 tt_int_op(a_out[1].err, ==, 0); in test_getaddrinfo_async()
1651 tt_int_op(a_out[2].err, ==, 0); in test_getaddrinfo_async()
1657 tt_int_op(a_out[3].err, ==, 0); in test_getaddrinfo_async()
1663 tt_int_op(a_out[4].err, ==, 0); in test_getaddrinfo_async()
1669 tt_int_op(a_out[5].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1673 tt_int_op(a_out[6].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1677 tt_int_op(a_out[7].err, ==, 0); in test_getaddrinfo_async()
1683 tt_int_op(a_out[8].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1687 tt_int_op(a_out[9].err, ==, 0); in test_getaddrinfo_async()
1701 tt_int_op(a_out[10].err, ==, 0); in test_getaddrinfo_async()
1707 tt_int_op(a_out[11].err, ==, EVUTIL_EAI_CANCEL); in test_getaddrinfo_async()
1871 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()
1874 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()
2063 tt_int_op(n_replies_left, ==, 0); in dns_client_fail_requests_test()
2065 tt_int_op(r[i].result, ==, DNS_ERR_SHUTDOWN); in dns_client_fail_requests_test()
2108 tt_int_op(n_replies_left, ==, 0); in dns_client_fail_requests_getaddrinfo_test()
2110 tt_int_op(r[i].result, ==, EVUTIL_EAI_FAIL); in dns_client_fail_requests_getaddrinfo_test()