Lines Matching refs:error
186 error = EAI_MEMORY; \
194 error = get_port((ai), (serv), 0); \
195 if (error != 0) goto free; \
335 int error = 0; in android_getaddrinfofornetcontext() local
339 error = EAI_NONAME; in android_getaddrinfofornetcontext()
343 if (hints && (error = validateHints(hints))) break; in android_getaddrinfofornetcontext()
354 error = get_portmatch(&tmp, servname); in android_getaddrinfofornetcontext()
355 if (error) break; in android_getaddrinfofornetcontext()
375 error = explore_null(&tmp, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
377 error = explore_numeric_scope(&tmp, hostname, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
379 if (error) break; in android_getaddrinfofornetcontext()
383 if (error) break; in android_getaddrinfofornetcontext()
390 error = EAI_NODATA; in android_getaddrinfofornetcontext()
394 error = EAI_NONAME; in android_getaddrinfofornetcontext()
401 if (error) { in android_getaddrinfofornetcontext()
407 return error; in android_getaddrinfofornetcontext()
422 int error = EAI_FAIL; in resolv_getaddrinfo() local
423 if (hints && (error = validateHints(hints))) { in resolv_getaddrinfo()
425 return error; in resolv_getaddrinfo()
447 error = explore_fqdn(&tmp, hostname, servname, &cur->ai_next, netcontext, event); in resolv_getaddrinfo()
458 return (error == 0) ? EAI_FAIL : error; in resolv_getaddrinfo()
471 int error = 0; in explore_fqdn() local
474 if ((error = get_portmatch(pai, servname))) return error; in explore_fqdn()
477 error = dns_getaddrinfo(hostname, pai, netcontext, &result, event); in explore_fqdn()
479 if (error) { in explore_fqdn()
481 return error; in explore_fqdn()
486 if ((error = get_port(cur, servname, 0))) { in explore_fqdn()
488 return error; in explore_fqdn()
505 int error; in explore_null() local
549 return error; in explore_null()
560 int error; in explore_numeric() local
590 error = get_canonname(pai, cur->ai_next, canonname); in explore_numeric()
591 if (error != 0) { in explore_numeric()
593 return error; in explore_numeric()
606 return error; in explore_numeric()
616 int error; in explore_numeric_scope() local
650 error = explore_numeric(pai, addr, servname, res, hostname); in explore_numeric_scope()
651 if (error == 0) { in explore_numeric_scope()
667 return error; in explore_numeric_scope()
1361 goto error; in _rfc6724_sort()
1376 goto error; in _rfc6724_sort()
1390 error: in _rfc6724_sort()
1491 int error; in _gethtent() local
1522 error = getaddrinfo_numeric(addr, nullptr, *pai, &res0); in _gethtent()
1523 if (error) goto again; in _gethtent()
1545 int error = getaddrinfo_numeric(host.c_str(), nullptr, *pai, &res0); in getCustomHosts() local
1546 if (!error && res0 != nullptr) { in getCustomHosts()