/bionic/libc/bionic/ |
socket.cpp | 19 #include <sys/socket.h> 21 int socket(int domain, int type, int protocol) { function 22 return __netdClientDispatch.socket(domain, type, protocol);
|
/device/google/cuttlefish_common/guest/libs/remoter/ |
remoter_framework_pkt.cpp | 25 ALOGI("Connected to remoter (socket %d)", socket); 31 int socket = socket_local_client( local 33 if (socket < 0) { 38 ALOGI("Connected to remoter (socket %d)", socket); 41 return socket;
|
/device/generic/goldfish/libqemu/ |
test_util.h | 26 int socket; member in struct:__anon1651
|
/external/libmojo/ipc/ |
ipc_channel_handle.h | 24 explicit ChannelHandle(const base::FileDescriptor& s) : socket(s) {} 26 base::FileDescriptor socket; member in struct:IPC::ChannelHandle
|
/prebuilts/go/darwin-x86/src/runtime/ |
stubs_android.go | 5 // Return values of access/connect/socket are the return values of the syscall 15 // int socket(int, int, int) 16 func socket(domain int32, typ int32, prot int32) int32 func
|
/prebuilts/go/linux-x86/src/runtime/ |
stubs_android.go | 5 // Return values of access/connect/socket are the return values of the syscall 15 // int socket(int, int, int) 16 func socket(domain int32, typ int32, prot int32) int32 func
|
/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...] |
StubServerSocketFactory.java | 16 package org.mockftpserver.core.socket;
43 * @see org.mockftpserver.core.socket.ServerSocketFactory#createServerSocket(int)
|
/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...] |
StubServerSocketFactory.java | 16 package org.mockftpserver.core.socket;
21 import org.mockftpserver.core.socket.ServerSocketFactory;
45 * @see org.mockftpserver.core.socket.ServerSocketFactory#createServerSocket(int)
|
/external/autotest/client/cros/netprotos/ |
fake_host.py | 15 # List of FakeSocket objects returned by socket() 19 def socket(self, family, sock_type): member in class:FakeHost 22 @param family: The socket family, for example AF_INET. 23 @param sock_type: The socket type, for example SOCK_DGRAM. 32 """A fake socket interface implementation. 34 This class implements a fake socket object as returned by the Host.socket()
|
/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...] |
/system/netd/server/dns/ |
DnsTlsSocketFactory.h | 38 auto socket = std::make_unique<DnsTlsSocket>(server, mark, observer, cache); variable 39 if (!socket->initialize()) { 42 return std::move(socket);
|
/bionic/libc/private/ |
NetdClientDispatch.h | 21 #include <sys/socket.h> 28 int (*socket)(int, int, int); member in struct:NetdClientDispatch
|
/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/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/socket/ |
DefaultServerSocketFactory.java | 16 package org.mockftpserver.core.socket;
36 * @see org.mockftpserver.core.socket.ServerSocketFactory#createServerSocket(int)
|
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...] |
ServerSocketFactory.java | 16 package 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;
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/socket/ |
DefaultServerSocketFactory.java | 16 package org.mockftpserver.core.socket;
36 * @see org.mockftpserver.core.socket.ServerSocketFactory#createServerSocket(int)
|
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...] |
ServerSocketFactory.java | 16 package 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;
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_socket_manager_unittest.cc | 36 // Creates a socket and adds it to the socket manager, and then removes it 37 // before destroying the socket manager. 42 UdpSocketWrapper* socket = local 51 EXPECT_EQ(true, mgr->RemoveSocket(socket)); 55 // Creates a socket and add it to the socket manager, but does not remove it 56 // before destroying the socket manager. 57 // On Posix, this destroys the socket.
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLServerSocketTest.java | 30 SSLServerSocket socket = new SSLServerSocket() { local 46 assertTrue(socket.toString().startsWith("SSLServerSocket["));
|