Searched refs:gethostname (Results 1 – 13 of 13) sorted by relevance
/aosp12/bionic/libc/bionic/ |
H A D | gethostname.cpp | 34 int gethostname(char* buf, size_t n) { in gethostname() function
|
/aosp12/packages/modules/adb/sysdeps/ |
H A D | env.cpp | 92 return (gethostname(buf, sizeof(buf)) == -1) ? "" : buf; in GetHostNameUTF8()
|
/aosp12/bionic/libc/include/ |
H A D | unistd.h | 273 int gethostname(char* __buf, size_t __buf_size);
|
/aosp12/bionic/tests/ |
H A D | unistd_test.cpp | 728 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 D | unistd_h.c | 327 FUNCTION(gethostname, int (*f)(char*, size_t)); in unistd_h()
|
/aosp12/art/openjdkjvm/ |
H A D | OpenjdkJvm.cc | 285 return TEMP_FAILURE_RETRY(gethostname(name, namelen)); in JVM_GetHostName()
|
/aosp12/bionic/libc/dns/resolv/ |
H A D | res_init.c | 450 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
|
/aosp12/bionic/libc/tools/ |
H A D | posix-2013.txt | 342 gethostname
|
/aosp12/packages/modules/adb/ |
H A D | sysdeps.h | 511 return gethostname(name, len); in adb_gethostname()
|
/aosp12/packages/modules/adb/daemon/ |
H A D | shell_service.cpp | 230 if (gethostname(buf, sizeof(buf)) != -1 && strcmp(buf, "localhost") != 0) return buf; in GetHostName()
|
/aosp12/bionic/libc/ |
H A D | libc.map.txt | 446 gethostname;
|
H A D | Android.bp | 1072 "bionic/gethostname.cpp",
|
/aosp12/bionic/tools/versioner/platforms/ |
H A D | libc.map.txt | 446 gethostname;
|