Searched refs:servname (Results 1 – 6 of 6) sorted by relevance
/packages/modules/DnsResolver/ |
D | getaddrinfo.cpp | 246 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints, in getaddrinfo_numeric() argument 258 return android_getaddrinfofornetcontext(hostname, servname, &hints, &netcontext, result, in getaddrinfo_numeric() 307 int android_getaddrinfofornetcontext(const char* hostname, const char* servname, in android_getaddrinfofornetcontext() argument 322 if (hostname == nullptr && servname == nullptr) { in android_getaddrinfofornetcontext() 338 error = get_portmatch(&tmp, servname); in android_getaddrinfofornetcontext() 359 error = explore_null(&tmp, servname, &cur->ai_next); in android_getaddrinfofornetcontext() 361 error = explore_numeric_scope(&tmp, hostname, servname, &cur->ai_next); in android_getaddrinfofornetcontext() 382 return resolv_getaddrinfo(hostname, servname, hints, netcontext, res, event); in android_getaddrinfofornetcontext() 394 int resolv_getaddrinfo(const char* _Nonnull hostname, const char* servname, const addrinfo* hints, in resolv_getaddrinfo() argument 397 if (hostname == nullptr && servname == nullptr) return EAI_NONAME; in resolv_getaddrinfo() [all …]
|
D | getaddrinfo.h | 24 int android_getaddrinfofornetcontext(const char* hostname, const char* servname, 29 int resolv_getaddrinfo(const char* hostname, const char* servname, const addrinfo* hints,
|
D | resolv_private.h | 183 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints,
|
/packages/modules/DnsResolver/tests/fuzzer/ |
D | resolv_getaddrinfo_fuzzer.cpp | 14 std::string servname = fdp.ConsumeRandomLengthString(MAXHOSTNAMELEN); in TestResolvGetaddrinfo() local 22 resolv_getaddrinfo(hostname.c_str(), fdp.ConsumeBool() ? servname.c_str() : nullptr, in TestResolvGetaddrinfo()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_unit_test.cpp | 341 const char* servname; in TEST_F() member 347 servname ? servname : "(null)"); in TEST_F() 394 int rv = resolv_getaddrinfo("localhost", config.servname, &hints, &mNetcontext, &result, in TEST_F()
|
D | resolv_integration_test.cpp | 97 extern "C" int android_getaddrinfofornet(const char* hostname, const char* servname,
|