/external/kernel-headers/original/uapi/asm-arm/asm/ |
H A D | socket.h | 1 #include <asm-generic/socket.h>
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
H A D | socket.h | 1 #include <asm-generic/socket.h>
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
H A D | socket.h | 1 #include <asm-generic/socket.h>
|
/external/qemu/slirp/ |
H A D | socket.h | 17 * Our socket structure 20 struct socket { struct 21 struct socket *so_next,*so_prev; /* For a linked list of sockets */ 23 int s; /* The actual socket */ 38 u_int8_t so_emu; /* Is the socket emulated? */ 40 u_char so_type; /* Type of socket, UDP or TCP */ 44 u_int so_expire; /* When the socket will expire */ 46 int so_queued; /* Number of packets queued from this socket */ 72 #define SS_FACCEPTONCE 0x200 /* If set, the SS_FACCEPTCONN socket will die after one accept */ 74 extern struct socket tc [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | OpenSSLSocketImplWrapper.java | 27 * 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 host, int port, argument 35 super(socket, host, 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/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
H A D | sctp_peeloff.h | 41 /* socket option peeloff */ 57 int sctp_can_peel_off(struct socket *, sctp_assoc_t); 58 int sctp_do_peeloff(struct socket *, struct socket *, sctp_assoc_t); 60 struct socket *sctp_get_peeloff(struct socket *, sctp_assoc_t, int *); 65 int sctp_can_peel_off(struct socket *, sctp_assoc_t); 66 int sctp_do_peeloff(struct socket *, struct socket *, sctp_assoc_t);
|
/external/apache-http/src/org/apache/http/impl/ |
H A D | SocketHttpClientConnection.java | 61 private Socket socket = null; field in class:SocketHttpClientConnection 80 final Socket socket, 83 return new SocketInputBuffer(socket, buffersize, params); 87 final Socket socket, 90 return new SocketOutputBuffer(socket, buffersize, params); 94 final Socket socket, 96 if (socket == null) { 102 this.socket = socket; 107 createSessionInputBuffer(socket, buffersiz 79 createSessionInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument 86 createSessionOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument 93 bind( final Socket socket, final HttpParams params) argument [all...] |
H A D | SocketHttpServerConnection.java | 61 private Socket socket = null; field in class:SocketHttpServerConnection 80 final Socket socket, 83 return new SocketInputBuffer(socket, buffersize, params); 87 final Socket socket, 90 return new SocketOutputBuffer(socket, buffersize, params); 93 protected void bind(final Socket socket, final HttpParams params) throws IOException { argument 94 if (socket == null) { 100 this.socket = socket; 105 createHttpDataReceiver(socket, buffersiz 79 createHttpDataReceiver( final Socket socket, int buffersize, final HttpParams params) argument 86 createHttpDataTransmitter( final Socket socket, int buffersize, final HttpParams params) argument [all...] |
H A D | DefaultHttpClientConnection.java | 56 final Socket socket, 58 if (socket == null) { 65 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params)); 66 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); 70 socket.setSoLinger(linger > 0, linger); 72 super.bind(socket, params); 55 bind( final Socket socket, final HttpParams params) argument
|
H A D | DefaultHttpServerConnection.java | 55 public void bind(final Socket socket, final HttpParams params) throws IOException { argument 56 if (socket == null) { 63 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params)); 64 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); 68 socket.setSoLinger(linger > 0, linger); 70 super.bind(socket, params);
|
/external/lldb/test/functionalities/connect_remote/ |
H A D | EchoServer.py | 5 Taken from http://docs.python.org/library/socket.html#example. 8 import socket namespace 12 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
/external/qemu/slirp-android/ |
H A D | socket.h | 17 * Our socket structure 20 struct socket { struct 21 struct socket *so_next,*so_prev; /* For a linked list of sockets */ 23 int s; /* The actual socket */ 39 u_int8_t so_emu; /* Is the socket emulated? */ 41 u_char so_type; /* Type of socket, UDP or TCP */ 45 u_int so_expire; /* When the socket will expire */ 47 int so_queued; /* Number of packets queued from this socket */ 73 #define SS_FACCEPTONCE 0x200 /* If set, the SS_FACCEPTCONN socket will die after one accept */ 77 extern struct socket tc [all...] |
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
H A D | Socks5BytestreamSession.java | 35 /* the underlying socket of the SOCKS5 Bytestream */
36 private final Socket socket;
field in class:Socks5BytestreamSession 41 protected Socks5BytestreamSession(Socket socket, boolean isDirect) {
argument 42 this.socket = socket;
69 return this.socket.getInputStream();
73 return this.socket.getOutputStream();
78 return this.socket.getSoTimeout();
87 this.socket.setSoTimeout(timeout);
95 this.socket [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
H A D | basicpacketsocketfactory.cc | 65 talk_base::AsyncSocket* socket = local 68 if (!socket) { 71 if (BindSocket(socket, address, min_port, max_port) < 0) { 73 << socket->GetError(); 74 delete socket; 77 return new talk_base::AsyncUDPSocket(socket); 89 talk_base::AsyncSocket* socket = local 92 if (!socket) { 96 if (BindSocket(socket, local_address, min_port, max_port) < 0) { 98 << socket 129 talk_base::AsyncSocket* socket = local 184 BindSocket( AsyncSocket* socket, const SocketAddress& local_address, int min_port, int max_port) argument [all...] |
/external/chromium_org/tools/android/common/ |
H A D | net.h | 14 int DisableNagle(int socket); 17 int DeferAccept(int socket);
|
H A D | net.cc | 9 #include <sys/socket.h> 16 int DisableNagle(int socket) { argument 18 return setsockopt(socket, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on)); 21 int DeferAccept(int socket) { argument 23 return setsockopt(socket, IPPROTO_TCP, TCP_DEFER_ACCEPT, &on, sizeof(on));
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | socket.c | 10 int socket(int domain, int type, int protocol) { function
|
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | SocketInputBuffer.java | 54 private final Socket socket; field in class:SocketInputBuffer 57 final Socket socket, 61 if (socket == null) { 64 this.socket = socket; 70 init(socket.getInputStream(), 8192, params); 77 int oldtimeout = this.socket.getSoTimeout(); 79 this.socket.setSoTimeout(timeout); 87 socket.setSoTimeout(oldtimeout); 106 int oldTimeout = this.socket 56 SocketInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument [all...] |
H A D | SocketOutputBuffer.java | 52 final Socket socket, 56 if (socket == null) { 64 init(socket.getOutputStream(), 8192, params); 51 SocketOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument
|
/external/lldb/test/pexpect-2.4/examples/ |
H A D | bd_client.py | 6 import socket namespace 22 s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
H A D | proxyserver.h | 54 void OnConnectRequest(AsyncProxyServerSocket* socket, 56 void OnInternalRead(AsyncSocket* socket); 57 void OnInternalWrite(AsyncSocket* socket); 58 void OnInternalClose(AsyncSocket* socket, int err); 59 void OnExternalConnect(AsyncSocket* socket); 60 void OnExternalRead(AsyncSocket* socket); 61 void OnExternalWrite(AsyncSocket* socket); 62 void OnExternalClose(AsyncSocket* socket, int err); 64 static void Read(AsyncSocket* socket, FifoBuffer* buffer); 65 static void Write(AsyncSocket* socket, FifoBuffe 105 WrapSocket(AsyncSocket* socket) argument [all...] |
H A D | socketstream.h | 41 explicit SocketStream(AsyncSocket* socket); 44 void Attach(AsyncSocket* socket); 60 void OnConnectEvent(AsyncSocket* socket); 61 void OnReadEvent(AsyncSocket* socket); 62 void OnWriteEvent(AsyncSocket* socket); 63 void OnCloseEvent(AsyncSocket* socket, int err);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | proxyserver.h | 37 void OnConnectRequest(AsyncProxyServerSocket* socket, 39 void OnInternalRead(AsyncSocket* socket); 40 void OnInternalWrite(AsyncSocket* socket); 41 void OnInternalClose(AsyncSocket* socket, int err); 42 void OnExternalConnect(AsyncSocket* socket); 43 void OnExternalRead(AsyncSocket* socket); 44 void OnExternalWrite(AsyncSocket* socket); 45 void OnExternalClose(AsyncSocket* socket, int err); 47 static void Read(AsyncSocket* socket, FifoBuffer* buffer); 48 static void Write(AsyncSocket* socket, FifoBuffe 88 WrapSocket(AsyncSocket* socket) argument [all...] |
H A D | socketstream.h | 24 explicit SocketStream(AsyncSocket* socket); 27 void Attach(AsyncSocket* socket); 43 void OnConnectEvent(AsyncSocket* socket); 44 void OnReadEvent(AsyncSocket* socket); 45 void OnWriteEvent(AsyncSocket* socket); 46 void OnCloseEvent(AsyncSocket* socket, int err);
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLSocketImplTest.java | 68 SSLSocket socket = null; 72 socket = new SSLSocketImpl(JSSETestData.getSSLParameters()); 73 socket.connect( 75 ((SSLSocketImpl) socket).init(); 76 socket.setUseClientMode(true); 79 final SSLSocket s = socket; 106 socket.close(); 119 if (socket != null) { 121 socket.close(); 134 SSLSocket socket [all...] |