Home
last modified time | relevance | path

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

/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/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/tools/versioner/src/
DAndroid.bp4 defaults: ["llvm-build-host-tools-defaults"],
39 host: {
/bionic/tests/
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()
Drun-on-host.sh3 . $(dirname $0)/../build/run-on-host.sh
DAndroid.bp560 host: {
639 host: {
1070 // Tests to run on the host and linked against glibc. Run with:
/bionic/benchmarks/spawn/
DAndroid.bp97 // When this binary is installed to host/linux-x86/bin, its runpath is ${ORIGIN}/../lib64, which
98 // is fine for finding host/linux-x86/lib64/libc++.so. When it's installed to
99 // host/linux-x86/benchmarktest64/bionic-spawn-benchmarks, the runpath needs an extra "..".
/bionic/
DREADME.md240 running a host version of the test executable and dumping the list of
242 have the same number of tests, and the host version of the executable
256 The host tests require that you have `lunch`ed either an x86 or x86_64 target.
261 $ ./tests/run-on-host.sh 32
262 $ ./tests/run-on-host.sh 64 # For x86_64-bit *targets* only.
270 the host's glibc.
272 $ ./tests/run-on-host.sh glibc
277 For either host or target coverage, you must first:
297 ### Coverage from host tests
299 First, build and run the host tests as usual (see above).
Dandroid-changes-for-ndk-developers.md301 DT_NEEDED entries that point to a file on the build host, something that
317 a path on a build host instead of the SONAME.
/bionic/benchmarks/
DREADME.md24 See the `benchmarks/run-on-host.sh` script. The host benchmarks can be run with 32-bit or 64-bit
25 Bionic, or the host glibc.
38 However, for the host bionic benchmarks (`bionic-benchmarks-glibc`), the default is to use
39 `suites/host.xml`.
Drun-on-host.sh3 . $(dirname $0)/../build/run-on-host.sh
DAndroid.bp97 // Build benchmarks for the host (against glibc!). Run with:
/bionic/docs/
Ddefines.md13 seen on Android devices, it is possible to use bionic on the host too.
20 of the OS and needs to behave differently on the host than on the device.
22 remember that it is possible -- if unusual -- to use bionic on the host).
Dlibc_assembler.md119 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/dns/include/
Dresolv_static.h27 struct hostent host; member
/bionic/apex/
DAndroid.bp67 name: "runtime-module-host-exports",
/bionic/linker/
DAndroid.bp2 // linker_wrapper - Linux Bionic (on the host)
5 // This is used for bionic on (host) Linux to bootstrap our linker embedded into
/bionic/tests/libs/
DAndroid.bp1166 host: {
1167 // TODO (dimitry): host ld.gold does not yet support -z global
1194 host: {
1195 // TODO (dimitry): host ld.gold does not yet support -z global
/bionic/libc/malloc_debug/
DREADME.md610 The outer layer of quoting is for the shell on the host, to ensure that the