Home
last modified time | relevance | path

Searched refs:ARES_SUCCESS (Results 1 – 25 of 44) sorted by relevance

12

/third_party/node/deps/cares/src/lib/
Dares_parse_naptr_reply.c68 if (status != ARES_SUCCESS) in ares_parse_naptr_reply()
83 if (status != ARES_SUCCESS) in ares_parse_naptr_reply()
139 if (status != ARES_SUCCESS) in ares_parse_naptr_reply()
144 if (status != ARES_SUCCESS) in ares_parse_naptr_reply()
149 if (status != ARES_SUCCESS) in ares_parse_naptr_reply()
154 if (status != ARES_SUCCESS) in ares_parse_naptr_reply()
172 if (status != ARES_SUCCESS) in ares_parse_naptr_reply()
182 return ARES_SUCCESS; in ares_parse_naptr_reply()
Dares_search.c66 if (status != ARES_SUCCESS) in ares_search()
128 if (status == ARES_SUCCESS) in ares_search()
177 if (status != ARES_SUCCESS) in search_callback()
226 return ARES_SUCCESS; in ares__cat_domain()
250 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in ares__single_domain()
263 == ARES_SUCCESS) in ares__single_domain()
284 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in ares__single_domain()
289 if (status != ARES_SUCCESS && status != ARES_EOF) in ares__single_domain()
316 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in ares__single_domain()
320 return ARES_SUCCESS; in ares__single_domain()
Dares_options.c37 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 …]
Dares_parse_ns_reply.c66 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply()
89 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply()
114 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply()
145 if ( status == ARES_SUCCESS && nameservers_num == 0 ) in ares_parse_ns_reply()
149 if ( status == ARES_SUCCESS ) in ares_parse_ns_reply()
166 return ARES_SUCCESS; in ares_parse_ns_reply()
Dares_parse_ptr_reply.c67 if (status != ARES_SUCCESS) in ares_parse_ptr_reply()
88 if (status != ARES_SUCCESS) in ares_parse_ptr_reply()
114 if (status != ARES_SUCCESS) in ares_parse_ptr_reply()
150 if (status != ARES_SUCCESS) in ares_parse_ptr_reply()
168 if (status == ARES_SUCCESS && !hostname) in ares_parse_ptr_reply()
170 if (status == ARES_SUCCESS) in ares_parse_ptr_reply()
214 return ARES_SUCCESS; in ares_parse_ptr_reply()
Dares_library_init.c118 return ARES_SUCCESS; in ares_win32_init()
140 return ARES_SUCCESS; in ares_library_init()
147 if (res != ARES_SUCCESS) in ares_library_init()
153 return ARES_SUCCESS; in ares_library_init()
199 return ARES_SUCCESS; in ares_library_initialized()
Dares_parse_mx_reply.c68 if (status != ARES_SUCCESS) in ares_parse_mx_reply()
83 if (status != ARES_SUCCESS) in ares_parse_mx_reply()
135 if (status != ARES_SUCCESS) in ares_parse_mx_reply()
153 if (status != ARES_SUCCESS) in ares_parse_mx_reply()
163 return ARES_SUCCESS; in ares_parse_mx_reply()
Dares__readaddrinfo.c45 int status = ARES_SUCCESS; in ares__readaddrinfo()
69 while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS) in ares__readaddrinfo()
181 if (status != ARES_SUCCESS) in ares__readaddrinfo()
193 if (status != ARES_SUCCESS) in ares__readaddrinfo()
200 if (status != ARES_SUCCESS) in ares__readaddrinfo()
242 return nodes ? ARES_SUCCESS : ARES_ENOTFOUND; in ares__readaddrinfo()
Dares_parse_srv_reply.c68 if (status != ARES_SUCCESS) in ares_parse_srv_reply()
83 if (status != ARES_SUCCESS) in ares_parse_srv_reply()
139 if (status != ARES_SUCCESS) in ares_parse_srv_reply()
157 if (status != ARES_SUCCESS) in ares_parse_srv_reply()
167 return ARES_SUCCESS; in ares_parse_srv_reply()
Dares_parse_uri_reply.c76 if (status != ARES_SUCCESS){ in ares_parse_uri_reply()
91 if (status != ARES_SUCCESS) in ares_parse_uri_reply()
155 if (status != ARES_SUCCESS) in ares_parse_uri_reply()
173 if (status != ARES_SUCCESS) in ares_parse_uri_reply()
183 return ARES_SUCCESS; in ares_parse_uri_reply()
Dares__addrinfo_localhost.c94 return ARES_SUCCESS; in ares_append_ai_node()
102 int status = ARES_SUCCESS; in ares__default_loopback_addrs()
109 if (status != ARES_SUCCESS) in ares__default_loopback_addrs()
120 if (status != ARES_SUCCESS) in ares__default_loopback_addrs()
170 if (status != ARES_SUCCESS) in ares__system_loopback_addrs()
182 if (status != ARES_SUCCESS) in ares__system_loopback_addrs()
Dares__parse_into_addrinfo.c71 if (status != ARES_SUCCESS) in ares__parse_into_addrinfo()
88 if (status != ARES_SUCCESS) in ares__parse_into_addrinfo()
123 if (status != ARES_SUCCESS) in ares__parse_into_addrinfo()
138 if (status != ARES_SUCCESS) in ares__parse_into_addrinfo()
147 if (status != ARES_SUCCESS) in ares__parse_into_addrinfo()
184 if (status == ARES_SUCCESS) in ares__parse_into_addrinfo()
Dares_parse_txt_reply.c74 if (status != ARES_SUCCESS) in ares__parse_txt_reply()
89 if (status != ARES_SUCCESS) in ares__parse_txt_reply()
169 if (status != ARES_SUCCESS) in ares__parse_txt_reply()
188 if (status != ARES_SUCCESS) in ares__parse_txt_reply()
198 return ARES_SUCCESS; in ares__parse_txt_reply()
Dares_getaddrinfo.c287 int status = ARES_SUCCESS; in fake_addrinfo()
320 if (status != ARES_SUCCESS) in fake_addrinfo()
336 if (status != ARES_SUCCESS) in fake_addrinfo()
370 callback(arg, ARES_SUCCESS, 0, ai); in fake_addrinfo()
378 if (status == ARES_SUCCESS) in end_hquery()
513 if (file_lookup(hquery) == ARES_SUCCESS) in next_lookup()
515 end_hquery(hquery, ARES_SUCCESS); in next_lookup()
532 int addinfostatus = ARES_SUCCESS; in host_callback()
536 if (status == ARES_SUCCESS) in host_callback()
543 if (addinfostatus != ARES_SUCCESS && addinfostatus != ARES_ENODATA) in host_callback()
[all …]
Dares_init.c108 int status = ARES_SUCCESS; in ares_init_options()
111 if (ares_library_initialized() != ARES_SUCCESS) in ares_init_options()
176 if (status != ARES_SUCCESS) { in ares_init_options()
183 if (status != ARES_SUCCESS) in ares_init_options()
186 if (status == ARES_SUCCESS) { in ares_init_options()
188 if (status != ARES_SUCCESS) in ares_init_options()
198 if (status != ARES_SUCCESS) in ares_init_options()
204 if (status == ARES_SUCCESS) { in ares_init_options()
206 if (status == ARES_SUCCESS) in ares_init_options()
214 if (status != ARES_SUCCESS) in ares_init_options()
[all …]
Dares_parse_caa_reply.c72 if (status != ARES_SUCCESS) in ares_parse_caa_reply()
87 if (status != ARES_SUCCESS) in ares_parse_caa_reply()
169 if (status != ARES_SUCCESS) in ares_parse_caa_reply()
188 if (status != ARES_SUCCESS) in ares_parse_caa_reply()
198 return ARES_SUCCESS; in ares_parse_caa_reply()
Dares_parse_soa_reply.c64 if (status != ARES_SUCCESS) in ares_parse_soa_reply()
87 if (status != ARES_SUCCESS) in ares_parse_soa_reply()
124 if (status != ARES_SUCCESS) in ares_parse_soa_reply()
134 if (status != ARES_SUCCESS) in ares_parse_soa_reply()
158 return ARES_SUCCESS; in ares_parse_soa_reply()
Dares_gethostbyname.c62 if (status == ARES_SUCCESS) in ares_gethostbyname_callback()
70 if (status == ARES_SUCCESS && hostent && in ares_gethostbyname_callback()
76 if (status == ARES_SUCCESS && ghbn_arg->channel->nsort && hostent) in ares_gethostbyname_callback()
244 if(result != ARES_SUCCESS) in ares_gethostbyname_file()
318 while ((status = ares__get_hostent(fp, family, host)) == ARES_SUCCESS) in file_lookup()
334 if (status != ARES_SUCCESS) in file_lookup()
Dares_parse_aaaa_reply.c64 if (status != ARES_SUCCESS && status != ARES_ENODATA) in ares_parse_aaaa_reply()
72 if (status != ARES_SUCCESS && status != ARES_ENODATA) in ares_parse_aaaa_reply()
Dares_parse_a_reply.c62 if (status != ARES_SUCCESS && status != ARES_ENODATA) in ares_parse_a_reply()
70 if (status != ARES_SUCCESS && status != ARES_ENODATA) in ares_parse_a_reply()
Dares_query.c116 if (status != ARES_SUCCESS) in ares_query()
147 if (status != ARES_SUCCESS) in qcallback()
159 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA; in qcallback()
Dares_getnameinfo.c115 callback(arg, ARES_SUCCESS, 0, NULL, service); in ares_getnameinfo()
154 callback(arg, ARES_SUCCESS, 0, ipbuf, service); in ares_getnameinfo()
198 if (status == ARES_SUCCESS) in nameinfo_callback()
228 niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, in nameinfo_callback()
260 niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, ipbuf, in nameinfo_callback()
/third_party/node/deps/cares/src/tools/
Dadig.c177 if (status != ARES_SUCCESS) in main()
322 if (status != ARES_SUCCESS) in main()
333 if (status != ARES_SUCCESS) in main()
403 if (status != ARES_SUCCESS) in callback()
487 if (status != ARES_SUCCESS) in display_question()
531 if (status != ARES_SUCCESS) in display_rr()
577 if (status != ARES_SUCCESS) in display_rr()
590 if (status != ARES_SUCCESS) in display_rr()
599 if (status != ARES_SUCCESS) in display_rr()
609 if (status != ARES_SUCCESS) in display_rr()
[all …]
Dahost.c74 if (status != ARES_SUCCESS) in main()
124 if (status != ARES_SUCCESS) in main()
182 if (status != ARES_SUCCESS) in callback()
/third_party/node/src/
Dcares_wrap.cc239 if (status != ARES_SUCCESS) in ParseGeneralReply()
256 return ARES_SUCCESS; in ParseGeneralReply()
280 return ARES_SUCCESS; in ParseGeneralReply()
293 if (status != ARES_SUCCESS) in ParseMxReply()
315 return ARES_SUCCESS; in ParseMxReply()
328 if (status != ARES_SUCCESS) in ParseCaaReply()
351 return ARES_SUCCESS; in ParseCaaReply()
365 if (status != ARES_SUCCESS) in ParseTxtReply()
414 return ARES_SUCCESS; in ParseTxtReply()
428 if (status != ARES_SUCCESS) in ParseSrvReply()
[all …]

12