HomeSort by relevance Sort by last modified time
    Searched defs:hostname (Results 1 - 25 of 369) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/os/
sys_bsd.go 14 func hostname() (name string, err error) { func
15 name, err = syscall.Sysctl("kern.hostname")
17 return "", NewSyscallError("sysctl kern.hostname", err)
sys_linux.go 9 func hostname() (name string, err error) { func
10 f, err := Open("/proc/sys/kernel/hostname")
sys_plan9.go 9 func hostname() (name string, err error) { func
sys_solaris.go 9 func hostname() (name string, err error) { func
sys_windows.go 12 func hostname() (name string, err error) { func
  /prebuilts/go/linux-x86/src/os/
sys_bsd.go 14 func hostname() (name string, err error) { func
15 name, err = syscall.Sysctl("kern.hostname")
17 return "", NewSyscallError("sysctl kern.hostname", err)
sys_linux.go 9 func hostname() (name string, err error) { func
10 f, err := Open("/proc/sys/kernel/hostname")
sys_plan9.go 9 func hostname() (name string, err error) { func
sys_solaris.go 9 func hostname() (name string, err error) { func
sys_windows.go 12 func hostname() (name string, err error) { func
  /external/toybox/toys/lsb/
hostname.c 0 /* hostname.c - Get/Set the hostname
5 * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/hostname.html
7 USE_HOSTNAME(NEWTOY(hostname, "bF:", TOYFLAG_BIN))
9 config HOSTNAME
10 bool "hostname"
13 usage: hostname [-b] [-F FILENAME] [newname]
15 Get/Set the current hostname
17 -b Set hostname to 'localhost' if otherwise unset
18 -F Set hostname to contents of FILENAM
30 char *hostname = *toys.optargs; local
    [all...]
  /system/core/adb/
socket_spec_test.cpp 24 std::string hostname, error; local
26 EXPECT_TRUE(parse_tcp_socket_spec("tcp:5037", &hostname, &port, &error));
27 EXPECT_EQ("", hostname);
31 EXPECT_FALSE(parse_tcp_socket_spec("tcp:", &hostname, &port, &error));
32 EXPECT_FALSE(parse_tcp_socket_spec("tcp:-1", &hostname, &port, &error));
33 EXPECT_FALSE(parse_tcp_socket_spec("tcp:65536", &hostname, &port, &error));
35 EXPECT_TRUE(parse_tcp_socket_spec("tcp:localhost:1234", &hostname, &port, &error));
36 EXPECT_EQ("localhost", hostname);
39 EXPECT_FALSE(parse_tcp_socket_spec("tcp:localhost", &hostname, &port, &error));
40 EXPECT_FALSE(parse_tcp_socket_spec("tcp:localhost:", &hostname, &port, &error))
    [all...]
  /external/ImageMagick/MagickCore/
distribute-cache-private.h 37 hostname[MagickPathExtent]; member in struct:_DistributeCacheInfo
  /external/tensorflow/tensorflow/stream_executor/lib/
process_state.cc 32 string Hostname() {
33 char hostname[1024]; local
34 gethostname(hostname, sizeof hostname);
35 hostname[sizeof hostname - 1] = 0;
36 return std::string(hostname);
  /frameworks/base/core/java/android/security/net/config/
Domain.java 23 * Lower case hostname for this domain rule.
25 public final String hostname; field in class:Domain
32 public Domain(String hostname, boolean subdomainsIncluded) {
33 if (hostname == null) {
34 throw new NullPointerException("Hostname must not be null");
36 this.hostname = hostname.toLowerCase(Locale.US);
42 return hostname.hashCode() ^ (subdomainsIncluded ? 1231 : 1237);
55 otherDomain.hostname.equals(this.hostname);
    [all...]
  /test/framework/harnesses/host_controller/
tfc_host_controller.py 41 def __init__(self, remote_client, tfc_client, hostname, cluster_ids):
45 self._hostname = hostname
50 def hostname(self): member in class:HostController
  /device/generic/goldfish-opengl/tests/gles_android_wrapper/
ServerConnection.cpp 97 char *hostname; local
99 hostname = strdup(defaultServer);
101 hostname = strdup(s);
104 if (tcpStream->connect(hostname, CODEC_SERVER_PORT) < 0) {
105 ALOGE("couldn't connect to %s\n", hostname);
106 free(hostname);
110 LOGI("connecting to server %s\n", hostname);
111 free(hostname);
  /external/autotest/cli/
atest_migrate_host 11 hostname = sys.argv[3] variable
12 print 'Migrating %s ...' % hostname
14 old_host = old.get_hosts(hostname=hostname)[0]
17 print "Usage: atest_migrate_host <old_server> <new_server> <hostname>"
24 new_host = new.create_host(hostname=hostname, locked=True)
  /external/autotest/contrib/
dhcp_failed_machines.py 32 hostname = d['ddns-hostname'].replace('"', '').replace(';', '') variable
33 lookups[d['fixed-address'].replace(';', '')] = hostname
  /external/conscrypt/testing/src/main/java/libcore/tlswire/handshake/
ServerNameHelloExtension.java 44 String hostname = new String(hostnameBytes, "US-ASCII"); local
45 hostnames.add(hostname);
  /external/libcups/cups/
testcreds.c 33 hostname[HTTP_MAX_URI], /* Hostname from URI */ local
52 puts("Usage: ./testcreds hostname");
53 puts(" ./testcreds https://hostname[:port]");
63 if (httpSeparateURI(HTTP_URI_CODING_MOST, argv[1], scheme, sizeof(scheme), username, sizeof(username), hostname, sizeof(hostname), &port, resource, sizeof(resource)) < HTTP_URI_STATUS_OK)
69 if ((http = httpConnect2(hostname, port, NULL, AF_UNSPEC, HTTP_ENCRYPTION_ALWAYS, 1, 30000, NULL)) == NULL)
71 printf("ERROR: Unable to connect to \"%s\" on port %d: %s\n", hostname, port, cupsLastErrorString());
78 trust = httpCredentialsGetTrust(hcreds, hostname);
88 printf(" IsValidName: %d\n", httpCredentialsAreValidForName(hcreds, hostname));
    [all...]
  /external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
rpc_authunix_create.c 51 //Program parameters : argc[1] : HostName or Host IP
57 char hostname[256]; local
75 rslt = gethostname(hostname, 256);
81 authUnx = authunix_create(hostname, uid, gid, num_groups, aup_gids);
  /external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/
tirpc_rpc_call.c 44 //Program parameters : argc[1] : HostName or Host IP
55 char hostname[256] = { 0 }; local
60 strcpy(hostname, argc[1]);
63 fprintf(stderr, "Server : %s\n", hostname);
67 rslt = rpc_call(hostname, progNum, VERSNUM, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in
tirpc_rpc_call_stress.c 44 //Program parameters : argc[1] : HostName or Host IP
56 char hostname[256] = { 0 }; local
64 strcpy(hostname, argc[1]);
67 printf("Server : %s\n", hostname);
72 rslt = rpc_call(hostname, progNum, VERSNUM, PROCNUM, (xdrproc_t) xdr_int, (char *)&sndVar, // xdr_in
  /external/webrtc/webrtc/base/
socketaddress.h 34 // literal IP string or a hostname to be resolved later.
35 SocketAddress(const std::string& hostname, int port);
50 // Determines if this is a nil address (empty hostname, any IP, null port)
59 // Changes the IP of this address to the given one, and clears the hostname
63 // Changes the IP of this address to the given one, and clears the hostname.
66 // Changes the hostname of this address to the given one.
68 void SetIP(const std::string& hostname);
70 // Sets the IP address while retaining the hostname. Useful for bypassing
75 // Sets the IP address while retaining the hostname. Useful for bypassing
82 // Returns the hostname
83 const std::string& hostname() const { return hostname_; } function in class:rtc::SocketAddress
    [all...]

Completed in 477 milliseconds

1 2 3 4 5 6 7 8 91011>>