Searched refs:hostent (Results 1 – 9 of 9) sorted by relevance
/bionic/tests/ |
D | netdb_test.cpp | 173 static void VerifyLocalhost(hostent *hent) { in VerifyLocalhost() 187 hostent* hp = gethostbyname("localhost"); in TEST() 192 hostent* hp = gethostbyname2("localhost", AF_INET); in TEST() 197 hostent hent; in TEST() 198 hostent *hp; in TEST() 208 hostent hent2; in TEST() 209 hostent *hp2; in TEST() 219 hostent hent; in TEST() 220 hostent *hp; in TEST() 230 hostent hent2; in TEST() [all …]
|
/bionic/libc/include/ |
D | netdb.h | 83 struct hostent { struct 214 struct hostent* _Nullable gethostbyaddr(const void* _Nonnull __addr, socklen_t __length, int __type… 215 …klen_t __length, int __type, struct hostent* _Nonnull __ret, char* _Nonnull __buf, size_t __buf_si… 216 struct hostent* _Nullable gethostbyname(const char* _Nonnull __name); 217 …const char* _Nonnull __name, struct hostent* _Nonnull __ret, char* _Nonnull __buf, size_t __buf_si… 218 struct hostent* _Nullable gethostbyname2(const char* _Nonnull __name, int __af); 219 …* _Nonnull __name, int __af, struct hostent* _Nonnull __ret, char* _Nonnull __buf, size_t __buf_si… 221 struct hostent* _Nullable gethostent(void);
|
/bionic/libc/dns/include/ |
D | resolv_netid.h | 84 struct hostent *android_gethostbyaddrfornet(const void *, socklen_t, int, unsigned, unsigned) __use… 85 struct hostent *android_gethostbynamefornet(const char *, int, unsigned, unsigned) __used_in_netd; 92 struct hostent *android_gethostbyaddrfornetcontext(const void *, socklen_t, int, const struct andro… 93 struct hostent *android_gethostbynamefornetcontext(const char *, int, const struct android_net_cont… 108 struct hostent *android_gethostbyaddrfornetcontext_proxy(const void *, socklen_t, int , const struc…
|
D | hostent.h | 44 struct hostent *netbsd_gethostent_r(FILE *, struct hostent *, char *, size_t, int *); 51 struct hostent *hp;
|
D | resolv_static.h | 29 struct hostent host;
|
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 145 static struct hostent *getanswer(const querybuf *, int, const char *, int, 146 res_state, struct hostent *, char *, size_t, int *); 148 static void map_v4v6_hostent(struct hostent *, char **, char *); 153 struct hostent *ht_gethostbyname(char *); 154 struct hostent *ht_gethostbyaddr(const char *, int, int); 161 static struct hostent *gethostbyname_internal(const char *, int, res_state, 162 struct hostent *, char *, size_t, int *, const struct android_net_context *); 163 static struct hostent* android_gethostbyaddrfornetcontext_proxy_internal(const void*, socklen_t, 164 int, struct hostent *, char *, size_t, int *, const struct android_net_context *); 215 static struct hostent * [all …]
|
D | sethostent.c | 62 static struct hostent *_hf_gethtbyname2(const char *, int, struct getnamaddr *); 101 struct hostent *hp; in _hf_gethtbyname() 138 struct hostent * 141 struct hostent *hp, hent; in _hf_gethtbyname2() 255 struct hostent *hp; in _hf_gethtbyaddr()
|
D | getnameinfo.c | 179 struct hostent *hp; in getnameinfo_inet()
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 34 TYPE(struct hostent); in netdb_h() 35 STRUCT_MEMBER(struct hostent, char*, h_name); in netdb_h() 36 STRUCT_MEMBER(struct hostent, char**, h_aliases); in netdb_h() 37 STRUCT_MEMBER(struct hostent, int, h_addrtype); in netdb_h() 38 STRUCT_MEMBER(struct hostent, int, h_length); in netdb_h() 39 STRUCT_MEMBER(struct hostent, char**, h_addr_list); in netdb_h() 108 FUNCTION(gethostent, struct hostent* (*f)(void)); in netdb_h()
|