/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | ares-test-init.cc | 7 #define EXPECTED_NONINIT ARES_SUCCESS 15 EXPECT_EQ(ARES_SUCCESS, ares_library_init(ARES_LIB_INIT_ALL)); in TEST() 16 EXPECT_EQ(ARES_SUCCESS, ares_library_initialized()); in TEST() 36 EXPECT_EQ(ARES_SUCCESS, ares_library_init(ARES_LIB_INIT_ALL)); in TEST() 37 EXPECT_EQ(ARES_SUCCESS, ares_library_initialized()); in TEST() 38 EXPECT_EQ(ARES_SUCCESS, ares_library_init(ARES_LIB_INIT_ALL)); in TEST() 39 EXPECT_EQ(ARES_SUCCESS, ares_library_initialized()); in TEST() 41 EXPECT_EQ(ARES_SUCCESS, ares_library_initialized()); in TEST() 47 EXPECT_EQ(ARES_SUCCESS, ares_library_init(ARES_LIB_INIT_ALL)); in TEST() 49 EXPECT_EQ(ARES_SUCCESS, ares_init(&channel)); in TEST() [all …]
|
D | ares-test-live.cc | 26 EXPECT_EQ(ARES_SUCCESS, result.status_); in VIRT_NONVIRT_TEST_F() 36 EXPECT_EQ(ARES_SUCCESS, result.status_); in VIRT_NONVIRT_TEST_F() 46 EXPECT_EQ(ARES_SUCCESS, result.status_); in VIRT_NONVIRT_TEST_F() 56 EXPECT_EQ(ARES_SUCCESS, result.status_); in VIRT_NONVIRT_TEST_F() 73 if (rc == ARES_SUCCESS) { in VIRT_NONVIRT_TEST_F() 85 EXPECT_EQ(ARES_SUCCESS, result.status_); in TEST_P() 97 if (result.status_ == ARES_SUCCESS) { in TEST_P() 111 EXPECT_EQ(ARES_SUCCESS, result.status_); in TEST_P() 125 EXPECT_EQ(ARES_SUCCESS, result.status_); in TEST_P() 150 EXPECT_EQ(ARES_SUCCESS, result.status_); in TEST_P() [all …]
|
D | ares-test-misc.cc | 20 EXPECT_EQ(ARES_SUCCESS, in TEST_F() 31 EXPECT_EQ(ARES_SUCCESS, ares_set_servers(channel_, nullptr)); in TEST_F() 45 EXPECT_EQ(ARES_SUCCESS, ares_set_servers(channel_, &server1)); in TEST_F() 57 EXPECT_EQ(ARES_SUCCESS, ares_set_servers_ports(channel_, nullptr)); in TEST_F() 75 EXPECT_EQ(ARES_SUCCESS, ares_set_servers_ports(channel_, &server1)); in TEST_F() 93 EXPECT_EQ(ARES_SUCCESS, in TEST_F() 103 EXPECT_EQ(ARES_SUCCESS, in TEST_F() 106 EXPECT_EQ(ARES_SUCCESS, in TEST_F() 120 EXPECT_EQ(ARES_SUCCESS, ares_dup(&channel2, channel_)); in TEST_F() 132 EXPECT_EQ(ARES_SUCCESS, ares_set_servers_csv(channel_, "")); in TEST_F() [all …]
|
D | ares-test-parse.cc | 20 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 54 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 91 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 137 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 173 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 209 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F()
|
D | ares-test-internal.cc | 201 EXPECT_EQ(ARES_SUCCESS, ares_library_init(ARES_LIB_INIT_ALL)); in TEST() 264 EXPECT_EQ(ARES_SUCCESS, ares__read_line(fp, &buf, &bufsize)); in TEST_F() 266 EXPECT_EQ(ARES_SUCCESS, ares__read_line(fp, &buf, &bufsize)); in TEST_F() 268 EXPECT_EQ(ARES_SUCCESS, ares__read_line(fp, &buf, &bufsize)); in TEST_F() 287 EXPECT_EQ(ARES_SUCCESS, ares__read_line(fp, &buf, &bufsize)); in TEST_F() 289 EXPECT_EQ(ARES_SUCCESS, ares__read_line(fp, &buf, &bufsize)); in TEST_F() 291 EXPECT_EQ(ARES_SUCCESS, ares__read_line(fp, &buf, &bufsize)); in TEST_F() 293 EXPECT_EQ(ARES_SUCCESS, ares__read_line(fp, &buf, &bufsize)); in TEST_F() 313 EXPECT_EQ(ARES_SUCCESS, ares__get_hostent(fp, AF_INET, &host)); in TEST() 321 EXPECT_EQ(ARES_SUCCESS, ares__get_hostent(fp, AF_INET, &host)); in TEST() [all …]
|
D | ares-test-parse-a.cc | 43 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 57 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 143 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 160 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 188 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 198 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 219 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F() 241 EXPECT_EQ(ARES_SUCCESS, ares_parse_a_reply(data.data(), data.size(), in TEST_F()
|
D | ares-test-parse-srv.cc | 19 EXPECT_EQ(ARES_SUCCESS, ares_parse_srv_reply(data.data(), data.size(), &srv)); in TEST_F() 53 EXPECT_EQ(ARES_SUCCESS, ares_parse_srv_reply(data.data(), data.size(), &srv)); in TEST_F() 115 EXPECT_EQ(ARES_SUCCESS, ares_parse_srv_reply(data.data(), data.size(), &srv0)); in TEST_F() 158 EXPECT_EQ(ARES_SUCCESS, ares_parse_srv_reply(data.data(), data.size(), &srv)); in TEST_F() 190 EXPECT_EQ(ARES_SUCCESS, ares_parse_srv_reply(data.data(), data.size(), &srv0)); in TEST_F() 252 EXPECT_EQ(ARES_SUCCESS, ares_parse_srv_reply(data.data(), data.size(), &srv)); in TEST_F()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_parse_naptr_reply.c | 79 if (status != ARES_SUCCESS) in ares_parse_naptr_reply() 94 if (status != ARES_SUCCESS) in ares_parse_naptr_reply() 150 if (status != ARES_SUCCESS) in ares_parse_naptr_reply() 155 if (status != ARES_SUCCESS) in ares_parse_naptr_reply() 160 if (status != ARES_SUCCESS) in ares_parse_naptr_reply() 165 if (status != ARES_SUCCESS) in ares_parse_naptr_reply() 183 if (status != ARES_SUCCESS) in ares_parse_naptr_reply() 193 return ARES_SUCCESS; in ares_parse_naptr_reply()
|
D | adig.c | 199 if (status != ARES_SUCCESS) in main() 335 if (status != ARES_SUCCESS) in main() 346 if (status != ARES_SUCCESS) in main() 413 if (status != ARES_SUCCESS) in callback() 497 if (status != ARES_SUCCESS) in display_question() 540 if (status != ARES_SUCCESS) in display_rr() 586 if (status != ARES_SUCCESS) in display_rr() 599 if (status != ARES_SUCCESS) in display_rr() 608 if (status != ARES_SUCCESS) in display_rr() 618 if (status != ARES_SUCCESS) in display_rr() [all …]
|
D | ares_search.c | 68 if (status != ARES_SUCCESS) in ares_search() 130 if (status == ARES_SUCCESS) in ares_search() 179 if (status != ARES_SUCCESS) in search_callback() 228 return ARES_SUCCESS; in cat_domain() 252 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in single_domain() 265 == ARES_SUCCESS) in single_domain() 286 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in single_domain() 291 if (status != ARES_SUCCESS && status != ARES_EOF) in single_domain() 318 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in single_domain() 322 return ARES_SUCCESS; in single_domain()
|
D | ares_options.c | 37 int status = ARES_SUCCESS; in ares_get_servers() 72 if (status != ARES_SUCCESS) in ares_get_servers() 92 int status = ARES_SUCCESS; in ares_get_servers_ports() 129 if (status != ARES_SUCCESS) in ares_get_servers_ports() 150 if (ares_library_initialized() != ARES_SUCCESS) in ares_set_servers() 192 return ARES_SUCCESS; in ares_set_servers() 202 if (ares_library_initialized() != ARES_SUCCESS) in ares_set_servers_ports() 244 return ARES_SUCCESS; in ares_set_servers_ports() 257 int rv = ARES_SUCCESS; in set_servers_csv() 261 if (ares_library_initialized() != ARES_SUCCESS) in set_servers_csv() [all …]
|
D | ares_parse_ns_reply.c | 72 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply() 95 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply() 120 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply() 151 if ( status == ARES_SUCCESS && nameservers_num == 0 ) in ares_parse_ns_reply() 155 if ( status == ARES_SUCCESS ) in ares_parse_ns_reply() 172 return ARES_SUCCESS; in ares_parse_ns_reply()
|
D | ares_parse_ptr_reply.c | 73 if (status != ARES_SUCCESS) in ares_parse_ptr_reply() 94 if (status != ARES_SUCCESS) in ares_parse_ptr_reply() 120 if (status != ARES_SUCCESS) in ares_parse_ptr_reply() 156 if (status != ARES_SUCCESS) in ares_parse_ptr_reply() 174 if (status == ARES_SUCCESS && !hostname) in ares_parse_ptr_reply() 176 if (status == ARES_SUCCESS) in ares_parse_ptr_reply() 203 return ARES_SUCCESS; in ares_parse_ptr_reply()
|
D | ares_parse_aaaa_reply.c | 86 if (status != ARES_SUCCESS) in ares_parse_aaaa_reply() 125 if (status != ARES_SUCCESS) in ares_parse_aaaa_reply() 173 status = ARES_SUCCESS; in ares_parse_aaaa_reply() 188 if (status != ARES_SUCCESS) in ares_parse_aaaa_reply() 210 if (status == ARES_SUCCESS && naddrs == 0 && naliases == 0) in ares_parse_aaaa_reply() 212 if (status == ARES_SUCCESS) in ares_parse_aaaa_reply() 248 return ARES_SUCCESS; in ares_parse_aaaa_reply()
|
D | ares_parse_a_reply.c | 84 if (status != ARES_SUCCESS) in ares_parse_a_reply() 125 if (status != ARES_SUCCESS) in ares_parse_a_reply() 173 status = ARES_SUCCESS; in ares_parse_a_reply() 188 if (status != ARES_SUCCESS) in ares_parse_a_reply() 208 if (status == ARES_SUCCESS && naddrs == 0 && naliases == 0) in ares_parse_a_reply() 212 if (status == ARES_SUCCESS) in ares_parse_a_reply() 248 return ARES_SUCCESS; in ares_parse_a_reply()
|
D | ares_parse_soa_reply.c | 66 if (status != ARES_SUCCESS) in ares_parse_soa_reply() 77 if (status != ARES_SUCCESS) in ares_parse_soa_reply() 96 if (status != ARES_SUCCESS) in ares_parse_soa_reply() 102 if (status != ARES_SUCCESS) in ares_parse_soa_reply() 120 return ARES_SUCCESS; in ares_parse_soa_reply()
|
D | ares_library_init.c | 113 return ARES_SUCCESS; in ares_win32_init() 135 return ARES_SUCCESS; in ares_library_init() 142 if (res != ARES_SUCCESS) in ares_library_init() 148 return ARES_SUCCESS; in ares_library_init() 194 return ARES_SUCCESS; in ares_library_initialized()
|
D | ares_parse_srv_reply.c | 79 if (status != ARES_SUCCESS) in ares_parse_srv_reply() 94 if (status != ARES_SUCCESS) in ares_parse_srv_reply() 150 if (status != ARES_SUCCESS) in ares_parse_srv_reply() 168 if (status != ARES_SUCCESS) in ares_parse_srv_reply() 178 return ARES_SUCCESS; in ares_parse_srv_reply()
|
D | ares_parse_mx_reply.c | 74 if (status != ARES_SUCCESS) in ares_parse_mx_reply() 89 if (status != ARES_SUCCESS) in ares_parse_mx_reply() 141 if (status != ARES_SUCCESS) in ares_parse_mx_reply() 159 if (status != ARES_SUCCESS) in ares_parse_mx_reply() 169 return ARES_SUCCESS; in ares_parse_mx_reply()
|
D | ares_init.c | 115 int status = ARES_SUCCESS; in ares_init_options() 132 if (ares_library_initialized() != ARES_SUCCESS) in ares_init_options() 197 if (status != ARES_SUCCESS) { in ares_init_options() 204 if (status != ARES_SUCCESS) in ares_init_options() 207 if (status == ARES_SUCCESS) { in ares_init_options() 209 if (status != ARES_SUCCESS) in ares_init_options() 219 if (status != ARES_SUCCESS) in ares_init_options() 225 if (status == ARES_SUCCESS) { in ares_init_options() 227 if (status == ARES_SUCCESS) in ares_init_options() 235 if (status != ARES_SUCCESS) in ares_init_options() [all …]
|
D | ares_parse_txt_reply.c | 80 if (status != ARES_SUCCESS) in ares__parse_txt_reply() 95 if (status != ARES_SUCCESS) in ares__parse_txt_reply() 175 if (status != ARES_SUCCESS) in ares__parse_txt_reply() 194 if (status != ARES_SUCCESS) in ares__parse_txt_reply() 204 return ARES_SUCCESS; in ares__parse_txt_reply()
|
D | ares_gethostbyname.c | 167 if (status == ARES_SUCCESS) in next_lookup() 187 if (status == ARES_SUCCESS) in host_callback() 199 (status == ARES_SUCCESS && host && host->h_addr_list[0] == NULL)) && in host_callback() 309 callback(arg, ARES_SUCCESS, 0, &hostent); in fake_hostent() 334 if(result != ARES_SUCCESS) in ares_gethostbyname_file() 408 while ((status = ares__get_hostent(fp, family, host)) == ARES_SUCCESS) in file_lookup() 424 if (status != ARES_SUCCESS) in file_lookup()
|
D | ahost.c | 73 if (status != ARES_SUCCESS) in main() 118 if (status != ARES_SUCCESS) in main() 176 if (status != ARES_SUCCESS) in callback()
|
D | ares_query.c | 122 if (status != ARES_SUCCESS) in ares_query() 153 if (status != ARES_SUCCESS) in qcallback() 165 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA; in qcallback()
|
D | ares_getnameinfo.c | 121 callback(arg, ARES_SUCCESS, 0, NULL, service); in ares_getnameinfo() 160 callback(arg, ARES_SUCCESS, 0, ipbuf, service); in ares_getnameinfo() 204 if (status == ARES_SUCCESS) in nameinfo_callback() 234 niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, in nameinfo_callback() 266 niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, ipbuf, in nameinfo_callback()
|