/third_party/ltp/testcases/kernel/containers/utsname/ |
D | utstest.c | 130 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/ |
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()
|
D | gethostname.c | 28 int result = gethostname(hostname, sizeof(hostname)); in gethostname_0100()
|
D | test_src_functionalext_supplement_unistd.gni | 15 "gethostname",
|
/third_party/rust/crates/nix/ |
D | README_zh.md | 12 [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>;
|
D | README.md | 20 [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/ |
D | curl_gethostname.c | 76 err = gethostname(name, namelen); in Curl_gethostname() 85 err = gethostname(name, namelen); in Curl_gethostname()
|
/third_party/cups/ |
D | fix-httpAddrGetList-test-case-fail.patch | 29 + localhostname[HTTP_MAX_URI]; /* gethostname */ 38 + addrlist = httpAddrGetList(gethostname(localhostname, sizeof(localhostname)), AF_UNSPEC, NULL);
|
/third_party/curl/tests/libtest/ |
D | sethostname.c | 32 int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) in gethostname() function
|
D | sethostname.h | 42 gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
|
/third_party/musl/src/unistd/ |
D | gethostname.c | 4 int gethostname(char *name, size_t len) in gethostname() function
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
D | gethostid.c | 17 ret = gethostname(host, sizeof(host)); in gethostid()
|
/third_party/ltp/testcases/kernel/syscalls/gethostname/ |
D | gethostname01.c | 136 TEST(gethostname(hname, sizeof(hname))); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/ |
D | rpc_authunix_create.c | 75 rslt = gethostname(hostname, 256); in main()
|
/third_party/libuv/test/ |
D | test-gethostname.c | 26 TEST_IMPL(gethostname) { in TEST_IMPL() argument
|
/third_party/ltp/testcases/kernel/syscalls/setdomainname/ |
D | setdomainname.h | 17 # define GET_SYSCALL gethostname
|
/third_party/toybox/toys/lsb/ |
D | hostname.c | 46 gethostname(toybuf, sizeof(toybuf)-1);
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_mail_client.c | 626 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/ |
D | MSVSUserFile.py | 107 "RemoteMachine": socket.gethostname(),
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | MSVSUserFile.py | 107 "RemoteMachine": socket.gethostname(),
|
/third_party/ltp/testcases/network/multicast/mc_commo/ |
D | mc_send.c | 36 if (gethostname(myname, sizeof(myname) - 1) < 0) { in main()
|
/third_party/toybox/toys/other/ |
D | login.c | 58 if (gethostname(toybuf, sizeof(toybuf)-1)) *toybuf = 0; in login_main()
|
/third_party/node/deps/cares/m4/ |
D | ax_check_uts_namespace.m4 | 34 gethostname(buffer, 1024);
|
/third_party/python/Lib/test/ |
D | mock_socket.py | 143 def gethostname(): function
|
/third_party/cares/ |
D | backport-CVE-2023-31124.patch | 44 # recv, recvfrom, send, getnameinfo, gethostname
|