Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgethostname.cpp34 int gethostname(char* buf, size_t n) { in gethostname() function
/bionic/tests/
Dunistd_test.cpp497 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/
Dunistd.h203 int gethostname(char* __name, size_t __len);
/bionic/libc/dns/resolv/
Dres_init.c449 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
/bionic/libc/
Dlibc.mips64.map380 gethostname;
Dlibc.x86_64.map380 gethostname;
Dlibc.arm64.map380 gethostname;
Dlibc.x86.brillo.map447 gethostname;
Dlibc.mips.brillo.map449 gethostname;
Dlibc.arm.brillo.map451 gethostname;
Dlibc.mips.map449 gethostname;
Dlibc.x86.map447 gethostname;
Dlibc.arm.map451 gethostname;
Dlibc.map.txt453 gethostname;
DAndroid.mk144 bionic/gethostname.cpp \
DAndroid.bp1326 "bionic/gethostname.cpp",
/bionic/libc/tools/
Dposix-2013.txt342 gethostname