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

12345

/external/curl/tests/libtest/
H A Dsethostname.c30 int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) function
H A Dsethostname.h40 gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
/external/curl/lib/
H A Dcurl_gethostname.c28 * Curl_gethostname() is a wrapper around gethostname() which allows
43 * mechanism which intercepts, and might override, the gethostname()
74 err = gethostname(name, namelen);
79 /* The call to system's gethostname() might get intercepted by the
83 err = gethostname(name, namelen);
/external/toybox/toys/lsb/
H A Dhostname.c41 if (gethostname(toybuf, sizeof(toybuf)-1) || !*toybuf)
48 if (gethostname(toybuf, sizeof(toybuf)-1)) perror_exit("gethostname");
/external/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...]
/external/ltp/testcases/kernel/syscalls/gethostname/
H A Dgethostname01.c42 * TEST TITLE : Basic test for gethostname(2)
62 * 1.) gethostname(2) returns...(See Description)
88 * This is a Phase I test for the gethostname(2) system call. It is intended
91 * gethostname(2).
136 TEST(gethostname(hname, sizeof(hname)));
139 tst_resm(TFAIL | TTERRNO, "gethostname failed");
143 tst_resm(TPASS, "gethostname returned %ld",
/external/strace/
H A Dhostname.c27 SYS_FUNC(gethostname)
/external/autotest/scheduler/
H A Demail_manager.py59 body += "%s / %s / %s\n%s" % (socket.gethostname(),
69 subject = 'Scheduler notifications from ' + socket.gethostname()
/external/autotest/contrib/
H A Ddb_optimize.py26 STATS_KEY = 'db_optimize.%s' % socket.gethostname()
/external/ltp/testcases/kernel/syscalls/sethostname/
H A Dsethostname01.c132 if ((ret = gethostname(hname, sizeof(hname))) < 0) {
133 tst_brkm(TBROK, NULL, "gethostname() failed while getting"
H A Dsethostname02.c168 if ((ret = gethostname(hname, sizeof(hname))) < 0) {
169 tst_brkm(TBROK, NULL, "gethostname() failed while"
H A Dsethostname03.c149 if ((ret = gethostname(hname, sizeof(hname))) < 0) {
150 tst_brkm(TBROK, NULL, "gethostname() failed while"
/external/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);
77 fprintf(stderr, "gethostname() failed\n");
/external/webrtc/webrtc/examples/peerconnection/client/
H A Ddefaults.cc55 if (gethostname(computer_name, arraysize(computer_name)) == 0) {
/external/python/cpython2/Demo/sockets/
H A Dftp.py82 r.bind((gethostbyname(gethostname()), port))
91 hostname = gethostname()
/external/autotest/site_utils/
H A Dprodcertstatus_checker.py31 host = socket.gethostname()
H A Dmetadata_reporter.py50 _metrics_fields['hostname'] = socket.gethostname()
H A Dmysql_bootstrap.py224 else socket.gethostname())
/external/autotest/site_utils/rpm_control_system/
H A Drpm_dispatcher.py225 address = socket.gethostbyname(socket.gethostname())
249 address = socket.gethostbyname(socket.gethostname())
H A Drpm_logging_config.py21 socket.gethostname())
/external/chromium-libpac/src/
H A Dproxy_resolver_js_bindings.cc103 if (gethostname(buffer, 256) != 0) {
/external/bison/darwin-lib/
H A Dunistd.h26 are completely included before we replace gethostname. */
46 /* Get all possible declarations of gethostname(). */
103 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */
1030 # 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 macro
1049 # define gethostname macro
1051 # undef gethostname macro
[all...]
/external/bison/lib/
H A Dunistd.in.h25 are completely included before we replace gethostname. */
45 /* Get all possible declarations of gethostname(). */
102 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */
718 # 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);
[all...]
/external/bison/linux-lib/
H A Dunistd.h26 are completely included before we replace gethostname. */
46 /* Get all possible declarations of gethostname(). */
103 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */
1030 # 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 macro
1049 # define gethostname macro
1051 # undef gethostname macro
[all...]
/external/autotest/frontend/afe/json_rpc/
H A DserviceHandler.py106 metadata['rpc_server'] = socket.gethostname()

Completed in 918 milliseconds

12345