Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_makeaddr.c39 inet_makeaddr(in_addr_t net, in_addr_t host) in inet_makeaddr() argument
44 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); in inet_makeaddr()
46 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); in inet_makeaddr()
48 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); in inet_makeaddr()
50 addr = net | host; in inet_makeaddr()
/bionic/libc/dns/net/
Dgetnameinfo.c113 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo() argument
116 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags, in getnameinfo()
120 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, in android_getnameinfofornet() argument
127 return getnameinfo_inet(sa, salen, host, hostlen, in android_getnameinfofornet()
130 return getnameinfo_local(sa, salen, host, hostlen, in android_getnameinfofornet()
144 char *host, socklen_t hostlen, char *serv, socklen_t servlen, in getnameinfo_local() argument
157 if (host && hostlen > 0) in getnameinfo_local()
158 strlcpy(host, sun->sun_path, in getnameinfo_local()
170 char *host, socklen_t hostlen, in getnameinfo_inet() argument
275 if (host == NULL || hostlen == 0) { in getnameinfo_inet()
[all …]
Dgethnamaddr.c1542 gethostbyname_r(name, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &result, &h_errno); in gethostbyname()
1552 gethostbyname2_r(name, af, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &result, &h_errno); in gethostbyname2()
1587 hp = gethostbyname_internal(name, af, res, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), in android_gethostbynamefornetcontext()
1618 return android_gethostbyaddrfornetcontext_proxy_internal(addr, len, af, &rs->host, rs->hostbuf, in android_gethostbyaddrfornetcontext_proxy()
1633 memset(&rs->host, 0, sizeof(rs->host)); in gethostent()
1634 return netbsd_gethostent_r(rs->hostf, &rs->host, rs->hostbuf, sizeof(rs->hostbuf), &h_errno); in gethostent()
/bionic/tools/versioner/src/
DAndroid.bp4 defaults: ["llvm-build-host-tools-defaults"],
39 host: {
/bionic/tests/libs/
DAndroid.build.testlib.host.mk18 build_type := host
DAndroid.build.testlib.mk17 include $(LOCAL_PATH)/Android.build.testlib.host.mk
DAndroid.bp590 host: {
591 // TODO (dimitry): host ld.gold does not yet support -z global
618 host: {
619 // TODO (dimitry): host ld.gold does not yet support -z global
/bionic/tests/
DAndroid.build.mk22 ifeq ($(build_type),host)
32 ifeq ($(build_type),host)
123 ifeq ($(build_type),host)
Drun-on-host.sh3 . $(dirname $0)/../build/run-on-host.sh
Dnetdb_test.cpp145 char host[NI_MAXHOST]; in TEST() local
150 host, sizeof(host), nullptr, 0, 0)); in TEST()
151 ASSERT_STREQ(host, "localhost"); in TEST()
163 char host[NI_MAXHOST]; in TEST() local
168 host, sizeof(host), nullptr, 0, 0)); in TEST()
169 VerifyLocalhostName(host); in TEST()
Difaddrs_test.cpp174 char host[NI_MAXHOST]; in print_sockaddr_inet() local
178 host, NI_MAXHOST, nullptr, 0, NI_NUMERICHOST); in print_sockaddr_inet()
181 strcpy(host, "???"); in print_sockaddr_inet()
183 printf("\t\t%s: <%s>\n", what, host); in print_sockaddr_inet()
DAndroid.bp277 host: {
713 // Tests to run on the host and linked against glibc. Run with:
/bionic/libc/dns/include/
Dresolv_static.h27 struct hostent host; member
/bionic/benchmarks/
DREADME.md27 See the benchmarks/run-on-host.sh script. The host benchmarks can be run
28 with 32 bit or 64 bit bionic, or the host glibc.
42 However, for the host bionic benchmarks (bionic-benchmarks-glibc), the default
43 is to use `suites/host.xml`.
Drun-on-host.sh3 . $(dirname $0)/../build/run-on-host.sh
DAndroid.bp83 // Build benchmarks for the host (against glibc!). Run with:
/bionic/
DREADME.md245 running a host version of the test executable and dumping the list of
247 have the same number of tests, and the host version of the executable
261 The host tests require that you have `lunch`ed either an x86 or x86_64 target.
266 $ ./tests/run-on-host.sh 32
267 $ ./tests/run-on-host.sh 64 # For x86_64-bit *targets* only.
275 the host's glibc.
277 $ ./tests/run-on-host.sh glibc
282 For either host or target coverage, you must first:
302 ### Coverage from host tests
304 First, build and run the host tests as usual (see above).
Dandroid-changes-for-ndk-developers.md286 DT_NEEDED entries that point to a file on the build host, something that
302 a path on a build host instead of the SONAME.
/bionic/tools/bionicbb/
Dbionicbb.py134 app.run(host='0.0.0.0', debug=True)
/bionic/linker/
DAndroid.bp20 // This is used for bionic on (host) Linux to bootstrap our linker embedded into
/bionic/docs/
Dlibc_assembler.md118 on device. If you are trying to run this using adb directly from a host
Delf-tls.md641 into the host architecture. TLS accesses in the app solib (whether ELF TLS, Bionic slots, or
642 `pthread_internal_t` fields) become host accesses. Laying out TLS memory differently across
732 run on the host](http://b/31559095))
/bionic/libc/malloc_debug/
DREADME.md610 The outer layer of quoting is for the shell on the host, to ensure that the