Home
last modified time | relevance | path

Searched refs:servname (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/
Dgetaddrinfo.cpp261 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints, in getaddrinfo_numeric() argument
273 return android_getaddrinfofornetcontext(hostname, servname, &hints, &netcontext, result, in getaddrinfo_numeric()
322 int android_getaddrinfofornetcontext(const char* hostname, const char* servname, in android_getaddrinfofornetcontext() argument
337 if (hostname == nullptr && servname == nullptr) { in android_getaddrinfofornetcontext()
353 error = get_portmatch(&tmp, servname); in android_getaddrinfofornetcontext()
374 error = explore_null(&tmp, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
376 error = explore_numeric_scope(&tmp, hostname, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
397 return resolv_getaddrinfo(hostname, servname, hints, netcontext, res, event); in android_getaddrinfofornetcontext()
409 int resolv_getaddrinfo(const char* _Nonnull hostname, const char* servname, const addrinfo* hints, in resolv_getaddrinfo() argument
412 if (hostname == nullptr && servname == nullptr) return EAI_NONAME; in resolv_getaddrinfo()
[all …]
Dgetaddrinfo.h24 int android_getaddrinfofornetcontext(const char* hostname, const char* servname,
29 int resolv_getaddrinfo(const char* hostname, const char* servname, const addrinfo* hints,
Dresolv_private.h180 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints,
/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp338 const char* servname; in TEST_F() member
344 servname ? servname : "(null)"); in TEST_F()
391 int rv = resolv_getaddrinfo("localhost", config.servname, &hints, &mNetcontext, &result, in TEST_F()
Dresolv_integration_test.cpp97 extern "C" int android_getaddrinfofornet(const char* hostname, const char* servname,