/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...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 54 protected String host; field in class:HopImpl 65 return host + ":" + port + "/" + transport; 69 * Create new hop given host, port and transport. 75 host = hostName; 79 if(host.indexOf(":") >= 0) 80 if(host.indexOf("[") < 0) 81 host = "[" + host + "]"; 90 * @param hop is a hop string in the form of host:port/Transport 104 this.host = hop.substring(0,colon) [all...] |
/external/okhttp/android/main/java/com/squareup/okhttp/ |
HttpHandler.java | 113 String host = url.getHost(); local 114 if (!NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(host)) { 115 throw new IOException("Cleartext HTTP traffic to " + host + " not permitted");
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
WebPlatformUrlTestData.java | 42 String host = ""; field in class:WebPlatformUrlTestData 64 host = value;
|
/external/testng/src/main/java/org/testng/internal/remote/ |
SlavePool.java | 42 Socket host = null; local 45 host = m_hosts.take(); 46 result = m_connectionInfos.get(host);
|
/external/testng/src/main/java/org/testng/remote/adapter/ |
DefaultMastertAdapter.java | 43 // Create one socket per host found
47 String host = m_hosts[i];
local 48 String[] s = host.split(":");
55 Utils.error("Couldn't connect to " + host + ": " + e.getMessage());
|
/external/v8/src/ic/ |
ic-inl.h | 149 Code* host = local 151 return (host->kind() == Code::OPTIMIZED_FUNCTION && 152 host->marked_for_deoptimization());
|
/external/vogar/src/vogar/ |
SshTarget.java | 31 * Runs actions on a remote host using SSH. 35 private final String host; field in class:SshTarget 45 host = hostAndPort.substring(0, colon); 48 host = hostAndPort; 51 sshCommandPrefixList = ImmutableList.of("ssh", "-p", Integer.toString(port), host, "-C"); 93 new Command(log, "ssh", "-p", Integer.toString(port), host, 94 "-L", port + ":" + host + ":" + port, "-N").start(); 102 local.getPath(), host + ":" + remote.getPath()).execute(); 111 host + ":" + remote.getPath(), local.getPath()).execute();
|
/frameworks/base/core/java/android/net/ |
PacProxySelector.java | 123 String host = hostPort[0]; local 125 return new Proxy(type, InetSocketAddress.createUnresolved(host, port));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeFactory.java | 41 DozeHost host = getHost(dozeService); local 52 createDozeTriggers(context, sensorManager, host, config, params, handler, wakeLock, 54 createDozeUi(context, host, wakeLock, machine, handler, alarmManager), 61 DozeHost host, AmbientDisplayConfiguration config, DozeParameters params, 64 return new DozeTriggers(context, machine, host, config, params, 68 private DozeMachine.Part createDozeUi(Context context, DozeHost host, WakeLock wakeLock, 70 return new DozeUi(context, alarmManager, machine, wakeLock, host, handler);
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/ |
PlaybackControlGlueTest.java | 103 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); local 105 mGlue.setHost(host); 106 Mockito.verify(mGlue, times(1)).onAttachedToHost(host); 107 assertSame(mGlue, host.mGlue); 108 assertSame(host, mGlue.getHost()); 109 assertTrue(host.mPlaybackRowPresenter instanceof PlaybackControlsRowPresenter); 110 assertTrue(host.mRow instanceof PlaybackControlsRow); 129 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); local 131 mGlue.setHost(host); 132 Mockito.verify(mGlue, times(1)).onAttachedToHost(host); 151 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); local 180 PlaybackGlueHostImpl host = new PlaybackGlueHostImpl(); local [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
SocketHandler.java | 59 * <li> <handler-name>.host 60 * specifies the target host name to connect to (no default). </li> 85 private String host; field in class:SocketHandler 109 host = manager.getStringProperty(cname + ".host", null); 116 * @throws IllegalArgumentException if the host or port are invalid or 119 * host and port. 129 System.err.println("SocketHandler: connect failed to " + host + ":" + port); 136 * Construct a <tt>SocketHandler</tt> using a specified host and port. 139 * properties (or their default values) except that the given target host [all...] |
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
FakeSSLSession.java | 25 final String host; field in class:FakeSSLSession 27 public FakeSSLSession(String host) { 28 this.host = host; 44 return host.getBytes(); 72 return host;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
CertificateRequestor.java | 32 public static final String EXTRA_HOST = "CertificateRequestor.host"; 45 String host = i.getStringExtra(EXTRA_HOST); local 52 host, port,
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
AppWidgetManagerCompatVL.java | 80 AppWidgetHost host, int requestCode) { 82 host.startAppWidgetConfigureActivityForResult(activity, widgetId, 0, requestCode, null);
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
Utils.java | 151 * Redact the URL for non-VERBOSE logging. Replace url with only the host part and the length 166 String host = ""; local 170 host = url.getHost(); 174 // Print "http://host[length]" 176 sb.append(protocol).append("://").append(host)
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
EmailAddress.java | 67 * @param host A string representing the host following the '@' symbol 69 public EmailAddress(final String user, final String host) { 70 this(user, host, false); 77 * @param host A string representing the host following the '@' symbol 80 public EmailAddress(final String user, final String host, final boolean i18n) { 83 setHost(host); 97 (atIndex == (emailString.length() - 1))) { // last character, no host 102 host = emailString.substring(atIndex + 1) 270 protected String host = null; field in class:EmailAddress [all...] |
YouTubeUtil.java | 49 final String host = uri.getHost(); local 50 if (YOUTUBE_HOST_1.equalsIgnoreCase(host) 51 || YOUTUBE_HOST_2.equalsIgnoreCase(host) 52 || YOUTUBE_HOST_3.equalsIgnoreCase(host) 53 || YOUTUBE_HOST_4.equalsIgnoreCase(host) 54 || YOUTUBE_HOST_5.equalsIgnoreCase(host)) {
|
/system/extras/multinetwork/ |
httpurl.cpp | 38 std::string host; member in struct:Parameters 54 parameters->host = std::string(args.arg1).substr(strlen(HTTP_PREFIX)); 55 const auto first_slash = parameters->host.find_first_of("/"); 57 parameters->path = parameters->host.substr(first_slash); 58 parameters->host.erase(first_slash); 61 if (parameters->host.size() == 0) { 62 std::cerr << "Host portion cannot be empty." << std::endl; 66 if (parameters->host[0] == '[') { 67 const auto closing_bracket = parameters->host.find_first_of("]"); 72 parameters->hostname = parameters->host.substr(1, closing_bracket - 1) [all...] |
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/ |
RadioHelper.java | 108 String failString = "ping: unknown host"; 111 String host = PING_SERVER_LIST[i]; local 112 CLog.d("Start ping test, ping %s", host); 113 String res = mDevice.executeShellCommand("ping -c 10 -w 100 " + host);
|
/development/ide/emacs/ |
android-common.el | 92 (defun android-host () 135 (defun android-find-host-bin (binary) 136 "Return the full path to the host BINARY. 137 Binaries don't depend on the device, just on the host type. 138 Try first to locate BINARY in the out/host tree. Fallback using 141 (let ((path (concat (android-find-build-tree-root) "out/host/" 142 (android-host) "/bin/" binary))) 151 (android-find-host-bin "adb")) 158 (concat (android-find-host-bin "fastboot") " -p " (android-product)))
|