Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/external/qemu/slirp-android/
Dsocket.h20 struct socket { struct
21 struct socket *so_next,*so_prev; /* For a linked list of sockets */ argument
23 int s; /* The actual socket */ argument
39 u_int8_t so_emu; /* Is the socket emulated? */ argument
41 u_char so_type; /* Type of socket, UDP or TCP */ argument
45 u_int so_expire; /* When the socket will expire */ argument
47 int so_queued; /* Number of packets queued from this socket */ argument
48 int so_nqueued; /* Number of packets queued in a row
73 #define SS_FACCEPTONCE 0x200 /* If set, the SS_FACCEPTCONN socket will die after one accept */ argument
/external/qemu/slirp/
Dsocket.h20 struct socket { struct
21 struct socket *so_next,*so_prev; /* For a linked list of sockets */ argument
23 int s; /* The actual socket */ argument
38 u_int8_t so_emu; /* Is the socket emulated? */ argument
40 u_char so_type; /* Type of socket, UDP or TCP */ argument
44 u_int so_expire; /* When the socket will expire */ argument
46 int so_queued; /* Number of packets queued from this socket */ argument
47 int so_nqueued; /* Number of packets queued in a row
72 #define SS_FACCEPTONCE 0x200 /* If set, the SS_FACCEPTCONN socket will die after one accept */ argument
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketImplTest.java68 SSLSocket socket = null; in testSSLSocketImpl1() local
134 SSLSocket socket = null; in testSSLSocketImpl2() local
198 SSLSocket socket = null; in testSSLSocketImpl3() local
265 SSLSocket socket = null; in testSSLSocketImpl4() local
331 SSLSocket socket = null; in testSSLSocketImpl5() local
396 SSLSocket socket = createSSLSocket(); in testGetSupportedCipherSuites() local
413 SSLSocket socket = createSSLSocket(); in testGetEnabledCipherSuites() local
460 SSLSocket socket = createSSLSocket(); in testSetEnabledCipherSuites() local
508 SSLSocket socket = createSSLSocket(); in testGetSupportedProtocols() local
526 SSLSocket socket = createSSLSocket(); in testGetEnabledProtocols() local
[all …]
/external/chromium_org/third_party/libjingle/source/talk/base/
Dproxyserver.cc56 void ProxyServer::OnAcceptEvent(AsyncSocket* socket) { in OnAcceptEvent()
94 void ProxyBinding::OnConnectRequest(AsyncProxyServerSocket* socket, in OnConnectRequest()
101 void ProxyBinding::OnInternalRead(AsyncSocket* socket) { in OnInternalRead()
106 void ProxyBinding::OnInternalWrite(AsyncSocket* socket) { in OnInternalWrite()
110 void ProxyBinding::OnInternalClose(AsyncSocket* socket, int err) { in OnInternalClose()
114 void ProxyBinding::OnExternalConnect(AsyncSocket* socket) { in OnExternalConnect()
120 void ProxyBinding::OnExternalRead(AsyncSocket* socket) { in OnExternalRead()
125 void ProxyBinding::OnExternalWrite(AsyncSocket* socket) { in OnExternalWrite()
129 void ProxyBinding::OnExternalClose(AsyncSocket* socket, int err) { in OnExternalClose()
136 void ProxyBinding::Read(AsyncSocket* socket, FifoBuffer* buffer) { in Read()
[all …]
Dsocketstream.cc32 SocketStream::SocketStream(AsyncSocket* socket) : socket_(NULL) { in SocketStream()
40 void SocketStream::Attach(AsyncSocket* socket) { in Attach()
53 AsyncSocket* socket = socket_; in Detach() local
117 void SocketStream::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
122 void SocketStream::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
127 void SocketStream::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
132 void SocketStream::OnCloseEvent(AsyncSocket* socket, int err) { in OnCloseEvent()
Dnssstreamadapter.cc89 static PRStatus StreamClose(PRFileDesc *socket) { in StreamClose()
95 static PRInt32 StreamRead(PRFileDesc *socket, void *buf, PRInt32 length) { in StreamRead()
117 static PRInt32 StreamWrite(PRFileDesc *socket, const void *buf, in StreamWrite()
139 static PRInt32 StreamAvailable(PRFileDesc *socket) { in StreamAvailable()
144 PRInt64 StreamAvailable64(PRFileDesc *socket) { in StreamAvailable64()
149 static PRStatus StreamSync(PRFileDesc *socket) { in StreamSync()
154 static PROffset32 StreamSeek(PRFileDesc *socket, PROffset32 offset, in StreamSeek()
160 static PROffset64 StreamSeek64(PRFileDesc *socket, PROffset64 offset, in StreamSeek64()
166 static PRStatus StreamFileInfo(PRFileDesc *socket, PRFileInfo *info) { in StreamFileInfo()
171 static PRStatus StreamFileInfo64(PRFileDesc *socket, PRFileInfo64 *info) { in StreamFileInfo64()
[all …]
Dasynctcpsocket.cc53 talk_base::AsyncSocket* socket, in ConnectSocket()
68 AsyncTCPSocketBase::AsyncTCPSocketBase(AsyncSocket* socket, bool listen, in AsyncTCPSocketBase()
190 void AsyncTCPSocketBase::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
194 void AsyncTCPSocketBase::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
233 void AsyncTCPSocketBase::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
245 void AsyncTCPSocketBase::OnCloseEvent(AsyncSocket* socket, int error) { in OnCloseEvent()
254 AsyncSocket* socket, in Create()
261 AsyncTCPSocket::AsyncTCPSocket(AsyncSocket* socket, bool listen) in AsyncTCPSocket()
312 void AsyncTCPSocket::HandleIncomingConnection(AsyncSocket* socket) { in HandleIncomingConnection()
/external/chromium_org/third_party/webrtc/base/
Dproxyserver.cc39 void ProxyServer::OnAcceptEvent(AsyncSocket* socket) { in OnAcceptEvent()
77 void ProxyBinding::OnConnectRequest(AsyncProxyServerSocket* socket, in OnConnectRequest()
84 void ProxyBinding::OnInternalRead(AsyncSocket* socket) { in OnInternalRead()
89 void ProxyBinding::OnInternalWrite(AsyncSocket* socket) { in OnInternalWrite()
93 void ProxyBinding::OnInternalClose(AsyncSocket* socket, int err) { in OnInternalClose()
97 void ProxyBinding::OnExternalConnect(AsyncSocket* socket) { in OnExternalConnect()
103 void ProxyBinding::OnExternalRead(AsyncSocket* socket) { in OnExternalRead()
108 void ProxyBinding::OnExternalWrite(AsyncSocket* socket) { in OnExternalWrite()
112 void ProxyBinding::OnExternalClose(AsyncSocket* socket, int err) { in OnExternalClose()
119 void ProxyBinding::Read(AsyncSocket* socket, FifoBuffer* buffer) { in Read()
[all …]
Dsocketstream.cc15 SocketStream::SocketStream(AsyncSocket* socket) : socket_(NULL) { in SocketStream()
23 void SocketStream::Attach(AsyncSocket* socket) { in Attach()
36 AsyncSocket* socket = socket_; in Detach() local
100 void SocketStream::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
105 void SocketStream::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
110 void SocketStream::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
115 void SocketStream::OnCloseEvent(AsyncSocket* socket, int err) { in OnCloseEvent()
Dnssstreamadapter.cc71 static PRStatus StreamClose(PRFileDesc *socket) { in StreamClose()
77 static PRInt32 StreamRead(PRFileDesc *socket, void *buf, PRInt32 length) { in StreamRead()
99 static PRInt32 StreamWrite(PRFileDesc *socket, const void *buf, in StreamWrite()
121 static PRInt32 StreamAvailable(PRFileDesc *socket) { in StreamAvailable()
126 PRInt64 StreamAvailable64(PRFileDesc *socket) { in StreamAvailable64()
131 static PRStatus StreamSync(PRFileDesc *socket) { in StreamSync()
136 static PROffset32 StreamSeek(PRFileDesc *socket, PROffset32 offset, in StreamSeek()
142 static PROffset64 StreamSeek64(PRFileDesc *socket, PROffset64 offset, in StreamSeek64()
148 static PRStatus StreamFileInfo(PRFileDesc *socket, PRFileInfo *info) { in StreamFileInfo()
153 static PRStatus StreamFileInfo64(PRFileDesc *socket, PRFileInfo64 *info) { in StreamFileInfo64()
[all …]
Dasynctcpsocket.cc36 rtc::AsyncSocket* socket, in ConnectSocket()
51 AsyncTCPSocketBase::AsyncTCPSocketBase(AsyncSocket* socket, bool listen, in AsyncTCPSocketBase()
173 void AsyncTCPSocketBase::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
177 void AsyncTCPSocketBase::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
216 void AsyncTCPSocketBase::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
228 void AsyncTCPSocketBase::OnCloseEvent(AsyncSocket* socket, int error) { in OnCloseEvent()
237 AsyncSocket* socket, in Create()
244 AsyncTCPSocket::AsyncTCPSocket(AsyncSocket* socket, bool listen) in AsyncTCPSocket()
295 void AsyncTCPSocket::HandleIncomingConnection(AsyncSocket* socket) { in HandleIncomingConnection()
/external/chromium_org/ppapi/tests/
Dtest_tcp_socket_private.cc61 pp::TCPSocketPrivate socket(instance_); in TestBasic() local
79 pp::TCPSocketPrivate socket(instance_); in TestReadWrite() local
99 pp::TCPSocketPrivate socket(instance_); in TestReadWriteSSL() local
128 pp::TCPSocketPrivate socket(instance_); in TestConnectAddress() local
139 pp::TCPSocketPrivate socket(instance_); in TestConnectAddress() local
157 pp::TCPSocketPrivate socket(instance_); in TestSetOption() local
188 pp::TCPSocketPrivate socket(instance_); in TestLargeRead() local
217 pp::TCPSocketPrivate* socket, in ReadFirstLineFromSocket()
243 int32_t TestTCPSocketPrivate::WriteStringToSocket(pp::TCPSocketPrivate* socket, in WriteStringToSocket()
Dtest_net_address_private_untrusted.cc55 int32_t TestNetAddressPrivateUntrusted::Connect(TCPSocketPrivate* socket, in Connect()
66 pp::TCPSocketPrivate socket(instance_); in TestAreEqual() local
83 pp::TCPSocketPrivate socket(instance_); in TestAreHostsEqual() local
100 pp::TCPSocketPrivate socket(instance_); in TestDescribe() local
121 pp::TCPSocketPrivate socket(instance_); in TestReplacePort() local
158 pp::TCPSocketPrivate socket(instance_); in TestGetFamily() local
174 pp::TCPSocketPrivate socket(instance_); in TestGetPort() local
189 pp::TCPSocketPrivate socket(instance_); in TestGetAddress() local
Dtest_tcp_socket.cc70 pp::TCPSocket socket(instance_); in TestConnect() local
90 pp::TCPSocket socket(instance_); in TestConnect() local
120 pp::TCPSocket socket(instance_); in TestReadWrite() local
138 pp::TCPSocket socket(instance_); in TestSetOption() local
317 PP_Resource socket = socket_interface_1_0_->Create(instance_->pp_instance()); in TestInterface_1_0() local
337 std::string TestTCPSocket::ReadFirstLineFromSocket(pp::TCPSocket* socket, in ReadFirstLineFromSocket()
358 std::string TestTCPSocket::ReadFirstLineFromSocket_1_0(PP_Resource socket, in ReadFirstLineFromSocket_1_0()
381 std::string TestTCPSocket::ReadFromSocket(pp::TCPSocket* socket, in ReadFromSocket()
397 std::string TestTCPSocket::WriteToSocket(pp::TCPSocket* socket, in WriteToSocket()
414 PP_Resource socket, in WriteToSocket_1_0()
[all …]
Dtest_host_resolver_private.cc49 std::string TestHostResolverPrivate::SyncConnect(pp::TCPSocketPrivate* socket, in SyncConnect()
61 pp::TCPSocketPrivate* socket, in SyncConnect()
71 std::string TestHostResolverPrivate::SyncRead(pp::TCPSocketPrivate* socket, in SyncRead()
84 std::string TestHostResolverPrivate::SyncWrite(pp::TCPSocketPrivate* socket, in SyncWrite()
98 pp::TCPSocketPrivate* socket, in CheckHTTPResponse()
149 pp::TCPSocketPrivate socket(instance_); in ParametrizedTestResolve() local
160 pp::TCPSocketPrivate socket(instance_); in ParametrizedTestResolve() local
Dtest_udp_socket_private.cc65 pp::TCPSocketPrivate socket(instance_); in GetLocalAddress() local
77 pp::UDPSocketPrivate* socket) { in SetBroadcastOptions()
92 pp::UDPSocketPrivate* socket, in BindUDPSocket()
102 pp::UDPSocketPrivate* socket, in LookupPortAndBindUDPSocket()
124 pp::UDPSocketPrivate* socket, in BindUDPSocketFailure()
134 std::string TestUDPSocketPrivate::ReadSocket(pp::UDPSocketPrivate* socket, in ReadSocket()
193 pp::UDPSocketPrivate socket(instance_); in TestConnectFailure() local
248 pp::UDPSocketPrivate socket(instance_); in TestSetSocketFeatureErrors() local
/external/chromium_org/extensions/browser/api/sockets_udp/
Dsockets_udp_api.cc51 ResumableUDPSocket* socket) { in CreateSocketInfo()
77 void SetSocketProperties(ResumableUDPSocket* socket, in SetSocketProperties()
101 ResumableUDPSocket* socket = new ResumableUDPSocket(extension_->id()); in Work() local
124 ResumableUDPSocket* socket = GetUdpSocket(params_->socket_id); in Work() local
153 ResumableUDPSocket* socket = GetUdpSocket(params_->socket_id); in Work() local
189 ResumableUDPSocket* socket = GetUdpSocket(params_->socket_id); in Work() local
227 ResumableUDPSocket* socket = GetUdpSocket(params_->socket_id); in AsyncWorkStart() local
254 ResumableUDPSocket* socket = GetUdpSocket(params_->socket_id); in StartSendTo() local
302 ResumableUDPSocket* socket = GetUdpSocket(params_->socket_id); in Work() local
324 ResumableUDPSocket* socket = GetUdpSocket(params_->socket_id); in Work() local
[all …]
/external/chromium_org/extensions/browser/api/sockets_tcp/
Dsockets_tcp_api.cc23 ResumableTCPSocket* socket) { in CreateSocketInfo()
60 void SetSocketProperties(ResumableTCPSocket* socket, in SetSocketProperties()
119 ResumableTCPSocket* socket = new ResumableTCPSocket(extension_->id()); in Work() local
142 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
171 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
199 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
225 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
257 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in AsyncWorkStart() local
285 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in StartConnect() local
320 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
[all …]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dtcpport.cc103 if (talk_base::AsyncPacketSocket* socket = in CreateConnection() local
142 talk_base::AsyncPacketSocket * socket = NULL; in SendTo() local
183 void TCPPort::OnNewConnection(talk_base::AsyncPacketSocket* socket, in OnNewConnection()
200 talk_base::AsyncPacketSocket* socket = NULL; in GetIncoming() local
213 void TCPPort::OnReadPacket(talk_base::AsyncPacketSocket* socket, in OnReadPacket()
220 void TCPPort::OnReadyToSend(talk_base::AsyncPacketSocket* socket) { in OnReadyToSend()
224 void TCPPort::OnAddressReady(talk_base::AsyncPacketSocket* socket, in OnAddressReady()
232 talk_base::AsyncPacketSocket* socket) in TCPConnection()
294 void TCPConnection::OnConnect(talk_base::AsyncPacketSocket* socket) { in OnConnect()
311 void TCPConnection::OnClose(talk_base::AsyncPacketSocket* socket, int error) { in OnClose()
[all …]
/external/chromium_org/extensions/browser/api/sockets_tcp_server/
Dsockets_tcp_server_api.cc27 ResumableTCPServerSocket* socket) { in CreateSocketInfo()
49 void SetSocketProperties(ResumableTCPServerSocket* socket, in SetSocketProperties()
88 ResumableTCPServerSocket* socket = in Work() local
113 ResumableTCPServerSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
143 ResumableTCPServerSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
180 ResumableTCPServerSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
221 ResumableTCPServerSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
242 ResumableTCPServerSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
263 ResumableTCPServerSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
288 ResumableTCPServerSocket* socket = GetTcpSocket(socket_id); in Work() local
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java86 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
89 public void untagSocket(Socket socket) throws SocketException { in untagSocket()
101 public void enableTlsExtensions(SSLSocket socket, String uriHost) { in enableTlsExtensions()
108 public void supportTlsIntolerantServer(SSLSocket socket) { in supportTlsIntolerantServer()
113 public ByteString getNpnSelectedProtocol(SSLSocket socket) { in getNpnSelectedProtocol()
121 public void setNpnProtocols(SSLSocket socket, List<Protocol> npnProtocols) { in setNpnProtocols()
124 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
233 @Override public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
246 @Override public void enableTlsExtensions(SSLSocket socket, String uriHost) { in enableTlsExtensions()
259 @Override public void setNpnProtocols(SSLSocket socket, List<Protocol> npnProtocols) { in setNpnProtocols()
[all …]
/external/okhttp/android/main/java/com/squareup/okhttp/internal/
DPlatform.java51 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
55 public void untagSocket(Socket socket) throws SocketException { in untagSocket()
63 public void enableTlsExtensions(SSLSocket socket, String uriHost) { in enableTlsExtensions()
71 public void supportTlsIntolerantServer(SSLSocket socket) { in supportTlsIntolerantServer()
99 public ByteString getNpnSelectedProtocol(SSLSocket socket) { in getNpnSelectedProtocol()
118 public void setNpnProtocols(SSLSocket socket, List<Protocol> npnProtocols) { in setNpnProtocols()
137 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
/external/chromium_org/chrome/browser/extensions/api/bluetooth_socket/
Dbluetooth_socket_api.cc33 BluetoothApiSocket* socket) { in CreateSocketInfo()
56 void SetSocketProperties(BluetoothApiSocket* socket, in SetSocketProperties()
128 int BluetoothSocketAsyncApiFunction::AddSocket(BluetoothApiSocket* socket) { in AddSocket()
165 BluetoothApiSocket* socket = new BluetoothApiSocket(extension_id()); in Work() local
190 BluetoothApiSocket* socket = GetSocket(params_->socket_id); in Work() local
214 BluetoothApiSocket* socket = GetSocket(params_->socket_id); in Work() local
252 BluetoothApiSocket* socket = GetSocket(socket_id()); in OnGetAdapter() local
282 scoped_refptr<device::BluetoothSocket> socket) { in OnCreateService()
414 BluetoothApiSocket* socket = GetSocket(params_->socket_id); in OnGetAdapter() local
449 scoped_refptr<device::BluetoothSocket> socket) { in OnConnect()
[all …]
/external/chromium_org/extensions/browser/api/socket/
Dsocket_api.cc66 int SocketAsyncApiFunction::AddSocket(Socket* socket) { in AddSocket()
157 Socket* socket = NULL; in Work() local
250 Socket* socket = GetSocket(socket_id_); in Work() local
267 Socket* socket = GetSocket(socket_id_); in Work() local
307 Socket* socket = GetSocket(params_->socket_id); in Work() local
341 Socket* socket = GetSocket(params_->socket_id); in AsyncWorkStart() local
351 net::TCPClientSocket* socket) { in OnAccept()
374 Socket* socket = GetSocket(params_->socket_id); in AsyncWorkStart() local
417 Socket* socket = GetSocket(socket_id_); in AsyncWorkStart() local
449 Socket* socket = GetSocket(params_->socket_id); in AsyncWorkStart() local
[all …]
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_socketvar.h125 struct socket { struct
127 short so_type; /* (a) generic type, see socket.h */ argument
128 short so_options; /* from socket call, see socket.h */ argument
137 * If so_head is 0, socket is not related to an accept. argument
145 struct socket *so_head; /* (e) back pointer to listen socket */ argument
160 TAILQ_HEAD(, aiocblist) so_aiojobq; /* AIO ops waiting on socket */ argument
176 short sb_state; /* (c/d) socket state on sockbuf */ argument
197 … (64*1024*2) /*Aligning so->so_rcv.sb_hiwat with the receive buffer size of raw socket*/ argument
210 void (*so_upcall)(struct socket *, void *, int); argument
213 struct label *so_label; /* (b) MAC label for socket */ argument
[all …]

12345678910>>...16