Home
last modified time | relevance | path

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

123456

/external/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()
/external/curl/lib/
Dcurl_gethostname.c74 err = gethostname(name, namelen); in Curl_gethostname()
83 err = gethostname(name, namelen); in Curl_gethostname()
/external/toybox/toys/lsb/
Dhostname.c41 if (gethostname(toybuf, sizeof(toybuf)-1) || !*toybuf)
48 if (gethostname(toybuf, sizeof(toybuf)-1)) perror_exit("gethostname");
/external/bison/lib/
Dunistd.in.h718 # undef gethostname
719 # define gethostname rpl_gethostname
721 _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len)
723 _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len));
726 _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len)
732 _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len));
734 _GL_CXXALIASWARN (gethostname);
736 # undef gethostname
737 # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname
739 # undef gethostname
[all …]
/external/autotest/scheduler/
Demail_manager.py59 body += "%s / %s / %s\n%s" % (socket.gethostname(),
69 subject = 'Scheduler notifications from ' + socket.gethostname()
/external/bison/linux-lib/
Dunistd.h1030 # undef gethostname
1031 # define gethostname rpl_gethostname
1033 _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len)
1035 _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len));
1038 _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len)
1044 _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len));
1046 _GL_CXXALIASWARN (gethostname);
1048 # undef gethostname
1049 # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname macro
1051 # undef gethostname
[all …]
/external/bison/darwin-lib/
Dunistd.h1030 # undef gethostname
1031 # define gethostname rpl_gethostname
1033 _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len)
1035 _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len));
1038 _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len)
1044 _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len));
1046 _GL_CXXALIASWARN (gethostname);
1048 # undef gethostname
1049 # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname macro
1051 # undef gethostname
[all …]
/external/python/cpython2/Demo/sockets/
Dftp.py82 r.bind((gethostbyname(gethostname()), port))
91 hostname = gethostname()
/external/autotest/site_utils/rpm_control_system/
Drpm_dispatcher.py225 address = socket.gethostbyname(socket.gethostname())
249 address = socket.gethostbyname(socket.gethostname())
Drpm_logging_config.py21 socket.gethostname())
/external/curl/tests/libtest/
Dsethostname.c30 int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) in gethostname() function
Dsethostname.h40 gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
/external/strace/
Dhostname.c27 SYS_FUNC(gethostname) in SYS_FUNC() argument
/external/ltp/testcases/kernel/syscalls/gethostname/
Dgethostname01.c136 TEST(gethostname(hname, sizeof(hname))); in main()
/external/webrtc/webrtc/examples/peerconnection/client/
Ddefaults.cc55 if (gethostname(computer_name, arraysize(computer_name)) == 0) { in GetPeerName()
/external/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()
/external/ltp/testcases/kernel/syscalls/sethostname/
Dsethostname01.c132 if ((ret = gethostname(hname, sizeof(hname))) < 0) { in setup()
Dsethostname03.c149 if ((ret = gethostname(hname, sizeof(hname))) < 0) { in setup()
Dsethostname02.c168 if ((ret = gethostname(hname, sizeof(hname))) < 0) { in setup()
/external/autotest/contrib/
Ddb_optimize.py26 STATS_KEY = 'db_optimize.%s' % socket.gethostname()
/external/autotest/site_utils/
Dprodcertstatus_checker.py31 host = socket.gethostname()
Dmetadata_reporter.py50 _metrics_fields['hostname'] = socket.gethostname()
/external/chromium-libpac/src/
Dproxy_resolver_js_bindings.cc103 if (gethostname(buffer, 256) != 0) { in GetHostName()
/external/ltp/testcases/network/multicast/mc_commo/
Dmc_send.c36 if (gethostname(myname, sizeof(myname) - 1) < 0) { in main()
/external/compiler-rt/lib/profile/
DInstrProfilingPort.h44 #define COMPILER_RT_GETHOSTNAME(Name, Len) gethostname(Name, Len)

123456