Home
last modified time | relevance | path

Searched defs:hp (Results 1 – 15 of 15) sorted by relevance

/packages/modules/DnsResolver/
Dgethnamaddr.cpp115 const HEADER* hp; in getanswer() local
370 int resolv_gethostbyname(const char* name, int af, hostent* hp, char* buf, size_t buflen, in resolv_gethostbyname()
461 int resolv_gethostbyaddr(const void* _Nonnull addr, socklen_t len, int af, hostent* hp, char* buf, in resolv_gethostbyaddr()
600 static void pad_v4v6_hostent(struct hostent* _Nonnull hp, char** _Nonnull bpp, char* _Nonnull ep) { in pad_v4v6_hostent()
644 hostent* hp = getanswer(buf.get(), n, name, type, info->hp, info->buf, info->buflen, &he); in dns_gethtbyname() local
706 hostent* hp = getanswer(buf.get(), n, qbuf, T_PTR, info->hp, info->buf, info->buflen, &he); in dns_gethtbyaddr() local
Dres_mkquery.cpp106 HEADER* hp; in res_nmkquery() local
196 HEADER* hp = reinterpret_cast<HEADER*>(buf.data()); in res_nopt() local
Dsethostent.cpp66 struct hostent *hp, hent; in _hf_gethtbyname2() local
189 struct hostent* hp; in _hf_gethtbyaddr() local
Dres_query.cpp109 HEADER* hp = reinterpret_cast<HEADER*>(answer.data()); in res_nquery() local
208 HEADER* hp = reinterpret_cast<HEADER*>(answer.data()); in res_nsearch() local
DDnsProxyListener.cpp207 int extractGetHostByNameAnswers(const hostent* hp, std::vector<std::string>* ip_addrs) { in extractGetHostByNameAnswers()
256 auto hp = reinterpret_cast<HEADER*>(msg.data()); in setQueryId() local
412 bool onlyNonSpecialUseIPv4Addresses(struct hostent* hp) { in onlyNonSpecialUseIPv4Addresses()
434 void logDnsQueryResult(const struct hostent* hp) { in logDnsQueryResult()
482 bool synthesizeNat64PrefixWithARecord(const netdutils::IPPrefix& prefix, struct hostent* hp) { in synthesizeNat64PrefixWithARecord()
732 static bool sendhostent(SocketClient* c, hostent* hp) { in sendhostent()
1261 hostent* hp = nullptr; in run() local
1423 hostent* hp = nullptr; in run() local
Dhostent.h37 struct hostent* hp; member
Dres_send.cpp456 HEADER* hp = (HEADER*)(void*)ans.data(); in res_nsend() local
563 auto hp = reinterpret_cast<const HEADER*>(msg.data()); in res_nsend() local
710 const HEADER* hp = (const HEADER*)(const void*)msg.data(); in send_vc() local
1028 const HEADER* hp = (const HEADER*)(const void*)msg.data(); in ignoreInvalidAnswer() local
Dgetaddrinfo.cpp825 const HEADER* hp; in getanswer() local
1609 HEADER* hp = (HEADER*)(void*)t->answer.data(); in doQuery() local
1718 HEADER* hp; in res_searchN() local
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DMetricsUtils.java89 public static int addValueToLogHistogram(long x, SparseIntArray histogram, LogHistParms hp) { in addValueToLogHistogram()
128 LogHistParms hp) { in logHistogramToGenericBuckets()
152 public static int addValueToLinearHistogram(int x, SparseIntArray histogram, int[] hp) { in addValueToLinearHistogram()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DMetricsUtilsTest.java190 MetricsUtils.LogHistParms hp, int expectedKey, int expectedValue) { in bucketValueAndVerify()
195 private void bucketValueAndVerify(String prefix, int value, SparseIntArray h, int[] hp, in bucketValueAndVerify()
/packages/modules/DnsResolver/tests/fuzzer/
Dresolv_gethostbyname_fuzzer.cpp18 hostent* hp; in TestResolvGethostbyname() local
Dresolv_gethostbyaddr_fuzzer.cpp17 hostent* hp; in TestResolvGethostbyaddr() local
/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp1442 hostent* hp = nullptr; in TEST_F() local
1486 struct hostent* hp = nullptr; in TEST_F() local
1508 hostent* hp = nullptr; in TEST_F() local
1549 hostent* hp = nullptr; in TEST_F() local
1569 hostent* hp = nullptr; in TEST_F() local
1601 struct hostent* hp = nullptr; in TEST_F() local
1652 struct hostent* hp = nullptr; in TEST_F() local
1674 struct hostent* hp = nullptr; in TEST_F() local
Dresolv_gold_test.cpp211 hostent* hp = nullptr; in VerifyGetHostByName() local
Dresolv_integration_test.cpp2983 auto hp = reinterpret_cast<HEADER*>(buf); in TEST_F() local