/external/apache-http/src/org/apache/http/cookie/ |
CookieOrigin.java | 50 private final String host; field in class:CookieOrigin 55 public CookieOrigin(final String host, int port, final String path, boolean secure) { 57 if (host == null) { 59 "Host of origin may not be null"); 61 if (host.trim().length() == 0) { 63 "Host of origin may not be blank"); 72 this.host = host.toLowerCase(Locale.ENGLISH); 83 return this.host; 105 buffer.append(this.host); [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Scenario.java | 24 import com.google.caliper.model.Host.HostFunnel; 38 private Host host; field in class:Scenario 45 this.host = Host.DEFAULT; 51 this.host = builder.host; 56 public Host host() { method in class:Scenario 57 return host; 106 private Host host; field in class:Scenario.Builder 110 public Builder host(Host.Builder hostBuilder) { method in class:Scenario.Builder 114 public Builder host(Host host) { method in class:Scenario.Builder [all...] |
/external/guava/guava/src/com/google/common/net/ |
HostSpecifier.java | 28 * A syntactically valid host specifier, suitable for use in a URI. 32 * <p>Because this class is intended to represent host specifiers which can 39 * to a real or accessible host. Only syntactic and pattern-based checks are 80 final String host = parsedHost.getHostText(); local 88 addr = InetAddresses.forString(host); 100 final InternetDomainName domain = InternetDomainName.from(host); 107 "Domain name does not have a recognized public suffix: " + host); 128 new ParseException("Invalid host specifier: " + specifier, 0); 168 * Returns a string representation of the host specifier suitable for 169 * inclusion in a URI. If the host specifier is a domain name, th [all...] |
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/ |
HttpsTransportSE.java | 19 private final String host; field in class:HttpsTransportSE 24 public HttpsTransportSE(String host, int port, String file, int timeout) { 25 super(HttpsTransportSE.PROTOCOL + "://" + host + ":" + port + file); 27 + host + ":" + port + file); 28 this.host = host; 41 serviceConnection = new HttpsServiceConnectionSE(host, port, file, timeout);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_network.c | 115 struct hostent *host = NULL; local 118 host = gethostbyname(hostname); 119 if (!host) 122 memcpy((char *)&sa.sin_addr,host->h_addr_list[0],host->h_length); 123 sa.sin_family= host->h_addrtype; 126 s = socket(host->h_addrtype, SOCK_STREAM, IPPROTO_TCP);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
CallIdentifier.java | 53 * host field 55 protected String host; field in class:CallIdentifier 66 * @param host is the host. 68 public CallIdentifier(String localId, String host) { 70 this.host = host; 93 if (host != null) { 94 buffer.append(AT).append(host); 114 if (this.host == that.host [all...] |
/external/tensorflow/tensorflow/contrib/gdr/ |
gdr_server_lib.cc | 29 string host; local 38 host = hostname_port[0]; 45 CreateRemoteMemoryManager(host, port));
|
/external/tensorflow/tensorflow/stream_executor/host/ |
host_platform.cc | 16 #include "tensorflow/stream_executor/host/host_platform.h" 20 #include "tensorflow/stream_executor/host/host_gpu_executor.h" 21 #include "tensorflow/stream_executor/host/host_platform_id.h" 33 namespace host { namespace in namespace:perftools::gputools 35 HostPlatform::HostPlatform() : name_("Host") {} 88 LOG(FATAL) << "not yet implemented: register host trace listener"; 92 LOG(FATAL) << "not yet implemented: unregister host trace listener"; 96 std::unique_ptr<gpu::Platform> platform(new gpu::host::HostPlatform); 100 } // namespace host 105 host_platform, perftools::gputools::host::InitializeHostPlatform()) [all...] |
/external/v8/src/ic/ |
ic-inl.h | 133 Code* host = local 135 return (host->kind() == Code::OPTIMIZED_FUNCTION && 136 host->marked_for_deoptimization());
|
/external/webrtc/webrtc/libjingle/xmpp/ |
jingleinfotask.cc | 99 std::string host = server->Attr(QN_JINGLE_INFO_HOST); local 101 if (host != STR_EMPTY && host != STR_EMPTY) { 102 stun_hosts.push_back(rtc::SocketAddress(host, atoi(port.c_str()))); 112 std::string host = server->Attr(QN_JINGLE_INFO_HOST); local 113 if (host != STR_EMPTY) { 114 relay_hosts.push_back(host);
|
/frameworks/support/navigation/integration-tests/testapp/src/main/java/androidx/navigation/testapp/ |
NavigationActivity.java | 53 NavHostFragment host = (NavHostFragment) getSupportFragmentManager() local 56 if (host != null) { 57 NavController navController = host.getNavController();
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
Handler.java | 46 String host = url.getHost(); local 47 if (host == null) 48 host = ""; 49 return host; 77 String host = u.getHost(); local 78 if (host == null || host.equals("") || host.equals("~") || 79 host.equalsIgnoreCase("localhost")) { 91 ru = new URL("ftp", host, u.getFile() [all...] |
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
UrlUtil.java | 61 String host = url.getHost(); local 68 URI uri = new URI(scheme, userInfo, host, port, path, query, fragment);
|
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/ |
AppWidgetTest.java | 79 Log.d(TAG, "deleting host"); 81 AppWidgetHost host = new AppWidgetHost(mContext, HOST_ID); local 82 host.deleteHost(); 89 // Create a host and start listening. 90 AppWidgetHost host = new AppWidgetHost(mContext, HOST_ID); local 91 host.deleteHost(); 92 host.startListening(); 100 int appWidgetId = host.allocateAppWidgetId();
|
/art/test/ |
Android.run-test.mk | 64 # All tests require the host executables. The tests also depend on the core images, but on 103 # Host executables. 135 TARGET_TYPES := host target 140 # Add core image dependencies required for given target - HOST or TARGET, 148 test-art-host-run-test-dependencies : $(host_prereq_rules) 150 test-art-run-test-dependencies : test-art-host-run-test-dependencies test-art-target-run-test-dependencies 153 # test-art-{1: host target}-run-test 154 define define-test-art-host-or-target-run-test-group 163 endef # define-test-art-host-or-target-run-test-group 166 $(call define-test-art-host-or-target-run-test-group,$(target))) [all...] |
/bionic/tests/ |
netdb_test.cpp | 33 // It's okay for the host argument to be NULL, as long as service isn't. 42 // It's okay for the service argument to be NULL, as long as host isn't. 145 char host[NI_MAXHOST]; local 150 host, sizeof(host), NULL, 0, 0)); 151 ASSERT_STREQ(host, "localhost"); 163 char host[NI_MAXHOST]; local 168 host, sizeof(host), NULL, 0, 0)); 169 VerifyLocalhostName(host); [all...] |
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
BaseMultiUserTest.java | 16 package android.host.multiuser;
|
/cts/hostsidetests/systemui/src/android/host/systemui/ |
TileServiceTest.java | 15 package android.host.systemui;
|
/external/autotest/frontend/client/src/autotest/afe/ |
JobStatusDataSource.java | 20 * Custom RpcDataSource to process the list of host queue entries for a job and 56 boolean hasHost = (queueEntry.get("host").isNull() == null); 79 JSONObject host = queueEntry.get("host").isObject(); local 80 queueEntry.put("hostname", host.get("hostname")); 81 // don't show host details if the job is complete - it'll only confuse 85 queueEntry.put("host_status", host.get("status")); 86 queueEntry.put("host_locked", AfeUtils.getLockedText(host));
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
ClientSessionContext.java | 24 * Caches client sessions. Indexes by host and port. Users are typically 25 * looking to reuse any session for a given host and port. 32 * Sessions indexed by host and port. Protect from concurrent 97 * Finds a cached session for the given host name and port. 99 * @param host of server 103 private NativeSslSession getSession(String host, int port) { 104 if (host == null) { 108 HostAndPort key = new HostAndPort(host, port); 119 byte[] data = persistentCache.getSessionData(host, port); 121 session = NativeSslSession.newInstance(this, data, host, port) 136 String host = session.getPeerHost(); local 158 String host = session.getPeerHost(); local 176 final String host; field in class:ClientSessionContext.HostAndPort [all...] |
/external/libmicrohttpd/src/testcurl/https/ |
test_https_sni.c | 67 struct Hosts *host; local 69 host = malloc (sizeof (struct Hosts)); 70 if (NULL == host) 72 host->hostname = hostname; 73 host->next = hosts; 74 hosts = host; 85 gnutls_pcert_import_x509_raw (&host->pcrt, &data, GNUTLS_X509_FMT_PEM, 105 gnutls_privkey_init (&host->key); 107 gnutls_privkey_import_x509_raw (host->key, 144 struct Hosts *host; local [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/ |
PortParser.java | 27 * Utility class for parsing host and port values from command arguments.
35 * Parse the host address and port number of an extended address. This encoded format is used by
41 * @param parameter - the single parameter String containing the encoded host and port number
53 throw new CommandSyntaxException("Error parsing host and port number [" + parameter + "]");
58 InetAddress host;
local 60 host = InetAddress.getByName(tokens[2]);
63 throw new CommandSyntaxException("Error parsing host [" + tokens[2] + "]", e);
66 return new HostAndPort(host, port);
74 * of a 32-bit internet host address and a 16-bit TCP port address. This address
79 * where h1 is the high order 8 bits of the internet host address, and p1 is the [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/command/ |
PortCommandHandler.java | 36 * <li>{@link #HOST_KEY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
46 public static final String HOST_KEY = "host";
63 InetAddress host = parseHost(command.getParameters());
local 65 LOG.debug("host=" + host + " port=" + port);
66 session.setClientDataHost(host);
68 invocationRecord.set(HOST_KEY, host);
77 * of a 32-bit internet host address and a 16-bit TCP port address. This address
82 * where h1 is the high order 8 bits of the internet host address, and p1 is the [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
PasvCommandHandlerTest.java | 68 InetAddress host = InetAddress.getByName("196.168.44.55");
local 69 String result = PasvCommandHandler.convertHostAndPortToStringOfBytes(host, PORT);
|
/external/nist-sip/java/gov/nist/core/ |
HostPort.java | 47 // host / ipv4/ ipv6/ 48 /** host field 50 protected Host host; field in class:HostPort 61 host = null; 76 host.encode(buffer); 92 return port == that.port && host.equals(that.host); 95 /** get the Host field 96 * @return host fiel [all...] |