Home
last modified time | relevance | path

Searched refs:gethostname (Results 1 – 13 of 13) sorted by relevance

/aosp12/bionic/libc/bionic/
H A Dgethostname.cpp34 int gethostname(char* buf, size_t n) { in gethostname() function
/aosp12/packages/modules/adb/sysdeps/
H A Denv.cpp92 return (gethostname(buf, sizeof(buf)) == -1) ? "" : buf; in GetHostNameUTF8()
/aosp12/bionic/libc/include/
H A Dunistd.h273 int gethostname(char* __buf, size_t __buf_size);
/aosp12/bionic/tests/
H A Dunistd_test.cpp728 TEST(UNISTD_TEST, gethostname) { in TEST() argument
733 ASSERT_EQ(0, gethostname(hostname, HOST_NAME_MAX)); in TEST()
737 ASSERT_EQ(0, gethostname(hostname, strlen(hostname) + 1)); in TEST()
747 ASSERT_EQ(-1, gethostname(hostname, strlen(hostname))); in TEST()
/aosp12/bionic/tests/headers/posix/
H A Dunistd_h.c327 FUNCTION(gethostname, int (*f)(char*, size_t)); in unistd_h()
/aosp12/art/openjdkjvm/
H A DOpenjdkJvm.cc285 return TEMP_FAILURE_RETRY(gethostname(name, namelen)); in JVM_GetHostName()
/aosp12/bionic/libc/dns/resolv/
H A Dres_init.c450 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
/aosp12/bionic/libc/tools/
H A Dposix-2013.txt342 gethostname
/aosp12/packages/modules/adb/
H A Dsysdeps.h511 return gethostname(name, len); in adb_gethostname()
/aosp12/packages/modules/adb/daemon/
H A Dshell_service.cpp230 if (gethostname(buf, sizeof(buf)) != -1 && strcmp(buf, "localhost") != 0) return buf; in GetHostName()
/aosp12/bionic/libc/
H A Dlibc.map.txt446 gethostname;
H A DAndroid.bp1072 "bionic/gethostname.cpp",
/aosp12/bionic/tools/versioner/platforms/
H A Dlibc.map.txt446 gethostname;