Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dgethostname.cpp34 int gethostname(char* buf, size_t n) { in gethostname() function
/bionic/tests/
Dunistd_test.cpp637 TEST(UNISTD_TEST, gethostname) { in TEST() argument
642 ASSERT_EQ(0, gethostname(hostname, HOST_NAME_MAX)); in TEST()
646 ASSERT_EQ(0, gethostname(hostname, strlen(hostname) + 1)); in TEST()
656 ASSERT_EQ(-1, gethostname(hostname, strlen(hostname))); in TEST()
/bionic/libc/dns/resolv/
Dres_init.c450 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
/bionic/libc/tools/
Dposix-2013.txt342 gethostname
/bionic/libc/include/
Dunistd.h204 int gethostname(char* __name, size_t __len);
/bionic/libc/
Dlibc.mips64.map373 gethostname;
Dlibc.x86_64.map373 gethostname;
Dlibc.arm64.map373 gethostname;
Dlibc.x86.map439 gethostname;
Dlibc.mips.map441 gethostname;
Dlibc.arm.map443 gethostname;
Dlibc.map.txt445 gethostname;
DAndroid.bp1299 "bionic/gethostname.cpp",