/external/swiftshader/src/Common/ |
Socket.hpp | 21 #include <sys/socket.h> 22 typedef int SOCKET; 27 class Socket 30 Socket(SOCKET socket); 31 Socket(const char *address, const char *port); 32 ~Socket(); 36 Socket *accept(); 45 SOCKET socket member in class:sw::Socket [all...] |
Socket.cpp | 15 #include "Socket.hpp" 28 Socket::Socket(SOCKET socket) : socket(socket) 32 Socket::Socket(const char *address, const char *port) 35 socket = INVALID_SOCKET [all...] |
/external/conscrypt/testing/src/main/java/tests/net/ |
DelegatingSocketFactory.java | 19 import java.net.Socket; 32 * Invoked after obtaining a socket from the delegate and before returning it to the caller. 36 protected Socket configureSocket(Socket socket) throws IOException { 37 return socket; 40 public Socket createSocket() throws IOException { 41 Socket socket = mDelegate.createSocket(); local 42 return configureSocket(socket); 46 Socket socket = mDelegate.createSocket(host, port); local 52 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); local 57 Socket socket = mDelegate.createSocket(host, port); local 63 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort); local [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
DelegatingSocketFactory.java | 20 import java.net.Socket; 26 * overriding {@link #configureSocket(java.net.Socket)}. 37 public Socket createSocket() throws IOException { 38 Socket socket = delegate.createSocket(); local 39 return configureSocket(socket); 43 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { 44 Socket socket = delegate.createSocket(host, port); local 45 return configureSocket(socket); 51 Socket socket = delegate.createSocket(host, port, localAddress, localPort); local 57 Socket socket = delegate.createSocket(host, port); local 64 Socket socket = delegate.createSocket(host, port, localAddress, localPort); local [all...] |
/libcore/support/src/test/java/tests/net/ |
DelegatingSocketFactory.java | 21 import java.net.Socket; 38 * Invoked after obtaining a socket from the delegate and before returning it to the caller. 42 protected Socket configureSocket(Socket socket) throws IOException { 43 return socket; 47 public Socket createSocket() throws IOException { 48 Socket socket = mDelegate.createSocket(); local 49 return configureSocket(socket); 54 Socket socket = mDelegate.createSocket(host, port); local 61 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); local 67 Socket socket = mDelegate.createSocket(host, port); local 74 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort); local [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/I2CLib/ |
I2CLibInternal.h | 22 UINTN GetI2cBase (UINT32 Socket, UINT8 Port);
25 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port);
|
I2CLibCommon.c | 24 UINTN GetI2cBase (UINT32 Socket, UINT8 Port)
26 return PlatformGetI2cBase(Socket, Port);
30 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port)
|
I2CLibRuntime.c | 32 UINTN GetI2cBase (UINT32 Socket, UINT8 Port)
34 if (gI2cBase[Socket][Port] == 0) {
35 gI2cBase[Socket][Port] = PlatformGetI2cBase(Socket, Port);
38 return gI2cBase[Socket][Port];
48 UINT32 Socket;
53 for (Socket = 0; Socket < MAX_SOCKET; Socket++) {
55 if (gI2cBase[Socket][Port] != 0) { [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/socket/ |
SocketFactory.java | 16 package org.mockftpserver.core.socket;
20 import java.net.Socket;
23 * Interface for factory that create new {@link Socket} instances.
33 * Create a new Socket instance for the specified host and port.
34 * @param host - the IP address of the host endpoint to which the socket is connect
35 * @param port - the port number of the enpoint to which the socket is connected
36 * @return a new Socket
39 public Socket createSocket(InetAddress host, int port) throws IOException;
|
DefaultSocketFactory.java | 16 package org.mockftpserver.core.socket;
20 import java.net.Socket;
23 * Default implementation of the {@link SocketFactory}; creates standard {@link Socket} instances.
32 * Create a new Socket instance for the specified host and port.
33 * @param host - the IP address of the host endpoint to which the socket is connect
34 * @param port - the port number of the enpoint to which the socket is connected
35 * @return a new Socket
38 * @see org.mockftpserver.core.socket.SocketFactory#createSocket(java.net.InetAddress, int)
40 public Socket createSocket(InetAddress host, int port) throws IOException {
41 return new Socket(host, port); [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/socket/ |
SocketFactory.java | 16 package org.mockftpserver.core.socket;
20 import java.net.Socket;
23 * Interface for factory that create new {@link Socket} instances.
33 * Create a new Socket instance for the specified host and port.
34 * @param host - the IP address of the host endpoint to which the socket is connect
35 * @param port - the port number of the enpoint to which the socket is connected
36 * @return a new Socket
39 public Socket createSocket(InetAddress host, int port) throws IOException;
|
DefaultSocketFactory.java | 16 package org.mockftpserver.core.socket;
20 import java.net.Socket;
23 * Default implementation of the {@link SocketFactory}; creates standard {@link Socket} instances.
32 * Create a new Socket instance for the specified host and port.
33 * @param host - the IP address of the host endpoint to which the socket is connect
34 * @param port - the port number of the enpoint to which the socket is connected
35 * @return a new Socket
38 * @see org.mockftpserver.core.socket.SocketFactory#createSocket(java.net.InetAddress, int)
40 public Socket createSocket(InetAddress host, int port) throws IOException {
41 return new Socket(host, port); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Connection.java | 19 import java.net.Socket; 71 * Returns the socket that this connection uses, or null if the connection 74 Socket getSocket();
|
/external/testng/src/main/java/org/testng/internal/remote/ |
SocketLinkedBlockingQueue.java | 3 import java.net.Socket;
13 public class SocketLinkedBlockingQueue extends java.util.concurrent.LinkedBlockingQueue<Socket>
|
/external/webrtc/webrtc/base/ |
socketfactory.h | 14 #include "webrtc/base/socket.h" 23 // Returns a new socket for blocking communication. The type can be 28 virtual Socket* CreateSocket(int type) = 0; 29 virtual Socket* CreateSocket(int family, int type) = 0; 30 // Returns a new socket for nonblocking communication. The type can be
|
/libcore/ojluni/src/main/java/javax/net/ |
SocketFactory.java | 31 import java.net.Socket; 38 * framework for the addition of public socket-level functionality. 40 * <P> Socket factories are a simple way to capture a variety of policies 50 * in socket construction. So for example, factories could be 55 * of java.net.Socket, so that they can directly expose new APIs 86 * Returns a copy of the environment's default socket factory. 107 // Android-added: Added method for testing default socket factory. 117 * Creates an unconnected socket. 119 * @return the unconnected socket 120 * @throws IOException if the socket cannot be create [all...] |
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
LayeredSocketFactory.java | 35 import java.net.Socket; 40 * See there for things to consider when implementing a socket factory. 54 * Returns a socket connected to the given host that is layered over an 55 * existing socket. Used primarily for creating secure sockets through 58 * @param socket the existing socket 61 * @param autoClose a flag for closing the underling socket when the created 62 * socket is closed 64 * @return Socket a new socket [all...] |
SocketFactory.java | 36 import java.net.Socket; 44 * The factory encapsulates the logic for establishing a socket connection. 62 * Creates a new, unconnected socket. 63 * The socket should subsequently be passed to 66 * @return a new socket 68 * @throws IOException if an I/O error occurs while creating the socket 70 Socket createSocket() 76 * Connects a socket to the given host. 78 * @param sock the socket to connect, as obtained from 80 * <code>null</code> indicates that a new socket [all...] |
/device/generic/goldfish/dhcp/common/ |
socket.h | 25 class Socket { 27 Socket(); 28 Socket(const Socket&) = delete; 29 ~Socket(); 31 Socket& operator=(const Socket&) = delete; 34 // Open a socket, |domain|, |type| and |protocol| are as described in the 35 // man pages for socket. 41 // Bind a raw socket to the interface with index |interfaceIndex| [all...] |
/external/deqp/framework/delibs/decpp/ |
deSocket.cpp | 76 // Socket 78 Socket::Socket (void) 85 Socket::~Socket (void) 90 void Socket::setFlags (deUint32 flags) 93 throw SocketError("Setting socket flags failed"); 96 void Socket::listen (const SocketAddress& address) 99 throw SocketError("Listening on socket failed"); 102 void Socket::connect (const SocketAddress& address [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowSocketTagger.java | 4 import java.net.Socket; 13 public final void tag(Socket socket) throws SocketException { 17 public final void untag(Socket socket) throws SocketException {
|
/device/generic/goldfish/wifi/ipv6proxy/ |
interface.h | 22 #include "socket.h" 38 Socket& ipSocket() { return mIpSocket; } 39 Socket& icmpSocket() { return mIcmpSocket; } 50 Socket mIpSocket; 51 Socket mIcmpSocket;
|
/external/apache-http/src/org/apache/http/conn/ |
OperatedClientConnection.java | 35 import java.net.Socket; 93 * Obtains the socket for this connection. 98 * @return the socket for communicating with the 101 Socket getSocket() 113 * the unconnected socket that will be connected before 115 * the connection to close that socket if 117 * is called before it is open. Closing the unconnected socket 126 * @param sock the unconnected socket which is about to 130 void opening(Socket sock, HttpHost target) 157 * socket connection [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
StubServerSocket.java | 16 package org.mockftpserver.core.socket;
20 import java.net.Socket;
25 * Socket returned by accept(), and the local port for the ServerSocket.
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 { [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/ |
StubServerSocket.java | 16 package org.mockftpserver.core.socket;
20 import java.net.Socket;
25 * Socket returned by accept(), and the local port for the ServerSocket.
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 { [all...] |