/bionic/libc/dns/net/ |
D | getnameinfo.c | 116 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 …]
|
D | gethnamaddr.c | 1542 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/ |
D | inet_makeaddr.c | 39 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/ |
D | Android.bp | 8 defaults: ["llvm-build-host-tools-defaults"], 37 host: {
|
/bionic/tests/ |
D | netdb_test.cpp | 146 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()
|
D | ifaddrs_test.cpp | 179 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()
|
D | run-on-host.sh | 3 . $(dirname $0)/../build/run-on-host.sh
|
D | Android.bp | 721 host: { 1099 // host. 1126 // host. 1249 // Tests to run on the host and linked against glibc. Run with:
|
/bionic/benchmarks/spawn/ |
D | Android.bp | 100 // 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/ |
D | resolv_static.h | 29 struct hostent host; member
|
/bionic/build/ |
D | coverage.sh | 22 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/ |
D | run-on-host.sh | 3 . $(dirname $0)/../build/run-on-host.sh
|
D | README.md | 24 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`.
|
D | Android.bp | 125 // Build benchmarks for the host (against glibc!). Run with:
|
/bionic/docs/ |
D | defines.md | 13 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).
|
D | EINTR.md | 30 host of signal handlers before your code even starts to run. (And, no, you
|
D | libc_assembler.md | 119 on device. If you are trying to run this using adb directly from a host
|
D | elf-tls.md | 641 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/ |
D | Android.bp | 100 name: "runtime-module-host-exports",
|
/bionic/ |
D | README.md | 366 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
|
D | android-changes-for-ndk-developers.md | 297 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/ |
D | Android.bp | 2 // 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/ |
D | README.md | 689 The outer layer of quoting is for the shell on the host, to ensure that the
|