Home
last modified time | relevance | path

Searched refs:host (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_makeaddr.c40 inet_makeaddr(in_addr_t net, in_addr_t host) in inet_makeaddr() argument
45 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); in inet_makeaddr()
47 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); in inet_makeaddr()
49 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); in inet_makeaddr()
51 addr = net | host; in inet_makeaddr()
/bionic/libc/dns/net/
Dgetnameinfo.c109 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo() argument
112 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags, in getnameinfo()
116 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, in android_getnameinfofornet() argument
123 return getnameinfo_inet(sa, salen, host, hostlen, in android_getnameinfofornet()
126 return getnameinfo_local(sa, salen, host, hostlen, in android_getnameinfofornet()
140 char *host, socklen_t hostlen, char *serv, socklen_t servlen, in getnameinfo_local() argument
153 if (host && hostlen > 0) in getnameinfo_local()
154 strlcpy(host, sun->sun_path, in getnameinfo_local()
166 char *host, socklen_t hostlen, in getnameinfo_inet() argument
269 if (host == NULL || hostlen == 0) { in getnameinfo_inet()
[all …]
Dgethnamaddr.c1575 gethostbyname_r(name, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &result, &h_errno); in gethostbyname()
1585 gethostbyname2_r(name, af, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &result, &h_errno); in gethostbyname2()
1597 hp = gethostbyname_internal(name, af, res, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), in android_gethostbynamefornet()
1620 return android_gethostbyaddrfornet_proxy_internal(addr, len, af, &rs->host, rs->hostbuf, in android_gethostbyaddrfornet_proxy()
1635 memset(&rs->host, 0, sizeof(rs->host)); in gethostent()
1636 return netbsd_gethostent_r(rs->hostf, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &h_errno); in gethostent()
/bionic/benchmarks/
DAndroid.mk78 include $(LOCAL_PATH)/../build/run-on-host.mk
81 bionic-benchmarks-run-on-host32: bionic-benchmarks bionic-prepare-run-on-host
88 bionic-benchmarks-run-on-host64: bionic-benchmarks bionic-prepare-run-on-host
/bionic/tests/libs/
DAndroid.build.testlib.mk18 build_type := host
DAndroid.mk353 build_type := host
499 LOCAL_STATIC_LIBRARIES := libziparchive-host liblog libbase libz libutils
/bionic/libc/dns/include/
Dresolv_static.h27 struct hostent host; member
/bionic/tests/
DAndroid.mk153 build_type := host
179 build_type := host
188 build_type := host
199 build_type := host
211 build_type := host
226 build_type := host
243 build_type := host
267 build_type := host
432 build_type := host
502 include $(LOCAL_PATH)/../build/run-on-host.mk
[all …]
Dnetdb_test.cpp145 char host[NI_MAXHOST]; in TEST() local
150 host, sizeof(host), NULL, 0, 0)); in TEST()
151 ASSERT_STREQ(host, "localhost"); in TEST()
163 char host[NI_MAXHOST]; in TEST() local
168 host, sizeof(host), NULL, 0, 0)); in TEST()
169 VerifyLocalhostName(host); in TEST()
DAndroid.build.mk22 ifeq ($(build_type),host)
117 ifeq ($(build_type),host)
Difaddrs_test.cpp172 char host[NI_MAXHOST]; in print_sockaddr_inet() local
176 host, NI_MAXHOST, nullptr, 0, NI_NUMERICHOST); in print_sockaddr_inet()
179 strcpy(host, "???"); in print_sockaddr_inet()
181 printf("\t\t%s: <%s>\n", what, host); in print_sockaddr_inet()
/bionic/libc/zoneinfo/
DAndroid.mk16 LOCAL_MODULE := tzdata-host
/bionic/build/
Drun-on-host.mk31 bionic-prepare-run-on-host: $(TARGET_OUT_EXECUTABLES)/$(LINKER) $(TARGET_OUT)/etc/hosts $(TARGET_OU…
/bionic/tools/bionicbb/
Dbionicbb.py134 app.run(host='0.0.0.0', debug=True)
/bionic/
DREADME.md213 The host tests require that you have `lunch`ed either an x86 or x86_64 target.
223 the host's glibc. The executables are already in your path.
233 For either host or target coverage, you must first:
253 ### Coverage from host tests
255 First, build and run the host tests as usual (see above).