• Home
  • Raw
  • Download

Lines Matching refs:tt_int_op

164 	tt_int_op(dns_ok, ==, DNS_IPv4_A);  in dns_gethostbyname()
181 tt_int_op(dns_ok, ==, DNS_IPv6_AAAA); in dns_gethostbyname6()
196 tt_int_op(dns_ok, ==, DNS_PTR); in dns_gethostbyaddr()
221 tt_int_op(dns_ok, ==, DNS_PTR); in dns_resolve_reverse()
417 tt_int_op(evdns_base_count_nameservers(base), ==, 1); in dns_server()
425 tt_int_op(slen2, ==, slen); in dns_server()
426 tt_int_op(ss2.ss_family, ==, 0); in dns_server()
428 tt_int_op(slen2, ==, slen); in dns_server()
432 tt_int_op(-1, ==, slen2); in dns_server()
580 tt_int_op(r[0].type, ==, DNS_IPv4_A); in dns_search_test_impl()
581 tt_int_op(r[0].count, ==, 1); in dns_search_test_impl()
582 tt_int_op(((ev_uint32_t*)r[0].addrs)[0], ==, htonl(0x0b16212c)); in dns_search_test_impl()
583 tt_int_op(r[1].type, ==, DNS_IPv4_A); in dns_search_test_impl()
584 tt_int_op(r[1].count, ==, 1); in dns_search_test_impl()
585 tt_int_op(((ev_uint32_t*)r[1].addrs)[0], ==, htonl(0xc8640064)); in dns_search_test_impl()
586 tt_int_op(r[2].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
587 tt_int_op(r[3].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
588 tt_int_op(r[4].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
589 tt_int_op(r[5].result, ==, DNS_ERR_NODATA); in dns_search_test_impl()
590 tt_int_op(r[5].ttl, ==, 42); in dns_search_test_impl()
591 tt_int_op(r[6].result, ==, DNS_ERR_NOTEXIST); in dns_search_test_impl()
592 tt_int_op(r[6].ttl, ==, 42); in dns_search_test_impl()
593 tt_int_op(r[7].result, ==, DNS_ERR_NODATA); in dns_search_test_impl()
594 tt_int_op(r[7].ttl, ==, 0); in dns_search_test_impl()
683 tt_int_op(r1.result, ==, DNS_ERR_CANCEL); in dns_search_cancel_test()
758 tt_int_op(drop_count, ==, 0); in dns_retry_test_impl()
760 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_retry_test_impl()
761 tt_int_op(r1.count, ==, 1); in dns_retry_test_impl()
762 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
780 tt_int_op(r1.result, ==, DNS_ERR_TIMEOUT); in dns_retry_test_impl()
783 tt_int_op(drop_count, ==, 0); in dns_retry_test_impl()
788 tt_int_op(r1.result, ==, DNS_ERR_NONE); in dns_retry_test_impl()
789 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_retry_test_impl()
790 tt_int_op(r1.count, ==, 1); in dns_retry_test_impl()
791 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0x10204080)); in dns_retry_test_impl()
862 tt_int_op(r1.result, ==, DNS_ERR_NONE); in dns_reissue_test_impl()
863 tt_int_op(r1.type, ==, DNS_IPv4_A); in dns_reissue_test_impl()
864 tt_int_op(r1.count, ==, 1); in dns_reissue_test_impl()
865 tt_int_op(((ev_uint32_t*)r1.addrs)[0], ==, htonl(0xf00ff00f)); in dns_reissue_test_impl()
868 tt_int_op(internal_error_table[0].seen, >, 0); in dns_reissue_test_impl()
938 tt_int_op(r[i].type, ==, DNS_IPv4_A); in dns_inflight_test_impl()
939 tt_int_op(r[i].count, ==, 1); in dns_inflight_test_impl()
940 tt_int_op(((ev_uint32_t*)r[i].addrs)[0], ==, htonl(0xf00ff00f)); in dns_inflight_test_impl()
993 tt_int_op(n_replies_left, ==, 0); in dns_disable_when_inactive_no_ns_test()
995 tt_int_op(r.result, ==, DNS_ERR_TIMEOUT); in dns_disable_when_inactive_no_ns_test()
996 tt_int_op(r.count, ==, 0); in dns_disable_when_inactive_no_ns_test()
1016 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, -1); in dns_initialize_nameservers_test()
1021 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, sizeof(struct sockaddr)); in dns_initialize_nameservers_test()
1041 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, -1); in dns_nameservers_no_default_test()
1049 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, -1); in dns_nameservers_no_default_test()
1052 tt_int_op(evdns_base_get_nameserver_addr(dns, 0, NULL, 0), ==, sizeof(struct sockaddr)); in dns_nameservers_no_default_test()
1289 tt_int_op(dns_port, >=, 0); in test_bufferevent_connect_hostname()
1301 tt_int_op(fd, >=, 0); in test_bufferevent_connect_hostname()
1350 tt_int_op(ret, ==, -1); in test_bufferevent_connect_hostname()
1356 tt_int_op(ret, ==, 0); in test_bufferevent_connect_hostname()
1359 tt_int_op(be_outcome[0].what, ==, BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1360 tt_int_op(be_outcome[0].dnserr, ==, EVUTIL_EAI_NONAME); in test_bufferevent_connect_hostname()
1361 tt_int_op(be_outcome[1].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1362 tt_int_op(be_outcome[1].dnserr, ==, 0); in test_bufferevent_connect_hostname()
1363 tt_int_op(be_outcome[2].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1364 tt_int_op(be_outcome[2].dnserr, ==, 0); in test_bufferevent_connect_hostname()
1365 tt_int_op(be_outcome[3].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1367 tt_int_op(be_outcome[3].dnserr, ==, 0); in test_bufferevent_connect_hostname()
1369 tt_int_op(be_outcome[3].dnserr, !=, 0); in test_bufferevent_connect_hostname()
1372 tt_int_op(be_outcome[4].what, ==, BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1373 tt_int_op(be_outcome[4].dnserr, ==, expect_err); in test_bufferevent_connect_hostname()
1377 tt_int_op(n_accept, ==, 0); in test_bufferevent_connect_hostname()
1379 tt_int_op(n_accept, ==, 3); in test_bufferevent_connect_hostname()
1381 tt_int_op(n_dns, ==, 2); in test_bufferevent_connect_hostname()
1480 tt_int_op(local_outcome.err,==,EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1491 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1505 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1525 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1546 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1567 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1588 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1601 tt_int_op(dns_port, >=, 0); in test_getaddrinfo_async()
1706 tt_int_op(a_out[0].err, ==, 0); in test_getaddrinfo_async()
1720 tt_int_op(a_out[1].err, ==, 0); in test_getaddrinfo_async()
1728 tt_int_op(a_out[2].err, ==, 0); in test_getaddrinfo_async()
1734 tt_int_op(a_out[3].err, ==, 0); in test_getaddrinfo_async()
1740 tt_int_op(a_out[4].err, ==, 0); in test_getaddrinfo_async()
1746 tt_int_op(a_out[5].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1750 tt_int_op(a_out[6].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1754 tt_int_op(a_out[7].err, ==, 0); in test_getaddrinfo_async()
1760 tt_int_op(a_out[8].err, ==, EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1764 tt_int_op(a_out[9].err, ==, 0); in test_getaddrinfo_async()
1778 tt_int_op(a_out[10].err, ==, 0); in test_getaddrinfo_async()
1784 tt_int_op(a_out[11].err, ==, EVUTIL_EAI_CANCEL); in test_getaddrinfo_async()
1955 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()
1958 tt_int_op(allocated_chunks, ==, 0); in testleak_cleanup()
2105 tt_int_op(gaic_freed, !=, 1000); in test_getaddrinfo_async_cancel_stress()
2154 tt_int_op(n_replies_left, ==, 0); in dns_client_fail_requests_test()
2156 tt_int_op(r[i].result, ==, DNS_ERR_SHUTDOWN); in dns_client_fail_requests_test()
2199 tt_int_op(n_replies_left, ==, 0); in dns_client_fail_requests_getaddrinfo_test()
2201 tt_int_op(r[i].result, ==, EVUTIL_EAI_FAIL); in dns_client_fail_requests_getaddrinfo_test()
2341 tt_int_op(n_replies_left, ==, 0); in getaddrinfo_race_gotresolve_test()