Lines Matching refs:count
90 dns_gethostbyname_cb(int result, char type, int count, int ttl, in dns_gethostbyname_cb() argument
106 TT_BLATHER(("type: %d, count: %d, ttl: %d: ", type, count, ttl)); in dns_gethostbyname_cb()
117 for (i = 0; i < count; ++i) { in dns_gethostbyname_cb()
133 for (i = 0; i < count; ++i) in dns_gethostbyname_cb()
139 if (count != 1) in dns_gethostbyname_cb()
298 dns_server_gethostbyname_cb(int result, char type, int count, int ttl, in dns_server_gethostbyname_cb() argument
314 if (count != 1) { in dns_server_gethostbyname_cb()
315 printf("Unexpected answer count %d. ", count); in dns_server_gethostbyname_cb()
476 int count; member
484 generic_dns_callback(int result, char type, int count, int ttl, void *addresses, in generic_dns_callback() argument
491 res->count = count; in generic_dns_callback()
495 len = count * 4; in generic_dns_callback()
497 len = count * 16; in generic_dns_callback()
581 tt_int_op(r[0].count, ==, 1); in dns_search_test_impl()
584 tt_int_op(r[1].count, ==, 1); in dns_search_test_impl()
696 int *count = data; in fail_server_cb() local
700 if (*count > 0) { in fail_server_cb()
701 --*count; in fail_server_cb()
761 tt_int_op(r1.count, ==, 1); in dns_retry_test_impl()
790 tt_int_op(r1.count, ==, 1); in dns_retry_test_impl()
864 tt_int_op(r1.count, ==, 1); in dns_reissue_test_impl()
939 tt_int_op(r[i].count, ==, 1); in dns_inflight_test_impl()
996 tt_int_op(r.count, ==, 0); in dns_disable_when_inactive_no_ns_test()