Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dgetnameinfo.c116 int getnameinfo(const struct sockaddr* sa, socklen_t salen, char* host, size_t hostlen, in getnameinfo() argument
119 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags, in getnameinfo()
123 int android_getnameinfofornet(const struct sockaddr* sa, socklen_t salen, char* host, in android_getnameinfofornet() argument
130 return getnameinfo_inet(sa, salen, host, hostlen, in android_getnameinfofornet()
133 return getnameinfo_local(sa, salen, host, hostlen, in android_getnameinfofornet()
147 char *host, socklen_t hostlen, char *serv, socklen_t servlen, in getnameinfo_local() argument
160 if (host && hostlen > 0) in getnameinfo_local()
161 strlcpy(host, sun->sun_path, in getnameinfo_local()
173 char *host, socklen_t hostlen, in getnameinfo_inet() argument
278 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()
1619 return android_gethostbyaddrfornetcontext_proxy_internal(addr, len, af, &rs->host, rs->hostbuf, in android_gethostbyaddrfornetcontext_proxy()
1634 memset(&rs->host, 0, sizeof(rs->host)); in gethostent()
1635 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.bp8 defaults: ["llvm-build-host-tools-defaults"],
37 host: {
/bionic/tests/
Dnetdb_test.cpp146 char host[NI_MAXHOST]; in TEST() local
151 host, sizeof(host), nullptr, 0, 0)); in TEST()
152 ASSERT_STREQ(host, "localhost"); in TEST()
164 char host[NI_MAXHOST]; in TEST() local
169 host, sizeof(host), nullptr, 0, 0)); in TEST()
170 VerifyLocalhostName(host); in TEST()
Difaddrs_test.cpp179 char host[NI_MAXHOST]; in print_sockaddr_inet() local
183 host, NI_MAXHOST, nullptr, 0, NI_NUMERICHOST); in print_sockaddr_inet()
186 strcpy(host, "???"); in print_sockaddr_inet()
188 printf("\t\t%s: <%s>\n", what, host); in print_sockaddr_inet()
Drun-on-host.sh3 . $(dirname $0)/../build/run-on-host.sh
DAndroid.bp721 host: {
1099 // host.
1126 // host.
1249 // Tests to run on the host and linked against glibc. Run with:
/bionic/benchmarks/spawn/
DAndroid.bp100 // When this binary is installed to host/linux-x86/bin, its runpath is ${ORIGIN}/../lib64, which
101 // is fine for finding host/linux-x86/lib64/libc++.so. When it's installed to
102 // host/linux-x86/benchmarktest64/bionic-spawn-benchmarks, the runpath needs an extra "..". This
/bionic/libc/dns/include/
Dresolv_static.h29 struct hostent host; member
/bionic/build/
Dcoverage.sh22 LLVM_PROFDATA=${ANDROID_BUILD_TOP}/prebuilts/clang/host/linux-x86/llvm-binutils-stable/llvm-profdata
23 LLVM_COV=${ANDROID_BUILD_TOP}/prebuilts/clang/host/linux-x86/llvm-binutils-stable/llvm-cov
/bionic/benchmarks/
Drun-on-host.sh3 . $(dirname $0)/../build/run-on-host.sh
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`.
DAndroid.bp125 // 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).
DEINTR.md30 host of signal handlers before your code even starts to run. (And, no, you
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/apex/
DAndroid.bp100 name: "runtime-module-host-exports",
/bionic/
DREADME.md366 running a host version of the test executable and dumping the list of
368 have the same number of tests, and the host version of the executable
382 The host tests require that you have `lunch`ed either an x86 or x86_64 target.
387 $ ./tests/run-on-host.sh 32
388 $ ./tests/run-on-host.sh 64 # For x86_64-bit *targets* only.
396 the host's glibc.
398 $ ./tests/run-on-host.sh glibc
402 Another way to verify test behavior is to run against musl on the host. glibc
406 $ OUT_DIR=$(ANDROID_BUILD_TOP)/musl-out ./tests/run-on-host.sh musl
Dandroid-changes-for-ndk-developers.md297 DT_NEEDED entries that point to a file on the build host, something that
313 a path on a build host instead of the SONAME.
/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/libc/malloc_debug/
DREADME.md689 The outer layer of quoting is for the shell on the host, to ensure that the