Searched refs:gethostname (Results 1 – 17 of 17) sorted by relevance
/bionic/libc/bionic/ |
D | gethostname.cpp | 34 int gethostname(char* buf, size_t n) { in gethostname() function
|
/bionic/tests/ |
D | unistd_test.cpp | 497 TEST(UNISTD_TEST, gethostname) { in TEST() argument 502 ASSERT_EQ(0, gethostname(hostname, HOST_NAME_MAX)); in TEST() 506 ASSERT_EQ(0, gethostname(hostname, strlen(hostname) + 1)); in TEST() 516 ASSERT_EQ(-1, gethostname(hostname, strlen(hostname))); in TEST()
|
/bionic/libc/include/ |
D | unistd.h | 203 int gethostname(char* __name, size_t __len);
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 449 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
|
/bionic/libc/ |
D | libc.mips64.map | 380 gethostname;
|
D | libc.x86_64.map | 380 gethostname;
|
D | libc.arm64.map | 380 gethostname;
|
D | libc.x86.brillo.map | 447 gethostname;
|
D | libc.mips.brillo.map | 449 gethostname;
|
D | libc.mips.map | 449 gethostname;
|
D | libc.arm.brillo.map | 451 gethostname;
|
D | libc.x86.map | 447 gethostname;
|
D | libc.map.txt | 453 gethostname;
|
D | libc.arm.map | 451 gethostname;
|
D | Android.mk | 144 bionic/gethostname.cpp \
|
D | Android.bp | 1326 "bionic/gethostname.cpp",
|
/bionic/libc/tools/ |
D | posix-2013.txt | 342 gethostname
|