Searched refs:socket (Results 1 - 25 of 1063) sorted by relevance

1234567891011>>

/external/kernel-headers/original/uapi/asm-arm/asm/
H A Dsocket.h1 #include <asm-generic/socket.h>
/external/kernel-headers/original/uapi/asm-arm64/asm/
H A Dsocket.h1 #include <asm-generic/socket.h>
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dsocket.h1 #include <asm-generic/socket.h>
/external/parameter-framework/tools/xmlGenerator/
H A DportAllocator.py31 import sys, socket namespace
33 serversock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
35 # Create a listening socket on a random available port on localhost
43 except socket.error, (errno,message):
/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLSocketImplWrapper.java27 * This class wraps the SSL functionality over an existing connected socket.
31 private Socket socket; field in class:OpenSSLSocketImplWrapper
33 protected OpenSSLSocketImplWrapper(Socket socket, String hostname, int port, argument
35 super(socket, hostname, port, autoClose, sslParameters);
36 if (!socket.isConnected()) {
39 this.socket = socket;
45 throw new IOException("Underlying socket is already connected.");
50 throw new IOException("Underlying socket is already connected.");
55 throw new IOException("Underlying socket i
[all...]
/external/jetty/src/java/org/eclipse/jetty/io/
H A DNetworkTrafficListener.java42 * <p>The {@code socket} parameter can be used to extract socket address information of
45 * @param socket the socket associated with the remote client
47 public void opened(Socket socket); argument
52 * @param socket the socket associated with the remote client
55 public void incoming(Socket socket, Buffer bytes); argument
61 * @param socket the socket associate
64 outgoing(Socket socket, Buffer bytes) argument
76 closed(Socket socket) argument
83 opened(Socket socket) argument
87 incoming(Socket socket, Buffer bytes) argument
91 outgoing(Socket socket, Buffer bytes) argument
95 closed(Socket socket) argument
[all...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DDelegatingSocketFactory.java38 Socket socket = delegate.createSocket();
39 configureSocket(socket);
40 return socket;
45 Socket socket = delegate.createSocket(host, port);
46 configureSocket(socket);
47 return socket;
53 Socket socket = delegate.createSocket(host, port, localAddress, localPort);
54 configureSocket(socket);
55 return socket;
60 Socket socket
73 configureSocket(Socket socket) argument
[all...]
/external/apache-http/src/org/apache/http/impl/
H A DSocketHttpClientConnection.java66 private Socket socket = null; field in class:SocketHttpClientConnection
85 final Socket socket,
88 return new SocketInputBuffer(socket, buffersize, params);
92 final Socket socket,
95 return new SocketOutputBuffer(socket, buffersize, params);
99 final Socket socket,
101 if (socket == null) {
107 this.socket = socket;
112 createSessionInputBuffer(socket, buffersiz
84 createSessionInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument
91 createSessionOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument
98 bind( final Socket socket, final HttpParams params) argument
[all...]
H A DSocketHttpServerConnection.java66 private Socket socket = null; field in class:SocketHttpServerConnection
85 final Socket socket,
88 return new SocketInputBuffer(socket, buffersize, params);
92 final Socket socket,
95 return new SocketOutputBuffer(socket, buffersize, params);
98 protected void bind(final Socket socket, final HttpParams params) throws IOException { argument
99 if (socket == null) {
105 this.socket = socket;
110 createHttpDataReceiver(socket, buffersiz
84 createHttpDataReceiver( final Socket socket, int buffersize, final HttpParams params) argument
91 createHttpDataTransmitter( final Socket socket, int buffersize, final HttpParams params) argument
[all...]
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/socket/
H A DStubServerSocket.java16 package org.mockftpserver.core.socket;
33 private Socket socket; field in class:StubServerSocket
45 * Construct a new instance with specified local port and accept() socket.
47 * @param socket - the socket to be returned from accept(); if null, then accept() throws SocketTimeoutException.
50 public StubServerSocket(int localPort, Socket socket) throws IOException { argument
53 this.socket = socket;
65 * If a socket was specified on the constructor, then return that; otherwise, throw a SocketTimeoutException.
69 if (socket !
[all...]

Completed in 2736 milliseconds

1234567891011>>