Home
last modified time | relevance | path

Searched refs:pHost (Results 1 – 2 of 2) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/base/
Dsocketaddress.cc212 if (hostent* pHost = SafeGetHostByName(hostname_.c_str(), &errcode)) { in ResolveIP() local
213 ip_ = NetworkToHost32(*reinterpret_cast<uint32*>(pHost->h_addr_list[0])); in ResolveIP()
216 FreeHostEnt(pHost); in ResolveIP()
345 if (hostent* pHost = SafeGetHostByName(hostname.c_str(), &errcode)) { in GetLocalIPs() local
346 for (size_t i = 0; pHost->h_addr_list[i]; ++i) { in GetLocalIPs()
348 NetworkToHost32(*reinterpret_cast<uint32 *>(pHost->h_addr_list[i])); in GetLocalIPs()
351 FreeHostEnt(pHost); in GetLocalIPs()
Dwin32socketserver.cc662 hostent* pHost = reinterpret_cast<hostent*>(dns_->buffer); in OnDnsNotify() local
663 uint32 net_ip = *reinterpret_cast<uint32*>(pHost->h_addr_list[0]); in OnDnsNotify()