Searched refs:host (Results 1 - 25 of 2743) sorted by path

1234567891011>>

/external/antlr/
H A DAndroid.mk27 # Also build a host-side library
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
H A Dsocket.rb48 port, host = Socket.unpack_sockaddr_in( addr )
49 log!( "Accepted connection from %s:%s\n", host, port )
271 attr_reader :host, :port
275 @host = options.fetch( :host, 'localhost' )
328 TCPSocket.open( @host, @port ) do |socket|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
H A Dgrammar.rb272 host = call_stack.find { |call| call.file != __FILE__ }
274 @host_file = File.expand_path( options[ :file ] || host.file )
275 @host_line = ( options[ :line ] || host.line )
/external/apache-harmony/jdwp/
H A DAndroid.mk66 LOCAL_MODULE := apache-harmony-jdwp-tests-host
100 .PHONY: run-jdwp-tests-host
101 run-jdwp-tests-host: $(HOST_OUT_EXECUTABLES)/art $(HOST_OUT_JAVA_LIBRARIES)/apache-harmony-jdwp-tests-hostdex.jar $(HOST_OUT_JAVA_LIBRARIES)/junit-hostdex.jar
111 run-jdwp-tests-ri: $(HOST_OUT_JAVA_LIBRARIES)/apache-harmony-jdwp-tests-host.jar $(HOST_OUT_JAVA_LIBRARIES)/junit.jar
112 java -cp $(HOST_OUT_JAVA_LIBRARIES)/apache-harmony-jdwp-tests-host.jar:$(HOST_OUT_JAVA_LIBRARIES)/junit.jar \
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
H A DJPDADebuggeeSynchronizer.java212 String host = "localhost";
215 logWriter.println("[SYNC] Attaching socket to: " + host + ":" + port);
216 clientSocket = new Socket(host, port);
/external/apache-harmony/
H A Drun-harmony-tests30 --classpath out/host/common/obj/JAVA_LIBRARIES/apache-harmony-tests-hostdex_intermediates/javalib.jar \
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
H A DSSLContext2Test.java114 sslC.createSSLEngine("host", 1);
130 assertNull("Incorrect host", sslE.getPeerHost());
132 String host = "ZZZ";
134 sslE = sslC.createSSLEngine(host, port);
136 assertEquals("Incorrect host", sslE.getPeerHost(), host);
H A DSSLEngineTest.java40 * SSLEngine object with null host and -1 port
52 * Test for <code>SSLEngine(String host, int port)</code> constructor
66 * Test for <code>SSLEngine(String host, int port)</code> constructor
69 String host = "new host";
71 SSLEngine e = new mySSLEngine(host, port);
72 assertEquals(e.getPeerHost(), host);
92 String host = "new host";
96 SSLEngine e = new mySSLEngine(host, por
366 mySSLEngine(String host, int port) argument
513 mySSLEngine1(String host, int port) argument
[all...]
H A DSSLSocketTest.java110 public MySSLSocket(String host, int port) throws IOException, argument
112 super(host, port);
124 public MySSLSocket(String host, int port, InetAddress clientAddress, argument
126 super(host, port, clientAddress, clientPort);
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
H A DSocketFactoryTest.java86 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { argument
91 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument
97 public Socket createSocket(InetAddress host, int port) throws IOException { argument
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/
H A DMySSLContextSpi.java82 protected SSLEngine engineCreateSSLEngine(String host, int port) { argument
86 return new tmpSSLEngine(host, port);
106 public tmpSSLEngine(String host, int port) { argument
107 tmpHost = host;
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/
H A DMySSLContextSpi.java91 protected SSLEngine engineCreateSSLEngine(String host, int port) { argument
95 return new tmpSSLEngine(host, port);
115 public tmpSSLEngine(String host, int port) { argument
116 tmpHost = host;
/external/apache-http/src/org/apache/http/auth/
H A DAuthScope.java38 * The class represents an authentication scope consisting of a host name,
55 * The <tt>null</tt> value represents any host. In the future versions of
76 * Default scope matching any host, port, realm and authentication scheme.
88 /** The host the credentials apply to. */
89 private final String host; field in class:AuthScope
95 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and
98 * @param host the host the credentials apply to. May be set
100 * any host.
111 public AuthScope(final String host, in argument
134 AuthScope(final String host, int port, final String realm) argument
149 AuthScope(final String host, int port) argument
[all...]
/external/apache-http/src/org/apache/http/client/params/
H A DClientParamBean.java86 public void setVirtualHost (final HttpHost host) { argument
87 params.setParameter(ClientPNames.VIRTUAL_HOST, host);
94 public void setDefaultHost (final HttpHost host) { argument
95 params.setParameter(ClientPNames.DEFAULT_HOST, host);
/external/apache-http/src/org/apache/http/client/utils/
H A DURIUtils.java60 * @param host
80 final String host,
87 if (host != null) {
92 buffer.append(host);
116 * A convenience method for creating a new {@link URI} whose scheme, host
117 * and port are taken from the target host, but whose path, query and
124 * Contains the scheme, host and port to use.
78 createURI( final String scheme, final String host, int port, final String path, final String query, final String fragment) argument
/external/apache-http/src/org/apache/http/conn/
H A DHttpHostConnectException.java50 private final HttpHost host; field in class:HttpHostConnectException
52 public HttpHostConnectException(final HttpHost host, final ConnectException cause) { argument
53 super("Connection to " + host + " refused");
54 this.host = host;
59 return this.host;
H A DMultihomePlainSocketFactory.java92 * given host name resolves to. If connection to all addresses fail, the
96 * @param host Host name to connect to
105 public Socket connectSocket(Socket sock, String host, int port, argument
110 if (host == null) {
111 throw new IllegalArgumentException("Target host may not be null.");
133 InetAddress[] inetadrs = InetAddress.getAllByName(host);
/external/apache-http/src/org/apache/http/conn/scheme/
H A DLayeredSocketFactory.java54 * Returns a socket connected to the given host that is layered over an
59 * @param host the host name/IP
60 * @param port the port on the host
67 * @throws UnknownHostException if the IP address of the host cannot be
72 String host,
70 createSocket( Socket socket, String host, int port, boolean autoClose ) argument
H A DPlainSocketFactory.java89 public Socket connectSocket(Socket sock, String host, int port, argument
94 if (host == null) {
95 throw new IllegalArgumentException("Target host may not be null.");
119 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port);
121 remoteAddress = new InetSocketAddress(host, port);
H A DSchemeRegistry.java93 * Obtains the scheme for a host.
94 * Convenience method for <code>getScheme(host.getSchemeName())</pre>
96 * @param host the host for which to obtain the scheme
98 * @return the scheme for the given host, never <code>null</code>
103 public synchronized final Scheme getScheme(HttpHost host) { argument
104 if (host == null) {
107 return getScheme(host.getSchemeName());
H A DSocketFactory.java76 * Connects a socket to the given host.
82 * @param host the host to connect to
83 * @param port the port to connect to on the host
95 * @throws UnknownHostException if the IP address of the target host
102 String host,
120 * socket to a host in the same intranet ("trusted zone")
100 connectSocket( Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params ) argument
/external/apache-http/src/org/apache/http/conn/ssl/
H A DAbstractVerifier.java91 public final void verify(String host, SSLSocket ssl) argument
93 if(host == null) {
94 throw new NullPointerException("host to verify is null");
100 verify(host, x509);
103 public final boolean verify(String host, SSLSession session) { argument
107 verify(host, x509);
115 public final void verify(String host, X509Certificate cert) argument
119 verify(host, cns, subjectAlts);
122 public final void verify(final String host, final String[] cns, argument
144 String msg = "Certificate for <" + host
[all...]
H A DAllowAllHostnameVerifier.java48 final String host,
47 verify( final String host, final String[] cns, final String[] subjectAlts) argument
H A DBrowserCompatHostnameVerifier.java56 final String host,
59 verify(host, cns, subjectAlts, false);
55 verify( final String host, final String[] cns, final String[] subjectAlts) argument
H A DSSLSocketFactory.java291 final String host,
298 if (host == null) {
299 throw new IllegalArgumentException("Target host may not be null.");
324 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port);
326 remoteAddress = new InetSocketAddress(host, port);
333 hostnameVerifier.verify(host, sslsock);
383 final String host,
389 host,
393 hostnameVerifier.verify(host, sslSocket);
289 connectSocket( final Socket sock, final String host, final int port, final InetAddress localAddress, int localPort, final HttpParams params ) argument
381 createSocket( final Socket socket, final String host, final int port, final boolean autoClose ) argument

Completed in 384 milliseconds

1234567891011>>