Searched refs:hostent (Results 1 – 5 of 5) sorted by relevance
34 struct hostent;88 void ReceiveDNSReply(int status, struct hostent* hostent);90 struct hostent* hostent);
230 void DNSClient::ReceiveDNSReply(int status, struct hostent* hostent) { in ReceiveDNSReply() argument242 hostent != nullptr && in ReceiveDNSReply()243 hostent->h_addrtype == address_.family() && in ReceiveDNSReply()244 static_cast<size_t>(hostent->h_length) == in ReceiveDNSReply()246 hostent->h_addr_list != nullptr && in ReceiveDNSReply()247 hostent->h_addr_list[0] != nullptr) { in ReceiveDNSReply()250 hostent->h_addr_list[0]), hostent->h_length)); in ReceiveDNSReply()297 struct hostent* hostent) { in ReceiveDNSReplyCB() argument299 res->ReceiveDNSReply(status, hostent); in ReceiveDNSReplyCB()
239 struct hostent hostent_;
125 static bool sendhostent(SocketClient *c, struct hostent *hp) { in sendhostent()381 struct hostent* hp = android_gethostbynamefornet(mName, mAf, mNetId, mMark); in run()501 struct hostent* hp; in run()
320 std::string ToString(const hostent* he) const { in ToString()432 const hostent* result = gethostbyname("hello"); in TEST_F()472 const hostent* result = gethostbyname(mapping.host.c_str()); in TEST_F()622 const hostent* result = gethostbyname("nihao"); in TEST_F()