Home
last modified time | relevance | path

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

12

/external/c-ares/
Dares_init.c122 int status = ARES_SUCCESS; in ares_init_options()
139 if (ares_library_initialized() != ARES_SUCCESS) in ares_init_options()
197 if (status == ARES_SUCCESS) { in ares_init_options()
199 if (status != ARES_SUCCESS) in ares_init_options()
203 if (status == ARES_SUCCESS) { in ares_init_options()
205 if (status != ARES_SUCCESS) in ares_init_options()
209 if (status == ARES_SUCCESS) { in ares_init_options()
211 if (status != ARES_SUCCESS) in ares_init_options()
221 if (status != ARES_SUCCESS) in ares_init_options()
227 if (status == ARES_SUCCESS) { in ares_init_options()
[all …]
Dadig.c215 if (status != ARES_SUCCESS) in main()
351 if (status != ARES_SUCCESS) in main()
362 if (status != ARES_SUCCESS) in main()
429 if (status != ARES_SUCCESS) in callback()
513 if (status != ARES_SUCCESS) in display_question()
556 if (status != ARES_SUCCESS) in display_rr()
602 if (status != ARES_SUCCESS) in display_rr()
615 if (status != ARES_SUCCESS) in display_rr()
624 if (status != ARES_SUCCESS) in display_rr()
634 if (status != ARES_SUCCESS) in display_rr()
[all …]
Dares_library_init.c84 return ARES_SUCCESS; in ares_win32_init()
104 return ARES_SUCCESS; in ares_library_init()
110 if (res != ARES_SUCCESS) in ares_library_init()
116 return ARES_SUCCESS; in ares_library_init()
139 return ARES_SUCCESS; in ares_library_initialized()
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 cat_domain()
250 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in single_domain()
263 == ARES_SUCCESS) in single_domain()
284 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in single_domain()
289 if (status != ARES_SUCCESS && status != ARES_EOF) in single_domain()
316 return (*s) ? ARES_SUCCESS : ARES_ENOMEM; in single_domain()
320 return ARES_SUCCESS; in single_domain()
Dares_parse_ns_reply.c77 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply()
100 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply()
119 if ( status != ARES_SUCCESS ) in ares_parse_ns_reply()
150 if ( status == ARES_SUCCESS && nameservers_num == 0 ) in ares_parse_ns_reply()
154 if ( status == ARES_SUCCESS ) in ares_parse_ns_reply()
171 return ARES_SUCCESS; in ares_parse_ns_reply()
Dares_options.c37 int status = ARES_SUCCESS; in ares_get_servers()
72 if (status != ARES_SUCCESS) in ares_get_servers()
94 if (ares_library_initialized() != ARES_SUCCESS) in ares_set_servers()
131 return ARES_SUCCESS; in ares_set_servers()
142 int rv = ARES_SUCCESS; in ares_set_servers_csv()
146 if (ares_library_initialized() != ARES_SUCCESS) in ares_set_servers_csv()
156 return ARES_SUCCESS; /* blank all servers */ in ares_set_servers_csv()
Dares_parse_ptr_reply.c76 if (status != ARES_SUCCESS) in ares_parse_ptr_reply()
97 if (status != ARES_SUCCESS) in ares_parse_ptr_reply()
117 if (status != ARES_SUCCESS) in ares_parse_ptr_reply()
152 if (status != ARES_SUCCESS) in ares_parse_ptr_reply()
170 if (status == ARES_SUCCESS && !hostname) in ares_parse_ptr_reply()
172 if (status == ARES_SUCCESS) in ares_parse_ptr_reply()
199 return ARES_SUCCESS; in ares_parse_ptr_reply()
Dares_parse_a_reply.c89 if (status != ARES_SUCCESS) in ares_parse_a_reply()
130 if (status != ARES_SUCCESS) in ares_parse_a_reply()
172 status = ARES_SUCCESS; in ares_parse_a_reply()
187 if (status != ARES_SUCCESS) in ares_parse_a_reply()
207 if (status == ARES_SUCCESS && naddrs == 0 && naliases == 0) in ares_parse_a_reply()
211 if (status == ARES_SUCCESS) in ares_parse_a_reply()
247 return ARES_SUCCESS; in ares_parse_a_reply()
Dares_parse_aaaa_reply.c91 if (status != ARES_SUCCESS) in ares_parse_aaaa_reply()
130 if (status != ARES_SUCCESS) in ares_parse_aaaa_reply()
172 status = ARES_SUCCESS; in ares_parse_aaaa_reply()
187 if (status != ARES_SUCCESS) in ares_parse_aaaa_reply()
207 if (status == ARES_SUCCESS && naddrs == 0) in ares_parse_aaaa_reply()
209 if (status == ARES_SUCCESS) in ares_parse_aaaa_reply()
243 return ARES_SUCCESS; in ares_parse_aaaa_reply()
Dares_parse_mx_reply.c79 if (status != ARES_SUCCESS) in ares_parse_mx_reply()
94 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()
Dares_parse_srv_reply.c84 if (status != ARES_SUCCESS) in ares_parse_srv_reply()
99 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()
Dares_parse_txt_reply.c86 if (status != ARES_SUCCESS) in ares_parse_txt_reply()
101 if (status != ARES_SUCCESS) in ares_parse_txt_reply()
190 if (status != ARES_SUCCESS) in ares_parse_txt_reply()
200 return ARES_SUCCESS; in ares_parse_txt_reply()
Dahost.c81 if (status != ARES_SUCCESS) in main()
117 if (status != ARES_SUCCESS) in main()
172 if (status != ARES_SUCCESS) in callback()
Dares_query.c119 if (status != ARES_SUCCESS) in ares_query()
150 if (status != ARES_SUCCESS) in qcallback()
162 status = (ancount > 0) ? ARES_SUCCESS : ARES_ENODATA; in qcallback()
Dares_gethostbyname.c166 if (status == ARES_SUCCESS) in next_lookup()
186 if (status == ARES_SUCCESS) in host_callback()
305 callback(arg, ARES_SUCCESS, 0, &hostent); in fake_hostent()
330 if(result != ARES_SUCCESS) in ares_gethostbyname_file()
400 while ((status = ares__get_hostent(fp, family, host)) == ARES_SUCCESS) in file_lookup()
416 if (status != ARES_SUCCESS) in file_lookup()
Dares_getnameinfo.c133 callback(arg, ARES_SUCCESS, 0, NULL, service); in ares_getnameinfo()
172 callback(arg, ARES_SUCCESS, 0, ipbuf, service); in ares_getnameinfo()
216 if (status == ARES_SUCCESS) in nameinfo_callback()
246 niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, in nameinfo_callback()
278 niquery->callback(niquery->arg, ARES_SUCCESS, niquery->timeouts, ipbuf, in nameinfo_callback()
Dares_gethostbyaddr.c132 if (status == ARES_SUCCESS) in next_lookup()
151 if (status == ARES_SUCCESS) in addr_callback()
243 while ((status = ares__get_hostent(fp, addr->family, host)) == ARES_SUCCESS) in file_lookup()
267 if (status != ARES_SUCCESS) in file_lookup()
Dacountry.c120 if (status != ARES_SUCCESS) in main()
149 if (status != ARES_SUCCESS) in main()
231 if (!host || status != ARES_SUCCESS) in callback()
256 if (!host || status != ARES_SUCCESS) in callback2()
Dares__get_hostent.c57 while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS) in ares__get_hostent()
230 return ARES_SUCCESS; in ares__get_hostent()
238 if (status == ARES_SUCCESS) in ares__get_hostent()
Dares_expand_name.c98 return ARES_SUCCESS; in ares_expand_name()
137 return ARES_SUCCESS; in ares_expand_name()
Dares_expand_string.c73 return ARES_SUCCESS; in ares_expand_string()
Dares__read_line.c70 return ARES_SUCCESS; in ares__read_line()
Dares_mkquery.c194 return ARES_SUCCESS; in ares_mkquery()
Dares_process.c611 end_query(channel, query, ARES_SUCCESS, abuf, alen); in process_answer()
1128 != ARES_SUCCESS) in same_questions()
1146 != ARES_SUCCESS) in same_questions()
1224 if (status == ARES_SUCCESS) in end_query()
1247 if ((status != ARES_SUCCESS) || (sendreq->data_storage == NULL)) in end_query()
/external/curl/lib/
Dasyn-ares.c134 if(status != ARES_SUCCESS) { in Curl_resolver_init()
167 if(ARES_SUCCESS != ares_dup((ares_channel*)to, (ares_channel)from)) in Curl_resolver_duphandle()
477 if(res->last_status != ARES_SUCCESS) in query_completed_cb()
604 case ARES_SUCCESS: in Curl_set_dns_servers()

12