Searched refs:h_name (Results 1 – 5 of 5) sorted by relevance
/packages/modules/DnsResolver/ |
D | sethostent.cpp | 89 hent.h_name = NULL; in _hf_gethtbyname2() 107 if (hp->h_name == nullptr) { in _hf_gethtbyname2() 112 const char* h_name = hp->h_name; in _hf_gethtbyname2() local 113 if (strcasecmp(h_name, name) != 0) { in _hf_gethtbyname2() 125 HENT_SCOPY(hent.h_name, h_name, ptr, len); in _hf_gethtbyname2() 175 if (hent.h_name == nullptr) { in _hf_gethtbyname2() 181 const char* h_name = hent.h_name; in _hf_gethtbyname2() local 182 HENT_SCOPY(hp->h_name, h_name, ptr, len); in _hf_gethtbyname2()
|
D | gethnamaddr.cpp | 130 hent->h_name = NULL; in getanswer() 170 hent->h_name = bp; in getanswer() 173 qname = hent->h_name; in getanswer() 223 hent->h_name = bp; in getanswer() 269 hent->h_name = bp; in getanswer() 283 if (hent->h_name == NULL) goto no_recovery; in getanswer() 284 const char* h_name = hent->h_name; in getanswer() local 285 if (strcasecmp(h_name, bp) != 0) { in getanswer() 286 LOG(DEBUG) << __func__ << ": asked for \"" << h_name << "\", got \"" << bp in getanswer() 306 hent->h_name = bp; in getanswer() [all …]
|
D | DnsProxyListener.cpp | 803 if (hp->h_name != nullptr) { in sendhostent() 804 const char* h_name = hp->h_name; in sendhostent() local 805 success &= sendLenAndData(c, strlen(h_name) + 1, hp->h_name); in sendhostent() 1548 (hp && hp->h_name) ? hp->h_name : "null", isUidBlocked, {}, 0); in run()
|
/packages/modules/Connectivity/tests/cts/net/jni/ |
D | NativeDnsJni.c | 177 my_hostent->h_name ? my_hostent->h_name : "null"); in Java_android_net_cts_DnsTest_testNativeDns() 179 if (my_hostent->h_name == NULL) return JNI_FALSE; in Java_android_net_cts_DnsTest_testNativeDns()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 3662 std::string result_str = result->h_name ? result->h_name : "null"; in TEST_F() 3669 result_str = result->h_name ? result->h_name : "null"; in TEST_F() 3707 std::string result_str = result->h_name ? result->h_name : "null"; in TEST_F() 3723 result_str = result->h_name ? result->h_name : "null"; in TEST_F() 3753 result_str = result->h_name ? result->h_name : "null"; in TEST_F() 3785 EXPECT_STREQ("hello.example.com", result->h_name); in TEST_F()
|