Home
last modified time | relevance | path

Searched refs:gethostname (Results 1 - 25 of 69) sorted by relevance

123

/third_party/ltp/testcases/kernel/containers/utsname/
H A Dutstest.c21 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 Dsethostname.c33 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 Dgethostname.c22 * @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 Dcurl_gethostname.c30 * 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 Dsethostname.c30 int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) in gethostname() function
/third_party/ltp/testcases/kernel/syscalls/gethostname/
H A Dgethostname01.c10 * Test is checking that gethostname() succeeds.
20 TST_EXP_PASS(gethostname(hname, sizeof(hname))); in run()
/third_party/musl/src/unistd/
H A Dgethostname.c4 int gethostname(char *name, size_t len) in gethostname() function
/third_party/libuv/test/
H A Dtest-gethostname.c26 TEST_IMPL(gethostname) { in TEST_IMPL()
/third_party/musl/src/misc/
H A Dgethostid.c22 ret = gethostname(host, sizeof(host)); in gethostid()
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dgethostid.c17 ret = gethostname(host, sizeof(host)); in gethostid()
/third_party/ltp/testcases/kernel/syscalls/setdomainname/
H A Dsetdomainname.h17 # define GET_SYSCALL gethostname
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
H A Drpc_authunix_create.c75 rslt = gethostname(hostname, 256); in main()
77 fprintf(stderr, "gethostname() failed\n"); in main()
/third_party/toybox/toys/lsb/
H A Dhostname.c46 gethostname(toybuf, sizeof(toybuf)-1); in hostname_main()
/third_party/mbedtls/programs/ssl/
H A Dssl_mail_client.c8 /* 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 DMSVSUserFile.py9 import socket # for gethostname namespace
107 "RemoteMachine": socket.gethostname(),
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A DMSVSUserFile.py9 import socket # for gethostname namespace
107 "RemoteMachine": socket.gethostname(),
/third_party/ltp/testcases/network/multicast/mc_commo/
H A Dmc_send.c36 if (gethostname(myname, sizeof(myname) - 1) < 0) { in main()
37 perror("gethostname"); in main()
/third_party/python/Lib/test/
H A Dmock_socket.py143 def gethostname(): function
/third_party/toybox/toys/other/
H A Dlogin.c58 if (gethostname(toybuf, sizeof(toybuf)-1)) *toybuf = 0; in login_main()
/third_party/ninja/src/
H A Dbrowse.py221 hostname = socket.gethostname()
/third_party/ltp/testcases/network/rpc/basic_tests/rpc01/
H A Drpc1.c103 gethostname(host_name, 100); in main()
/third_party/ltp/testcases/network/nfsv4/locks/
H A Dlocktests.py142 hostname=socket.gethostname()
/third_party/toybox/toys/pending/
H A Dbootchartd.c180 gethostname(host_name, sizeof(host_name)); in stop_logging()
/third_party/musl/porting/liteos_a/user/include/
H A Dunistd.h143 int gethostname(char *, size_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h118 int gethostname(char *, size_t);

Completed in 11 milliseconds

123