Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 25 of 381) 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/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_tcp/
Dsockets_tcp_api.cc30 ResumableTCPSocket* socket) { in CreateSocketInfo()
67 void SetSocketProperties(ResumableTCPSocket* socket, in SetSocketProperties()
126 ResumableTCPSocket* socket = new ResumableTCPSocket(extension_->id()); in Work() local
149 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
178 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
206 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
232 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
264 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in AsyncWorkStart() local
294 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in StartConnect() local
329 ResumableTCPSocket* socket = GetTcpSocket(params_->socket_id); in Work() local
[all …]
/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/third_party/libjingle/source/talk/p2p/base/
Dtcpport.cc110 if (rtc::AsyncPacketSocket* socket = in CreateConnection() local
149 rtc::AsyncPacketSocket * socket = NULL; in SendTo() local
190 void TCPPort::OnNewConnection(rtc::AsyncPacketSocket* socket, in OnNewConnection()
207 rtc::AsyncPacketSocket* socket = NULL; in GetIncoming() local
220 void TCPPort::OnReadPacket(rtc::AsyncPacketSocket* socket, in OnReadPacket()
227 void TCPPort::OnReadyToSend(rtc::AsyncPacketSocket* socket) { in OnReadyToSend()
231 void TCPPort::OnAddressReady(rtc::AsyncPacketSocket* socket, in OnAddressReady()
239 rtc::AsyncPacketSocket* socket) in TCPConnection()
301 void TCPConnection::OnConnect(rtc::AsyncPacketSocket* socket) { in OnConnect()
318 void TCPConnection::OnClose(rtc::AsyncPacketSocket* socket, int error) { in OnClose()
[all …]
Drelayserver.cc50 void Send(rtc::AsyncPacketSocket* socket, const char* bytes, size_t size, in Send()
64 rtc::AsyncPacketSocket* socket, in SendStun()
72 void SendStunError(const StunMessage& msg, rtc::AsyncPacketSocket* socket, in SendStunError()
113 rtc::AsyncSocket* socket = server_sockets_.begin()->first; in ~RelayServer() local
119 void RelayServer::AddInternalSocket(rtc::AsyncPacketSocket* socket) { in AddInternalSocket()
126 void RelayServer::RemoveInternalSocket(rtc::AsyncPacketSocket* socket) { in RemoveInternalSocket()
135 void RelayServer::AddExternalSocket(rtc::AsyncPacketSocket* socket) { in AddExternalSocket()
142 void RelayServer::RemoveExternalSocket(rtc::AsyncPacketSocket* socket) { in RemoveExternalSocket()
151 void RelayServer::AddInternalServerSocket(rtc::AsyncSocket* socket, in AddInternalServerSocket()
160 rtc::AsyncSocket* socket) { in RemoveInternalServerSocket()
[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.java70 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
74 public void untagSocket(Socket socket) throws SocketException { in untagSocket()
82 public void enableTlsExtensions(SSLSocket socket, String uriHost) { in enableTlsExtensions()
87 public void supportTlsIntolerantServer(SSLSocket socket) { in supportTlsIntolerantServer()
115 public ByteString getNpnSelectedProtocol(SSLSocket socket) { in getNpnSelectedProtocol()
144 public void setNpnProtocols(SSLSocket socket, List<Protocol> npnProtocols) { in setNpnProtocols()
172 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
/external/chromium_org/extensions/browser/api/socket/
Dsocket_api.cc71 int SocketAsyncApiFunction::AddSocket(Socket* socket) { in AddSocket()
80 Socket* socket) { in ReplaceSocket()
166 Socket* socket = NULL; in Work() local
261 Socket* socket = GetSocket(socket_id_); in Work() local
278 Socket* socket = GetSocket(socket_id_); in Work() local
318 Socket* socket = GetSocket(params_->socket_id); in Work() local
352 Socket* socket = GetSocket(params_->socket_id); in AsyncWorkStart() local
362 net::TCPClientSocket* socket) { in OnAccept()
385 Socket* socket = GetSocket(params_->socket_id); in AsyncWorkStart() local
428 Socket* socket = GetSocket(socket_id_); in AsyncWorkStart() local
[all …]
/external/chromium_org/extensions/browser/api/bluetooth_socket/
Dbluetooth_socket_api.cc39 BluetoothApiSocket* socket) { in CreateSocketInfo()
62 void SetSocketProperties(BluetoothApiSocket* socket, in SetSocketProperties()
159 int BluetoothSocketAsyncApiFunction::AddSocket(BluetoothApiSocket* socket) { in AddSocket()
196 BluetoothApiSocket* socket = new BluetoothApiSocket(extension_id()); in Work() local
221 BluetoothApiSocket* socket = GetSocket(params_->socket_id); in Work() local
245 BluetoothApiSocket* socket = GetSocket(params_->socket_id); in Work() local
283 BluetoothApiSocket* socket = GetSocket(socket_id()); in OnGetAdapter() local
318 scoped_refptr<device::BluetoothSocket> socket) { in OnCreateService()
463 BluetoothApiSocket* socket = GetSocket(params_->socket_id); in OnGetAdapter() local
495 scoped_refptr<device::BluetoothSocket> socket) { in OnConnect()
[all …]
/external/chromium_org/net/socket/
Dunix_domain_server_socket_posix.cc22 void SetStreamSocket(scoped_ptr<StreamSocket>* socket, in SetStreamSocket()
27 void SetSocketDescriptor(SocketDescriptor* socket, in SetSocketDescriptor()
46 bool UnixDomainServerSocket::GetPeerCredentials(SocketDescriptor socket, in GetPeerCredentials()
81 scoped_ptr<SocketLibevent> socket(new SocketLibevent); in ListenWithAddressAndPort() local
110 int UnixDomainServerSocket::Accept(scoped_ptr<StreamSocket>* socket, in Accept()
119 SocketDescriptor* socket, in AcceptSocketDescriptor()
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_channel_api.cc61 void FillChannelInfo(const CastSocket& socket, ChannelInfo* channel_info) { in FillChannelInfo()
142 void CastChannelAPI::OnError(const CastSocket* socket, in OnError()
158 void CastChannelAPI::OnMessage(const CastSocket* socket, in OnMessage()
190 CastSocket* socket = GetSocket(channel_id); in GetSocketOrCompleteWithError() local
199 int CastChannelAsyncApiFunction::AddSocket(CastSocket* socket) { in AddSocket()
215 const CastSocket& socket) { in SetResultFromSocket()
357 scoped_ptr<CastSocket> socket = api_->GetSocketForTest(); in AsyncWorkStart() local
379 CastSocket* socket = GetSocket(new_channel_id_); in OnOpen() local
420 CastSocket* socket = GetSocket(params_->channel.channel_id); in AsyncWorkStart() local
434 CastSocket* socket = GetSocket(channel_id); in OnSend() 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 …]
/external/chromium_org/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/
DSocketTunnelServerTest.java78 LocalSocket socket = connectToSocket(1); in testConnectToSocket() local
113 LocalSocket socket = connectToSocket(CONNECTION_ID); in testReceiveOpenAcknowledgement() local
140 LocalSocket socket = connectToSocket(CONNECTION_ID); in testClosingSocket() local
157 LocalSocket socket = connectToSocket(CONNECTION_ID); in testReadData() local
202 LocalSocket socket = connectToSocket(CONNECTION_ID); in testReadLongDataChunk() local
230 LocalSocket socket = connectToSocket(CONNECTION_ID); in testReuseConnectionId() local
248 LocalSocket socket = connectToSocket(CONNECTION_ID); in testWriteData() local
284 LocalSocket socket = connectToSocket(CONNECTION_ID); in testStopWhileSendingData() local

12345678910>>...16