/external/chromium/third_party/libjingle/source/talk/base/ |
D | nethelpers.cc | 62 hostent* SafeGetHostByName(const char* hostname, int* herrno) { in SafeGetHostByName() 66 hostent* result = NULL; in SafeGetHostByName() 70 hostent* ent = gethostbyname(hostname); in SafeGetHostByName() 78 int total_len = sizeof(hostent); in SafeGetHostByName() 91 result = static_cast<hostent*>(malloc(total_len)); in SafeGetHostByName() 95 char* p = reinterpret_cast<char*>(result) + sizeof(hostent); in SafeGetHostByName() 127 ASSERT(kInitHostentLen > sizeof(hostent)); in SafeGetHostByName() 134 char* aux = static_cast<char*>(buf) + sizeof(hostent); in SafeGetHostByName() 135 size_t aux_len = size - sizeof(hostent); in SafeGetHostByName() 136 while ((ret = gethostbyname_r(hostname, reinterpret_cast<hostent*>(buf), aux, in SafeGetHostByName() [all …]
|
D | nethelpers.h | 64 hostent* result_; 71 hostent* SafeGetHostByName(const char* hostname, int* herrno); 72 void FreeHostEnt(hostent* host);
|
D | socketaddress.cc | 212 if (hostent* pHost = SafeGetHostByName(hostname_.c_str(), &errcode)) { in ResolveIP() 345 if (hostent* pHost = SafeGetHostByName(hostname.c_str(), &errcode)) { in GetLocalIPs()
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 379 #define ENTNAME hostent 390 typedef struct hostent hostent; typedef 411 hostent * result_buf, 441 hostent * result_buf, 474 hostent * result_buf, 505 hostent * hostent; member 531 hostent * result_buf, 593 hostent * result_buf, 661 hostent * result_buf, in _nss_mdns_gethostbyname_r() 685 hostent * result_buf, in _nss_mdns_gethostbyname2_r() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | ip_util.c | 31 struct hostent *hp; in rc_get_ipaddr() 37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL) in rc_get_ipaddr() 105 struct hostent *hp; in rc_ip_hostname()
|
D | config.c | 414 struct hostent *hp; in find_match() 425 if ((hp = gethostbyname (hostname)) == (struct hostent *) NULL) in find_match()
|
/external/tcpdump/missing/ |
D | addrinfo.h | 83 extern void freehostent (struct hostent *); 89 extern struct hostent *getipnodebyaddr (const void *, size_t, int, int *); 90 extern struct hostent *getipnodebyname (const char *, int, int, int *);
|
D | getnameinfo.c | 111 struct hostent *hp;
|
/external/openssl/crypto/bio/ |
D | b_sock.c | 110 struct hostent *ent; 117 static void ghbn_free(struct hostent *a); 118 static struct hostent *ghbn_dup(struct hostent *a); 125 struct hostent *he; in BIO_get_host_ip() 296 static struct hostent *ghbn_dup(struct hostent *a) 298 struct hostent *ret; 302 ret=(struct hostent *)OPENSSL_malloc(sizeof(struct hostent)); 304 memset(ret,0,sizeof(struct hostent)); 350 static void ghbn_free(struct hostent *a) 375 struct hostent *BIO_gethostbyname(const char *name) in BIO_gethostbyname() [all …]
|
/external/openssl/apps/ |
D | s_socket.c | 100 static struct hostent *GetHostByName(char *name); 386 struct hostent *h1,*h2; in do_accept() 519 struct hostent *he; in host_ip() 570 struct hostent ent; 577 static struct hostent *GetHostByName(char *name) in GetHostByName() 579 struct hostent *ret; in GetHostByName() 605 memcpy((char *)&(ghbn_cache[lowi].ent),ret,sizeof(struct hostent)); in GetHostByName()
|
/external/quake/quake/src/WinQuake/ |
D | mplpc.cpp | 268 struct hostent HostEnt; 457 ReconstructHostEnt(struct hostent *s, void *flattened) in ReconstructHostEnt() 459 struct hostent *old = (struct hostent *) flattened; in ReconstructHostEnt() 586 struct hostent * 592 struct hostent *retVal; in gethostbyname() 608 retVal = (struct hostent *) r->Data; in gethostbyname() 624 struct hostent * 631 struct hostent *retVal; in gethostbyaddr() 649 retVal = (struct hostent *) r->Data; in gethostbyaddr()
|
D | net_wins.cpp | 51 struct hostent FAR * (PASCAL FAR *pgethostbyname)(const char FAR * name); 52 struct hostent FAR * (PASCAL FAR *pgethostbyaddr)(const char FAR * addr, 93 struct hostent *local = NULL; in WINS_GetLocalAddress() 512 struct hostent *hostentry; in WINS_GetNameFromAddr() 529 struct hostent *hostentry; in WINS_GetAddrFromName()
|
D | winquake.h | 110 struct hostent FAR * (PASCAL FAR *pgethostbyname)(const char FAR * name); 111 struct hostent FAR * (PASCAL FAR *pgethostbyaddr)(const char FAR * addr,
|
D | mpdosock.h | 147 struct hostent { struct 740 struct hostent FAR * PASCAL FAR gethostbyaddr(const char FAR * addr, 743 struct hostent FAR * PASCAL FAR gethostbyname(const char FAR * name); 781 typedef struct hostent HOSTENT; 782 typedef struct hostent *PHOSTENT; 783 typedef struct hostent FAR *LPHOSTENT;
|
D | net_mp.cpp | 51 struct hostent *local = NULL; in MPATH_Init() 380 struct hostent *hostentry; in MPATH_GetNameFromAddr() 397 struct hostent *hostentry; in MPATH_GetAddrFromName()
|
D | net_udp.cpp | 141 struct hostent *local; in UDP_Init() 453 struct hostent *hostentry; in UDP_GetNameFromAddr() 470 struct hostent *hostentry; in UDP_GetAddrFromName()
|
/external/quake/quake/src/QW/client/ |
D | winquake.h | 109 struct hostent FAR * (PASCAL FAR *pgethostbyname)(const char FAR * name); 110 struct hostent FAR * (PASCAL FAR *pgethostbyaddr)(const char FAR * addr,
|
D | net_udp.c | 121 struct hostent *h; in NET_StringToAdr()
|
D | net_wins.c | 97 struct hostent *h; in NET_StringToAdr()
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 51 struct hostent *hp; in getnameinfo() 158 struct hostent *hp; in getaddrinfo()
|
/external/dropbear/ |
D | fake-rfc2553.c | 50 struct hostent *hp; in getnameinfo() 153 struct hostent *hp; in getaddrinfo()
|
/external/tcpdump/ |
D | addrtoname.c | 105 static struct hostent * 108 static struct hostent host; in win32_gethostbyaddr() 228 register struct hostent *hp; in getname() 276 register struct hostent *hp; in getname6()
|
/external/openssh/ |
D | logintest.c | 88 struct hostent *he; in testAPI()
|
/external/openssl/ |
D | e_os.h | 713 struct hostent *gethostbyname(const char *name); 714 struct hostent *gethostbyaddr(const char *addr, int length, int type);
|
/external/quake/quake/src/QW/qwfwd/ |
D | qwfwd.c | 106 struct hostent *phe; in connectsock()
|