Home
last modified time | relevance | path

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

12345678

/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/autotest/site_utils/rpm_control_system/
Drpm_dispatcher.py72 self._frontend_server = 'http://%s:%d' % (socket.gethostname(),
230 address = socket.gethostbyname(socket.gethostname())
255 address = socket.gethostbyname(socket.gethostname())
Drpm_dispatcher_unittest.py42 frontend_uri = 'http://%s:%d' % (socket.gethostname(), FRONT_END_PORT)
Drpm_logging_config.py21 socket.gethostname())
/external/rust/crates/nix/
DREADME.md20 [gethostname](http://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<'a>(buffer: &'a mut [u8]) -> Result<&'a CStr>;
/external/python/cpython2/Demo/sockets/
Dftp.py82 r.bind((gethostbyname(gethostname()), port))
91 hostname = gethostname()
/external/grpc-grpc/src/core/lib/iomgr/
Dgethostname_host_name_max.cc33 if (gethostname(hostname, HOST_NAME_MAX) != 0) { in grpc_gethostname()
Dgethostname_sysconf.cc33 if (gethostname(hostname, host_name_max) != 0) { in grpc_gethostname()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dgethostname_host_name_max.cc33 if (gethostname(hostname, HOST_NAME_MAX) != 0) { in grpc_gethostname()
Dgethostname_sysconf.cc33 if (gethostname(hostname, host_name_max) != 0) { in grpc_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/perfetto/infra/ci/worker/
Dworker.py38 socket.gethostname())
86 worker_num = int(socket.gethostname().split('-')[-1])
/external/strace/
Dhostname.c27 SYS_FUNC(gethostname) in SYS_FUNC() argument
/external/tensorflow/tensorflow/stream_executor/lib/
Dprocess_state.cc34 gethostname(hostname, sizeof hostname); in Hostname()
/external/ltp/testcases/kernel/syscalls/gethostname/
Dgethostname01.c136 TEST(gethostname(hname, sizeof(hname))); in main()
/external/bcc/examples/networking/vlan_filter/
Ddata-plane-tracing.py179 …MESSAGE = (timestamp, socket.gethostname(),ip, str(int(ipversion, 2)), str(src_host_ip), str(dest_…
188 …MESSAGE = timestamp+","+socket.gethostname()+","+ip+","+str(int(ipversion, 2))+","+src_host_ip+","…
/external/webrtc/examples/peerconnection/client/
Ddefaults.cc53 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/setdomainname/
Dsetdomainname.h17 # define GET_SYSCALL gethostname
/external/autotest/contrib/
Ddb_optimize.py25 STATS_KEY = 'db_optimize.%s' % socket.gethostname()
/external/toybox/toys/lsb/
Dhostname.c46 gethostname(toybuf, sizeof(toybuf)-1);
/external/tensorflow/tensorflow/python/client/
Dnotebook.py79 url = "%s://%s:%d%s" % (proto, socket.gethostname(), notebookapp.port,
/external/ltp/testcases/network/multicast/mc_commo/
Dmc_send.c36 if (gethostname(myname, sizeof(myname) - 1) < 0) { in main()

12345678