Lines Matching refs:tt_int_op

168 	tt_int_op(dns_ok, ==, DNS_IPv4_A);  in dns_gethostbyname()
185 tt_int_op(dns_ok, ==, DNS_IPv6_AAAA); in dns_gethostbyname6()
200 tt_int_op(dns_ok, ==, DNS_PTR); in dns_gethostbyaddr()
225 tt_int_op(dns_ok, ==, DNS_PTR); in dns_resolve_reverse()
421 tt_int_op(evdns_base_count_nameservers(base), ==, 1); in dns_server()
429 tt_int_op(slen2, ==, slen); in dns_server()
430 tt_int_op(ss2.ss_family, ==, 0); in dns_server()
432 tt_int_op(slen2, ==, slen); in dns_server()
436 tt_int_op(-1, ==, slen2); in dns_server()
584 tt_int_op(r[0].type, ==, DNS_IPv4_A); in dns_search_test_impl()
585 tt_int_op(r[0].count, ==, 1); in dns_search_test_impl()
586 tt_int_op(((ev_uint32_t*)r[0].addrs)[0], ==, htonl(0x0b16212c)); in dns_search_test_impl()
587 tt_int_op(r[1].type, ==, DNS_IPv4_A); in dns_search_test_impl()
588 tt_int_op(r[1].count, ==, 1); in dns_search_test_impl()
589 tt_int_op(((ev_uint32_t*)r[1].addrs)[0], ==, htonl(0xc8640064)); in dns_search_test_impl()
590 tt_int_op(r[2].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
591 tt_int_op(r[3].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
592 tt_int_op(r[4].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
593 tt_int_op(r[5].result, ==, DNS_ERR_NODATA); in dns_search_test_impl()
594 tt_int_op(r[5].ttl, ==, 42); in dns_search_test_impl()
595 tt_int_op(r[6].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
596 tt_int_op(r[6].ttl, ==, 42); in dns_search_test_impl()
597 tt_int_op(r[7].result, ==, DNS_ERR_NODATA); in dns_search_test_impl()
598 tt_int_op(r[7].ttl, ==, 0); in dns_search_test_impl()
687 tt_int_op(r1.result, ==, DNS_ERR_CANCEL); in dns_search_cancel_test()
762 tt_int_op(drop_count, ==, 0); in dns_retry_test_impl()
764 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_retry_test_impl()
765 tt_int_op(r1.count, ==, 1); in dns_retry_test_impl()
766 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
784 tt_int_op(r1.result, ==, DNS_ERR_TIMEOUT); in dns_retry_test_impl()
787 tt_int_op(drop_count, ==, 0); in dns_retry_test_impl()
792 tt_int_op(r1.result, ==, DNS_ERR_NONE); in dns_retry_test_impl()
793 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_retry_test_impl()
794 tt_int_op(r1.count, ==, 1); in dns_retry_test_impl()
795 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
866 tt_int_op(r1.result, ==, DNS_ERR_NONE); in dns_reissue_test_impl()
867 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_reissue_test_impl()
868 tt_int_op(r1.count, ==, 1); in dns_reissue_test_impl()
869 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0xf00ff00f)); in dns_reissue_test_impl()
872 tt_int_op(internal_error_table[0].seen, >, 0); in dns_reissue_test_impl()
942 tt_int_op(r[i].type, ==, DNS_IPv4_A); in dns_inflight_test_impl()
943 tt_int_op(r[i].count, ==, 1); in dns_inflight_test_impl()
944 tt_int_op(((ev_uint32_t*)r[i].addrs)[0], ==, htonl(0xf00ff00f)); in dns_inflight_test_impl()
997 tt_int_op(n_replies_left, ==, 0); in dns_disable_when_inactive_no_ns_test()
999 tt_int_op(r.result, ==, DNS_ERR_TIMEOUT); in dns_disable_when_inactive_no_ns_test()
1000 tt_int_op(r.count, ==, 0); in dns_disable_when_inactive_no_ns_test()
1020 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, -1); in dns_initialize_nameservers_test()
1025 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, sizeof(struct sockaddr)); in dns_initialize_nameservers_test()
1045 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, -1); in dns_nameservers_no_default_test()
1053 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, -1); in dns_nameservers_no_default_test()
1056 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, sizeof(struct sockaddr)); in dns_nameservers_no_default_test()
1293 tt_int_op(dns_port, >=, 0); in test_bufferevent_connect_hostname()
1305 tt_int_op(fd, >=, 0); in test_bufferevent_connect_hostname()
1354 tt_int_op(ret, ==, -1); in test_bufferevent_connect_hostname()
1360 tt_int_op(ret, ==, 0); in test_bufferevent_connect_hostname()
1363 tt_int_op(be_outcome[0].what, ==, BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1364 tt_int_op(be_outcome[0].dnserr, ==, EVUTIL_EAI_NONAME); in test_bufferevent_connect_hostname()
1365 tt_int_op(be_outcome[1].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1366 tt_int_op(be_outcome[1].dnserr, ==, 0); in test_bufferevent_connect_hostname()
1367 tt_int_op(be_outcome[2].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1368 tt_int_op(be_outcome[2].dnserr, ==, 0); in test_bufferevent_connect_hostname()
1369 tt_int_op(be_outcome[3].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1371 tt_int_op(be_outcome[3].dnserr, ==, 0); in test_bufferevent_connect_hostname()
1373 tt_int_op(be_outcome[3].dnserr, !=, 0); in test_bufferevent_connect_hostname()
1376 tt_int_op(be_outcome[4].what, ==, BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1377 tt_int_op(be_outcome[4].dnserr, ==, expect_err); in test_bufferevent_connect_hostname()
1381 tt_int_op(n_accept, ==, 0); in test_bufferevent_connect_hostname()
1383 tt_int_op(n_accept, ==, 3); in test_bufferevent_connect_hostname()
1385 tt_int_op(n_dns, ==, 2); in test_bufferevent_connect_hostname()
1484 tt_int_op(local_outcome.err,==,EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1495 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1509 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1529 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1550 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1571 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1592 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1605 tt_int_op(dns_port, >=, 0); in test_getaddrinfo_async()
1710 tt_int_op(a_out[0].err, ==, 0); in test_getaddrinfo_async()
1724 tt_int_op(a_out[1].err, ==, 0); in test_getaddrinfo_async()
1732 tt_int_op(a_out[2].err, ==, 0); in test_getaddrinfo_async()
1738 tt_int_op(a_out[3].err, ==, 0); in test_getaddrinfo_async()
1744 tt_int_op(a_out[4].err, ==, 0); in test_getaddrinfo_async()
1750 tt_int_op(a_out[5].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1754 tt_int_op(a_out[6].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1758 tt_int_op(a_out[7].err, ==, 0); in test_getaddrinfo_async()
1764 tt_int_op(a_out[8].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1768 tt_int_op(a_out[9].err, ==, 0); in test_getaddrinfo_async()
1782 tt_int_op(a_out[10].err, ==, 0); in test_getaddrinfo_async()
1788 tt_int_op(a_out[11].err, ==, EVUTIL_EAI_CANCEL); in test_getaddrinfo_async()
1959 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()
1962 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()
2109 tt_int_op(gaic_freed, !=, 1000); in test_getaddrinfo_async_cancel_stress()
2158 tt_int_op(n_replies_left, ==, 0); in dns_client_fail_requests_test()
2160 tt_int_op(r[i].result, ==, DNS_ERR_SHUTDOWN); in dns_client_fail_requests_test()
2203 tt_int_op(n_replies_left, ==, 0); in dns_client_fail_requests_getaddrinfo_test()
2205 tt_int_op(r[i].result, ==, EVUTIL_EAI_FAIL); in dns_client_fail_requests_getaddrinfo_test()
2348 tt_int_op(n_replies_left, ==, 0); in getaddrinfo_race_gotresolve_test()