Searched refs:socket (Results 1 - 25 of 1466) 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/qemu/slirp/
H A Dsocket.h17 * 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 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/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_peeloff.h41 /* 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 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...]
H A DDefaultHttpClientConnection.java61 final Socket socket,
63 if (socket == null) {
70 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params));
71 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params));
75 socket.setSoLinger(linger > 0, linger);
77 super.bind(socket, params);
60 bind( final Socket socket, final HttpParams params) argument
H A DDefaultHttpServerConnection.java60 public void bind(final Socket socket, final HttpParams params) throws IOException { argument
61 if (socket == null) {
68 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params));
69 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params));
73 socket.setSoLinger(linger > 0, linger);
75 super.bind(socket, params);
/external/lldb/test/functionalities/connect_remote/
H A DEchoServer.py5 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 Dsocket.h17 * 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/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dbasicpacketsocketfactory.cc66 rtc::AsyncSocket* socket = local
69 if (!socket) {
72 if (BindSocket(socket, address, min_port, max_port) < 0) {
74 << socket->GetError();
75 delete socket;
78 return new rtc::AsyncUDPSocket(socket);
90 rtc::AsyncSocket* socket = local
93 if (!socket) {
97 if (BindSocket(socket, local_address, min_port, max_port) < 0) {
99 << socket
124 rtc::AsyncSocket* socket = local
195 BindSocket( AsyncSocket* socket, const SocketAddress& local_address, int min_port, int max_port) argument
[all...]
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
H A DSocks5BytestreamSession.java35 /* 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/tools/android/common/
H A Dnet.h14 int DisableNagle(int socket);
17 int DeferAccept(int socket);
H A Dnet.cc9 #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/remoting/webapp/unittests/
H A Dxmpp_connection_unittest.js25 sinon.stub(chrome.socket, 'create');
26 sinon.stub(chrome.socket, 'connect');
27 sinon.stub(chrome.socket, 'write');
28 sinon.stub(chrome.socket, 'read');
29 sinon.stub(chrome.socket, 'destroy');
30 sinon.stub(chrome.socket, 'secure');
37 chrome.socket.create.restore();
38 chrome.socket.connect.restore();
39 chrome.socket.write.restore();
40 chrome.socket
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
H A Dsocket.c10 int socket(int domain, int type, int protocol) { function
/external/apache-http/src/org/apache/http/impl/io/
H A DSocketInputBuffer.java59 private final Socket socket; field in class:SocketInputBuffer
62 final Socket socket,
66 if (socket == null) {
69 this.socket = socket;
75 init(socket.getInputStream(), 8192, params);
82 int oldtimeout = this.socket.getSoTimeout();
84 this.socket.setSoTimeout(timeout);
92 socket.setSoTimeout(oldtimeout);
111 int oldTimeout = this.socket
61 SocketInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument
[all...]
/external/lldb/test/pexpect-2.4/examples/
H A Dbd_client.py6 import socket namespace
22 s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
/external/chromium_org/third_party/webrtc/base/
H A Dproxyserver.h37 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 Dsocketstream.h24 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/chromium_org/media/cast/test/utility/
H A Dnetload.py9 import socket namespace
17 def Sink(socket):
20 tmp = socket.recv(4096)
25 def Spew(socket):
29 tmp = socket.send(data)
53 def Serve(socket, upload=True, download=True):
55 (s, addr) = socket.accept()
62 s = socket.socket(socket
[all...]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLSocketImplTest.java68 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...]
/external/okhttp/android/main/java/com/squareup/okhttp/internal/
H A DPlatform.java70 public void tagSocket(Socket socket) throws SocketException { argument
71 SocketTagger.get().tag(socket);
74 public void untagSocket(Socket socket) throws SocketException { argument
75 SocketTagger.get().untag(socket);
82 public void enableTlsExtensions(SSLSocket socket, String uriHost) { argument
83 SET_USE_SESSION_TICKETS.invokeOptionalWithoutCheckedException(socket, true);
84 SET_HOSTNAME.invokeOptionalWithoutCheckedException(socket, uriHost);
87 public void supportTlsIntolerantServer(SSLSocket socket) { argument
92 String[] supportedCipherSuites = socket.getSupportedCipherSuites();
102 String[] enabledCipherSuites = socket
115 getNpnSelectedProtocol(SSLSocket socket) argument
144 setNpnProtocols(SSLSocket socket, List<Protocol> npnProtocols) argument
172 connectSocket(Socket socket, InetSocketAddress address, int connectTimeout) argument
[all...]

Completed in 7887 milliseconds

1234567891011>>