HomeSort by relevance Sort by last modified time
    Searched refs:hostent (Results 51 - 75 of 154) sorted by null

1 23 4 5 6 7

  /external/chromium/third_party/libjingle/source/talk/base/
nethelpers.cc 62 hostent* SafeGetHostByName(const char* hostname, int* herrno) {
66 hostent* result = NULL;
68 // On Windows we have to allocate a buffer, and manually copy the hostent,
70 hostent* ent = gethostbyname(hostname);
78 int total_len = sizeof(hostent);
91 result = static_cast<hostent*>(malloc(total_len));
95 char* p = reinterpret_cast<char*>(result) + sizeof(hostent);
97 // Copy the hostent into it, along with its embedded pointers.
127 ASSERT(kInitHostentLen > sizeof(hostent));
134 char* aux = static_cast<char*>(buf) + sizeof(hostent);
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/
netdb.h 98 struct hostent { struct
230 void freehostent(struct hostent *);
231 struct hostent *gethostbyaddr(const void *, socklen_t, int);
232 struct hostent *gethostbyname(const char *);
233 struct hostent *gethostbyname2(const char *, int);
234 struct hostent *gethostent(void);
235 int gethostent_r(struct hostent *, char *, int, int *, FILE **);
236 struct hostent *getipnodebyaddr(const void *, size_t, int, int *);
237 struct hostent *getipnodebyname(const char *, int, int, int *);
282 struct hostent * _gethostbynisname(const char *, int)
    [all...]
  /external/ppp/pppd/plugins/radius/
ip_util.c 31 struct hostent *hp;
37 else if ((hp = gethostbyname (host)) == (struct hostent *) NULL)
105 struct hostent *hp;
  /bionic/libc/private/
resolv_static.h 27 struct hostent host;
  /external/tcpdump/missing/
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 *);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
netdb.h 96 struct hostent struct
124 extern struct hostent *gethostent (void);
131 extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len,
138 extern struct hostent *gethostbyname (__const char *__name);
149 extern struct hostent *gethostbyname2 (__const char *__name, int __af);
161 extern int gethostent_r (struct hostent *__restrict __result_buf,
163 struct hostent **__restrict __result,
168 struct hostent *__restrict __result_buf,
170 struct hostent **__restrict __result,
174 struct hostent *__restrict __result_buf
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/
netdb.h 96 struct hostent struct
124 extern struct hostent *gethostent (void);
131 extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len,
138 extern struct hostent *gethostbyname (__const char *__name);
149 extern struct hostent *gethostbyname2 (__const char *__name, int __af);
161 extern int gethostent_r (struct hostent *__restrict __result_buf,
163 struct hostent **__restrict __result,
168 struct hostent *__restrict __result_buf,
170 struct hostent **__restrict __result,
174 struct hostent *__restrict __result_buf
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/
netdb.h 96 struct hostent struct
124 extern struct hostent *gethostent (void);
131 extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len,
138 extern struct hostent *gethostbyname (__const char *__name);
149 extern struct hostent *gethostbyname2 (__const char *__name, int __af);
161 extern int gethostent_r (struct hostent *__restrict __result_buf,
163 struct hostent **__restrict __result,
168 struct hostent *__restrict __result_buf,
170 struct hostent **__restrict __result,
174 struct hostent *__restrict __result_buf
    [all...]
  /external/mdnsresponder/mDNSPosix/
nss_mdns.c 379 #define ENTNAME hostent
385 // For hostent
390 typedef struct hostent hostent; typedef in typeref:struct:hostent
411 hostent * result_buf,
441 hostent * result_buf,
474 hostent * result_buf,
505 hostent * hostent; member in struct:result_map
531 hostent * result_buf
    [all...]
  /bionic/libc/netbsd/
gethnamaddr.c 107 static struct hostent *getanswer(const querybuf *, int, const char *, int,
110 static void map_v4v6_hostent(struct hostent *, char **, char *);
115 static struct hostent *_gethtent(void);
118 struct hostent *ht_gethostbyname(char *);
119 struct hostent *ht_gethostbyaddr(const char *, int, int);
125 static struct hostent *_gethtbyname2(const char *, int);
129 static struct hostent *gethostbyname_internal(const char *, int, res_state, const char *, int);
176 static struct hostent *
471 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen,
472 struct hostent**result, int *errorp
    [all...]
  /system/core/libcutils/
socket_network_client.c 41 struct hostent *hp;
  /external/chromium-libpac/src/
proxy_resolver_js_bindings.cc 65 struct hostent* he = gethostbyname(host.c_str());
76 struct hostent* he = gethostbyname(host.c_str());
  /external/chromium_org/third_party/openssl/openssl/crypto/bio/
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;
296 static struct hostent *ghbn_dup(struct hostent *a)
298 struct hostent *ret;
302 ret=(struct hostent *)OPENSSL_malloc(sizeof(struct hostent));
    [all...]
  /external/openssl/crypto/bio/
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;
296 static struct hostent *ghbn_dup(struct hostent *a)
298 struct hostent *ret;
302 ret=(struct hostent *)OPENSSL_malloc(sizeof(struct hostent));
    [all...]
  /system/extras/tests/bionic/libc/common/
test_gethostbyname.c 39 struct hostent* hent;
  /external/chromium_org/third_party/openssl/openssl/apps/
s_socket.c 100 static struct hostent *GetHostByName(char *name);
386 struct hostent *h1,*h2;
519 struct hostent *he;
570 struct hostent ent;
577 static struct hostent *GetHostByName(char *name)
579 struct hostent *ret;
605 memcpy((char *)&(ghbn_cache[lowi].ent),ret,sizeof(struct hostent));
  /external/openssl/apps/
s_socket.c 100 static struct hostent *GetHostByName(char *name);
386 struct hostent *h1,*h2;
519 struct hostent *he;
570 struct hostent ent;
577 static struct hostent *GetHostByName(char *name)
579 struct hostent *ret;
605 memcpy((char *)&(ghbn_cache[lowi].ent),ret,sizeof(struct hostent));
  /external/dropbear/
fake-rfc2553.c 50 struct hostent *hp;
153 struct hostent *hp;
  /external/openssh/openbsd-compat/
fake-rfc2553.c 51 struct hostent *hp;
158 struct hostent *hp;
  /bionic/libc/netbsd/net/
getnameinfo.c 163 struct hostent *hostResult =
186 struct hostent *hp;
320 struct hostent android_proxy_hostent;
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/
kernel_proxy_mock.h 66 MOCK_METHOD1(gethostbyname, struct hostent*(const char*));
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_network.c 115 struct hostent *host = NULL;
  /external/mesa3d/src/gallium/auxiliary/util/
u_network.c 115 struct hostent *host = NULL;
  /system/netd/
DnsProxyListener.cpp 99 static bool sendhostent(SocketClient *c, struct hostent *hp) {
343 struct hostent* hp;
479 struct hostent* hp;
  /cts/tests/tests/net/jni/
NativeDnsJni.c 141 struct hostent *my_hostent = gethostbyname("www.youtube.com");

Completed in 440 milliseconds

1 23 4 5 6 7