Home
last modified time | relevance | path

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

12345

/third_party/ltp/testcases/kernel/containers/utsname/
Dutstest.c130 gethostname(hostname, HLEN); in P1()
141 gethostname(hostname, HLEN); in P1()
160 gethostname(hostname, HLEN); in P1()
188 gethostname(hostname, HLEN); in P1()
192 gethostname(newhostname, HLEN); in P1()
211 gethostname(newhostname, HLEN); in P1()
239 gethostname(hostname, HLEN); in P2()
248 gethostname(hostname, HLEN); in P2()
261 gethostname(hostname, HLEN); in P2()
275 gethostname(oldhost, HLEN); in setup()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
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()
Dgethostname.c28 int result = gethostname(hostname, sizeof(hostname)); in gethostname_0100()
Dtest_src_functionalext_supplement_unistd.gni15 "gethostname",
/third_party/rust/crates/nix/
DREADME_zh.md12 [gethostname](https://man7.org/linux/man-pages/man2/gethostname.2.html):
16 pub unsafe extern fn gethostname(name: *mut c_char, len: size_t) -> c_int;
19 pub fn gethostname() -> Result<OsString>;
DREADME.md20 [gethostname](https://man7.org/linux/man-pages/man2/gethostname.2.html) system
25 pub unsafe extern fn gethostname(name: *mut c_char, len: size_t) -> c_int;
28 pub fn gethostname() -> Result<OsString>;
/third_party/curl/lib/
Dcurl_gethostname.c76 err = gethostname(name, namelen); in Curl_gethostname()
85 err = gethostname(name, namelen); in Curl_gethostname()
/third_party/cups/
Dfix-httpAddrGetList-test-case-fail.patch29 + localhostname[HTTP_MAX_URI]; /* gethostname */
38 + addrlist = httpAddrGetList(gethostname(localhostname, sizeof(localhostname)), AF_UNSPEC, NULL);
/third_party/curl/tests/libtest/
Dsethostname.c32 int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) in gethostname() function
Dsethostname.h42 gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
/third_party/musl/src/unistd/
Dgethostname.c4 int gethostname(char *name, size_t len) in gethostname() function
/third_party/musl/porting/liteos_a/user/src/misc/
Dgethostid.c17 ret = gethostname(host, sizeof(host)); in gethostid()
/third_party/ltp/testcases/kernel/syscalls/gethostname/
Dgethostname01.c136 TEST(gethostname(hname, sizeof(hname))); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
Drpc_authunix_create.c75 rslt = gethostname(hostname, 256); in main()
/third_party/libuv/test/
Dtest-gethostname.c26 TEST_IMPL(gethostname) { in TEST_IMPL() argument
/third_party/ltp/testcases/kernel/syscalls/setdomainname/
Dsetdomainname.h17 # define GET_SYSCALL gethostname
/third_party/toybox/toys/lsb/
Dhostname.c46 gethostname(toybuf, sizeof(toybuf)-1);
/third_party/mbedtls/programs/ssl/
Dssl_mail_client.c626 gethostname(hostname, 32); in main()
648 gethostname(hostname, 32); in main()
661 gethostname(hostname, 32); in main()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
DMSVSUserFile.py107 "RemoteMachine": socket.gethostname(),
/third_party/node/tools/gyp/pylib/gyp/
DMSVSUserFile.py107 "RemoteMachine": socket.gethostname(),
/third_party/ltp/testcases/network/multicast/mc_commo/
Dmc_send.c36 if (gethostname(myname, sizeof(myname) - 1) < 0) { in main()
/third_party/toybox/toys/other/
Dlogin.c58 if (gethostname(toybuf, sizeof(toybuf)-1)) *toybuf = 0; in login_main()
/third_party/node/deps/cares/m4/
Dax_check_uts_namespace.m434 gethostname(buffer, 1024);
/third_party/python/Lib/test/
Dmock_socket.py143 def gethostname(): function
/third_party/cares/
Dbackport-CVE-2023-31124.patch44 # recv, recvfrom, send, getnameinfo, gethostname

12345