/external/curl/tests/libtest/ |
H A D | sethostname.c | 30 int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) function
|
H A D | sethostname.h | 40 gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
|
/external/curl/lib/ |
H A D | curl_gethostname.c | 28 * 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 D | hostname.c | 41 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 D | utstest.c | 21 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 D | gethostname01.c | 42 * 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 D | hostname.c | 27 SYS_FUNC(gethostname)
|
/external/autotest/scheduler/ |
H A D | email_manager.py | 59 body += "%s / %s / %s\n%s" % (socket.gethostname(), 69 subject = 'Scheduler notifications from ' + socket.gethostname()
|
/external/autotest/contrib/ |
H A D | db_optimize.py | 26 STATS_KEY = 'db_optimize.%s' % socket.gethostname()
|
/external/ltp/testcases/kernel/syscalls/sethostname/ |
H A D | sethostname01.c | 132 if ((ret = gethostname(hname, sizeof(hname))) < 0) { 133 tst_brkm(TBROK, NULL, "gethostname() failed while getting"
|
H A D | sethostname02.c | 168 if ((ret = gethostname(hname, sizeof(hname))) < 0) { 169 tst_brkm(TBROK, NULL, "gethostname() failed while"
|
H A D | sethostname03.c | 149 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 D | rpc_authunix_create.c | 75 rslt = gethostname(hostname, 256); 77 fprintf(stderr, "gethostname() failed\n");
|
/external/webrtc/webrtc/examples/peerconnection/client/ |
H A D | defaults.cc | 55 if (gethostname(computer_name, arraysize(computer_name)) == 0) {
|
/external/python/cpython2/Demo/sockets/ |
H A D | ftp.py | 82 r.bind((gethostbyname(gethostname()), port)) 91 hostname = gethostname()
|
/external/autotest/site_utils/ |
H A D | prodcertstatus_checker.py | 31 host = socket.gethostname()
|
H A D | metadata_reporter.py | 50 _metrics_fields['hostname'] = socket.gethostname()
|
H A D | mysql_bootstrap.py | 224 else socket.gethostname())
|
/external/autotest/site_utils/rpm_control_system/ |
H A D | rpm_dispatcher.py | 225 address = socket.gethostbyname(socket.gethostname()) 249 address = socket.gethostbyname(socket.gethostname())
|
H A D | rpm_logging_config.py | 21 socket.gethostname())
|
/external/chromium-libpac/src/ |
H A D | proxy_resolver_js_bindings.cc | 103 if (gethostname(buffer, 256) != 0) {
|
/external/bison/darwin-lib/ |
H A D | unistd.h | 26 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 D | unistd.in.h | 25 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 D | unistd.h | 26 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 D | serviceHandler.py | 106 metadata['rpc_server'] = socket.gethostname()
|