/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageProcessor.java | 28 import gov.nist.core.Host; 135 this.sentByHostPort.setHost(new Host(ipAddress.getHostAddress())); 171 Host host = new Host(); local 172 host.setHostname(this.getIpAddress().getHostAddress()); 173 via.setHost(host); 226 this.sentByHostPort.setHost( new Host(ipAddress.getHostAddress())); 241 this.sentByHostPort.setHost(new Host(sentBy)); 244 this.sentByHostPort.setHost(new Host(sentBy.substring(0, ind))) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Call.java | 141 String host() { method in class:Call.AsyncCall
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
SocketConnector.java | 116 // Verify that the socket's certificates are acceptable for the target host. 231 String host = request.url().getHost(); local 233 String authority = (port == getDefaultPort("https")) ? host : (host + ":" + port); 235 .url(new URL("https", host, port, "/")) 236 .header("Host", authority)
|
SpdyTransport.java | 53 ByteString.encodeUtf8("host"), 61 ByteString.encodeUtf8("host"), 118 String host = HttpEngine.hostHeader(request.url()); local 121 result.add(new Header(TARGET_HOST, host)); 123 result.add(new Header(TARGET_AUTHORITY, host)); // Optional in HTTP/2
|
/external/openssh/ |
auth-options.c | 281 /* Host name matches. */ 293 "host (host=%.200s, ip=%.200s).", 295 auth_debug_add("Your host '%.200s' is not " 305 char *host, *p; local 333 host = hpdelim(&p); 334 if (host == NULL || strlen(host) >= NI_MAXHOST) { 344 host = cleanhostname(host); [all...] |
canohost.c | 6 * Functions for returning the canonical host name of the remote site. 43 * Return the canonical name of the host at the other end of the socket. The 79 /* Map the IP address to a host name. */ 82 /* Host name not found. Use ip address. */ 106 * address actually is an address of this host. This is 131 /* Address not found for the host name. */ 205 * Return the canonical name of the host in the other side of the current 206 * connection. The host name is cached, so it is efficient to call this 213 char *host; local 225 host = get_remote_hostname(packet_get_connection_in(), use_dns) 311 char *host, myname[NI_MAXHOST]; local [all...] |
hostfile.h | 26 char *host; member in struct:hostkey_entry 48 const char *host, const char *ip, struct sshkey **keys, size_t nkeys, 67 #define HKF_STATUS_OK 0 /* Line parsed, didn't match host */ 106 const char *host, const char *ip, u_int options);
|
/frameworks/base/core/java/android/net/ |
Proxy.java | 101 * @param ctx A Context used to get the settings for the proxy host. 103 * @return Proxy (java.net) object containing the host name. If the 104 * user did not set a hostname it returns the default host. 105 * A null value means that no host is to be used. 109 String host = ""; local 110 if ((url != null) && !isLocalHost(host)) { 125 * Return the proxy host set by the user. 126 * @param ctx A Context used to get the settings for the proxy host. 127 * @return String containing the host name. If the user did not set a host 169 String host = System.getProperty("http.proxyHost"); local 238 String host = null; local [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
HostnameVerifierBenchmark.java | 46 "www.ubs.com"}) String host; field in class:HostnameVerifierBenchmark 53 URL url = new URL("https", host, "/");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLContext2Test.java | 109 sslC.createSSLEngine("host",1); 125 assertNull("Incorrect host", sslE.getPeerHost()); 127 String host = "ZZZ"; local 129 sslE = sslC.createSSLEngine(host, port); 131 assertEquals("Incorrect host", sslE.getPeerHost(), host);
|
/libcore/luni/src/main/java/java/net/ |
URLStreamHandler.java | 96 String host; local 117 * Extract the host and port. The host may be an IPv6 address with 131 host = spec.substring(hostStart, hostEnd); 149 host = url.getHost(); 150 if (host == null) { 151 host = ""; 194 setURL(url, url.getProtocol(), host, port, authority, userInfo, path, query, ref); 219 * @param host 220 * the host name 325 String host = url.getHost(); local [all...] |
URI.java | 37 * {@code http://username:password@host:8080/directory/file?query#fragment} 41 * <tr><td>{@link #getSchemeSpecificPart() Scheme-specific part}</td><td>{@code //username:password@host:8080/directory/file?query#fragment}</td><td></td></tr> 42 * <tr><td>{@link #getAuthority() Authority} </td><td>{@code username:password@host:8080} </td><td></td></tr> 44 * <tr><td>{@link #getHost() Host} </td><td>{@code host} </td><td></td></tr> 88 * has an authority, user info, host, port, path or query. An opaque URIs may 107 * {@code http://user:pa55w%3Frd@host:80/doc%7Csearch?q=green%20robots#over%206%22} 111 * <tr><td>Scheme-specific part</td><td>{@code 0-9}, {@code a-z}, {@code A-Z}, {@code _-!.~'()*,;:$&+=?/[]@}</td><td>Non-ASCII characters okay </td><td>{@code //user:pa55w%3Frd@host:80/doc%7Csearch?q=green%20robots}</td><td>{@code //user:pa55w?rd@host:80/doc|search?q=green robots}</td></tr> 112 * <tr><td>Authority </td><td>{@code 0-9}, {@code a-z}, {@code A-Z}, {@code _-!.~'()*,;:$&+=@[]} </td><td>Non-ASCII characters okay </td><td>{@code user:pa55w%3Frd@host:80} </td><td>{@code user:pa55w?rd@host:80}</td></tr 185 private transient String host; field in class:URI [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
GeneralName.java | 348 // or by b.c - host name. 367 // specifies a host. 368 // Extract the host from URI: 372 String host = (end == -1) local 381 if (host.startsWith(".")) { 382 return _host.toLowerCase(Locale.US).endsWith(host.toLowerCase(Locale.US)); 384 return host.equalsIgnoreCase(_host);
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLContext.java | 91 public final InetAddress host; field in class:TestSSLContext 105 InetAddress host, 118 this.host = host; 133 * listening provided host and port. 185 InetAddress host = InetAddress.getLocalHost(); local 195 serverSocket, host, port); 282 public Socket createSocket(String host, int port) 284 return set(sf.createSocket(host, port)); 286 public Socket createSocket(String host, int port, InetAddress localHost, int localPort [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UrlHandler.java | 327 String host = uri.getHost(); local 328 if (host == null) { 331 String[] hostComponents = host.split("\\.");
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
ContactsUtils.java | 158 String host = im.getCustomProtocol(); local 164 // Try bringing in a well-known host for specific protocols 165 host = ContactsUtils.lookupProviderNameFromId(protocol); 167 if (TextUtils.isEmpty(host)) { 170 final String authority = host.toLowerCase();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_imaplib.py | 143 server, thread = self.make_server((support.HOST, 0), hdlr) 182 host = 'cyrus.andrew.cmu.edu' variable in class:RemoteIMAPTest 189 with transient_internet(self.host): 190 self.server = self.imap_class(self.host, self.port)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_imaplib.py | 143 server, thread = self.make_server((support.HOST, 0), hdlr) 182 host = 'cyrus.andrew.cmu.edu' variable in class:RemoteIMAPTest 189 with transient_internet(self.host): 190 self.server = self.imap_class(self.host, self.port)
|
/system/core/adb/ |
services.cpp | 464 } else if(!HOST && !strncmp(name, "shell:", 6)) { 466 } else if(!HOST && !strncmp(name, "exec:", 5)) { 543 static void connect_device(const std::string& host, std::string* response) { 544 if (host.empty()) { 545 *response = "empty host name"; 549 std::vector<std::string> pieces = android::base::Split(host, ":"); 560 // This may look like we're putting 'host' back together, 632 char *host = reinterpret_cast<char*>(cookie); local 635 if (!strncmp(host, "emu:", 4)) { 636 connect_emulator(host + 4, &response) 683 const char *host = name + 8; local [all...] |
transport_local.cpp | 96 const char *host = getenv("ADBHOST"); local 97 if (host) { 98 fd = socket_network_client(host, adb_port, SOCK_STREAM); 162 register_socket_transport(fd, "host", port, 1); 185 /* A worker thread that monitors host connections, and registers a transport for 186 * every new host connection. This thread replaces server_socket_thread on 189 * to provide more robust communication channel between ADB host and guest. The 193 * the connection between ADB host and guest will be lost. To make ADB traffic 195 * between the host, and the guest. See external/qemu/android/adb-*.* that 203 * - Wait for the ADB host to create connection with the guest. This is done b [all...] |
/art/build/ |
Android.gtest.mk | 97 # For the host, also add the installed tool (in the base size, that should suffice). For the 369 # Define make rules for a host gtests. 372 define define-art-gtest-rule-host 373 gtest_rule := test-art-host-gtest-$(1)$$($(2)ART_PHONY_TEST_HOST_SUFFIX) 375 # Dependencies for all host gtests. 406 endef # define-art-gtest-rule-host 408 # Define the rules to build and run host and target gtests. 409 # $(1): target or host 415 ifneq ($(1),host) 416 $$(error expected target or host for argument 1, received $(1) [all...] |
/art/runtime/jdwp/ |
jdwp.h | 109 std::string host = ""; member in struct:art::JDWP::JdwpOptions
|
/development/ndk/platforms/android-3/include/linux/mmc/ |
card.h | 55 struct mmc_host *host; member in struct:mmc_card 99 #define mmc_card_release_host(c) mmc_release_host((c)->host)
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
wsgiwrappers.py | 153 def host(self): member in class:WSGIRequest 154 """Host name provided in HTTP_HOST, with fall-back to SERVER_NAME""" 156 host = property(host, doc=host.__doc__) variable in class:WSGIRequest 283 msg += '\nscheme=%s, host=%s, script_name=%s, path_info=%s,' % \ 284 (pf(self.scheme), pf(self.host), pf(self.script_name),
|
/external/deqp/executor/tools/ |
xeCommandLineExecutor.cpp | 49 DE_DECLARE_COMMAND_LINE_OPT(Host, std::string); 85 << Option<Host> ("c", "connect", "Connect to host", "127.0.0.1") 114 std::string host; member in struct:CommandLine 142 cmdLine.host = opts.getOption<opt::Host>(); 422 address.setHost(cmdLine.host.c_str());
|