/third_party/ltp/testcases/kernel/containers/utsname/ |
H A D | utstest.c | 21 P1: A=gethostname 22 P2: B=gethostname 27 P2: (wait); B=gethostname 31 P1: A=gethostname; unshare(utsname); sethostname(newname); C=gethostname 32 P2: B=gethostname; (wait); (wait); D=gethostname 36 P1: A=gethostname; unshare(utsname); (wait); C=gethostname 37 P2: B=gethostname; (wai [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | sethostname.c | 33 int result = gethostname(cbuf, sizeof(cbuf)); in sethostname_0100() 46 result = gethostname(buf, sizeof(buf)); in sethostname_0100() 72 int result = gethostname(cbuf, sizeof(cbuf)); in sethostname_0200() 85 result = gethostname(buf, sizeof(buf)); in sethostname_0200()
|
H A D | gethostname.c | 22 * @tc.desc : Get the hostname through the gethostname method 28 int result = gethostname(hostname, sizeof(hostname)); in gethostname_0100() 30 t_error("%s gethostname get result is %d are not want 0\n", __func__, result); in gethostname_0100()
|
/third_party/curl/lib/ |
H A D | curl_gethostname.c | 30 * Curl_gethostname() is a wrapper around gethostname() which allows 45 * mechanism which intercepts, and might override, the gethostname() 76 err = gethostname(name, namelen); in Curl_gethostname() 81 /* The call to system's gethostname() might get intercepted by the in Curl_gethostname() 85 err = gethostname(name, namelen); in Curl_gethostname()
|
/third_party/curl/tests/libtest/ |
H A D | sethostname.c | 30 int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) in gethostname() function
|
/third_party/ltp/testcases/kernel/syscalls/gethostname/ |
H A D | gethostname01.c | 10 * Test is checking that gethostname() succeeds. 20 TST_EXP_PASS(gethostname(hname, sizeof(hname))); in run()
|
/third_party/musl/src/unistd/ |
H A D | gethostname.c | 4 int gethostname(char *name, size_t len) in gethostname() function
|
/third_party/libuv/test/ |
H A D | test-gethostname.c | 26 TEST_IMPL(gethostname) { in TEST_IMPL()
|
/third_party/musl/src/misc/ |
H A D | gethostid.c | 22 ret = gethostname(host, sizeof(host)); in gethostid()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | gethostid.c | 17 ret = gethostname(host, sizeof(host)); in gethostid()
|
/third_party/ltp/testcases/kernel/syscalls/setdomainname/ |
H A D | setdomainname.h | 17 # define GET_SYSCALL gethostname
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/ |
H A D | rpc_authunix_create.c | 75 rslt = gethostname(hostname, 256); in main() 77 fprintf(stderr, "gethostname() failed\n"); in main()
|
/third_party/toybox/toys/lsb/ |
H A D | hostname.c | 46 gethostname(toybuf, sizeof(toybuf)-1); in hostname_main()
|
/third_party/mbedtls/programs/ssl/ |
H A D | ssl_mail_client.c | 8 /* Enable definition of gethostname() even when compiling with -std=c99. Must 623 gethostname(hostname, 32); in main() 645 gethostname(hostname, 32); in main() 658 gethostname(hostname, 32); in main()
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSUserFile.py | 9 import socket # for gethostname namespace 107 "RemoteMachine": socket.gethostname(),
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSUserFile.py | 9 import socket # for gethostname namespace 107 "RemoteMachine": socket.gethostname(),
|
/third_party/ltp/testcases/network/multicast/mc_commo/ |
H A D | mc_send.c | 36 if (gethostname(myname, sizeof(myname) - 1) < 0) { in main() 37 perror("gethostname"); in main()
|
/third_party/python/Lib/test/ |
H A D | mock_socket.py | 143 def gethostname(): function
|
/third_party/toybox/toys/other/ |
H A D | login.c | 58 if (gethostname(toybuf, sizeof(toybuf)-1)) *toybuf = 0; in login_main()
|
/third_party/ninja/src/ |
H A D | browse.py | 221 hostname = socket.gethostname()
|
/third_party/ltp/testcases/network/rpc/basic_tests/rpc01/ |
H A D | rpc1.c | 103 gethostname(host_name, 100); in main()
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
H A D | locktests.py | 142 hostname=socket.gethostname()
|
/third_party/toybox/toys/pending/ |
H A D | bootchartd.c | 180 gethostname(host_name, sizeof(host_name)); in stop_logging()
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 143 int gethostname(char *, size_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 118 int gethostname(char *, size_t);
|