HomeSort by relevance Sort by last modified time
    Searched full:gethostname (Results 1 - 25 of 1089) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/frontend/client/src/autotest/afe/models/
Host.java 22 return otherHost.getHostname().equals(getHostname());
27 return getHostname().hashCode();
30 public String getHostname() {
  /external/ltp/testcases/kernel/containers/utsname/
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; (wait); sethostname(newname); D=gethostnam
    [all...]
  /prebuilts/go/darwin-x86/src/os/
sys_solaris.go 10 return syscall.Gethostname()
  /prebuilts/go/linux-x86/src/os/
sys_solaris.go 10 return syscall.Gethostname()
  /external/conscrypt/common/src/main/java/org/conscrypt/
PeerInfoProvider.java 24 String getHostname() {
43 abstract String getHostname();
63 String getHostname() {
OpenSSLSocketImpl.java 64 public String getHostname() {
65 return super.getHostname();
  /external/toybox/toys/lsb/
hostname.c 41 if (gethostname(toybuf, sizeof(toybuf)-1) || !*toybuf)
48 if (gethostname(toybuf, sizeof(toybuf)-1)) perror_exit("gethostname");
  /external/curl/lib/
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/ltp/testcases/kernel/syscalls/gethostname/
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",
  /libcore/luni/src/test/java/libcore/java/net/
InetSocketAddressTest.java 62 //assertEquals(results[i], isa.getHostName());
66 assertEquals("::", isa.getHostName());
83 assertEquals("::", isa.getHostName());
107 isa1 = new InetSocketAddress(localhost.getHostName(), 80);
131 InetSocketAddress isa1 = new InetSocketAddress(localhost.getHostName(), 8080);
152 assertEquals("some host", hasHostname.getHostName());
159 assertEquals("some host", hasHostnameAndAddress.getHostName());
165 assertEquals("127.0.0.1", hostnameIsIp.getHostName());
168 // between getHostString and getHostName...
172 assertEquals("localhost", noHostname.getHostName());
    [all...]
  /prebuilts/go/darwin-x86/src/net/
dnsconfig_unix_test.go 108 origGetHostname := getHostname
109 defer func() { getHostname = origGetHostname }()
110 getHostname = func() (string, error) { return "host.domain.local", nil }
125 origGetHostname := getHostname
126 defer func() { getHostname = origGetHostname }()
127 getHostname = func() (string, error) { return "host.domain.local", nil }
177 origGetHostname := getHostname
178 defer func() { getHostname = origGetHostname }()
181 getHostname = func() (string, error) { return tt.name, tt.err }
190 origGetHostname := getHostname
    [all...]
  /prebuilts/go/linux-x86/src/net/
dnsconfig_unix_test.go 108 origGetHostname := getHostname
109 defer func() { getHostname = origGetHostname }()
110 getHostname = func() (string, error) { return "host.domain.local", nil }
125 origGetHostname := getHostname
126 defer func() { getHostname = origGetHostname }()
127 getHostname = func() (string, error) { return "host.domain.local", nil }
177 origGetHostname := getHostname
178 defer func() { getHostname = origGetHostname }()
181 getHostname = func() (string, error) { return tt.name, tt.err }
190 origGetHostname := getHostname
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/result/
DeviceUnavailEmailResultReporter.java 50 subj.append(String.format("hostname %s", getHostname()));
61 String getHostname() {
63 return InetAddress.getLocalHost().getHostName();
  /external/chromium-libpac/src/
proxy_resolver_js_bindings.cc 51 std::string my_hostname = GetHostName();
58 std::string my_hostname = GetHostName();
101 std::string GetHostName() {
103 if (gethostname(buffer, 256) != 0) {
  /external/strace/
hostname.c 27 SYS_FUNC(gethostname)
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
InetAddressThreadTest.java 35 * the gethostbyname function to be called. getHostName will cause the
67 String correctName = testAddress.getHostName();
86 String hostName = ia.getHostName();
96 + ": getHostName() returned "
106 + ": getHostName() returned "
122 * java.net.InetAddress#getHostName()
125 // Test for method java.lang.String java.net.InetAddress.getHostName()
139 lookup1.getHostName(), lookup1, 0);
141 lookup2.getHostName(), lookup2, 0);
InetSocketAddressTest.java 35 String localhostName = address.getHostName();
53 assertEquals(isa.getHostName(), legalHostPortPairs[i].host);
102 assertEquals("HostName", init.getHostName(), desr.getHostName());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
SocketFactoryTest.java 63 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport);
75 sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]);
82 sf.createSocket(InetAddress.getLocalHost().getHostName(), s.getLocalPort());
89 f.createSocket(InetAddress.getLocalHost().getHostName(), 8082);
217 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,
230 sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i],
236 sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,
244 sf.createSocket(InetAddress.getLocalHost().getHostName(), 8081, InetAddress.getLocalHost(), 8082);
257 s = sf.createSocket(InetAddress.getLocalHost().getHostName(), 8082);
262 s = sf.createSocket(InetAddress.getLocalHost().getHostName(), 8081, InetAddress.getLocalHost(), 8082)
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
gethostname.c 47 gethostname.c
51 Map FreeBSD gethostname call to EFI Interface
59 gethostname( function
  /development/tools/axl/
udpServer.py 13 # hostname = socket.gethostname()
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
CertificatePinnerChainValidationTest.java 58 .commonName(server.getHostName())
61 .add(server.getHostName(), CertificatePinner.pin(rootCa.certificate))
113 .commonName(server.getHostName())
116 .add(server.getHostName(), CertificatePinner.pin(intermediateCa.certificate))
172 .commonName(server.getHostName())
175 .add(server.getHostName(), CertificatePinner.pin(goodCertificate.certificate))
198 .commonName(server.getHostName())
247 .add(server.getHostName(), CertificatePinner.pin(goodIntermediateCa.certificate))
271 .commonName(server.getHostName())
  /external/autotest/scheduler/
email_manager.py 59 body += "%s / %s / %s\n%s" % (socket.gethostname(),
69 subject = 'Scheduler notifications from ' + socket.gethostname()
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
PlatformTest.java 41 assertEquals("some.host", ((AbstractConscryptSocket)socket).getHostname());
69 assertEquals("some.host", engine.getHostname());
  /external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
rpc_authunix_create.c 75 rslt = gethostname(hostname, 256);
77 fprintf(stderr, "gethostname() failed\n");
  /external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/interpreter/
InterpreterProcess.java 73 String result = mProxy.getAddress().getHostName();
76 return SimpleServer.getPublicInetAddress().getHostName();

Completed in 785 milliseconds

1 2 3 4 5 6 7 8 91011>>