Home
last modified time | relevance | path

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

12345678910>>...14

/external/webrtc/webrtc/base/
Dproxyserver.cc43 void ProxyServer::OnAcceptEvent(AsyncSocket* socket) { in OnAcceptEvent()
83 void ProxyBinding::OnConnectRequest(AsyncProxyServerSocket* socket, in OnConnectRequest()
90 void ProxyBinding::OnInternalRead(AsyncSocket* socket) { in OnInternalRead()
95 void ProxyBinding::OnInternalWrite(AsyncSocket* socket) { in OnInternalWrite()
99 void ProxyBinding::OnInternalClose(AsyncSocket* socket, int err) { in OnInternalClose()
103 void ProxyBinding::OnExternalConnect(AsyncSocket* socket) { in OnExternalConnect()
109 void ProxyBinding::OnExternalRead(AsyncSocket* socket) { in OnExternalRead()
114 void ProxyBinding::OnExternalWrite(AsyncSocket* socket) { in OnExternalWrite()
118 void ProxyBinding::OnExternalClose(AsyncSocket* socket, int err) { in OnExternalClose()
125 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()
Dasynctcpsocket.cc36 rtc::AsyncSocket* socket, in ConnectSocket()
51 AsyncTCPSocketBase::AsyncTCPSocketBase(AsyncSocket* socket, bool listen, in AsyncTCPSocketBase()
174 void AsyncTCPSocketBase::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
178 void AsyncTCPSocketBase::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
217 void AsyncTCPSocketBase::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
229 void AsyncTCPSocketBase::OnCloseEvent(AsyncSocket* socket, int error) { in OnCloseEvent()
238 AsyncSocket* socket, in Create()
245 AsyncTCPSocket::AsyncTCPSocket(AsyncSocket* socket, bool listen) in AsyncTCPSocket()
299 void AsyncTCPSocket::HandleIncomingConnection(AsyncSocket* socket) { in HandleIncomingConnection()
Dsocketadapters.cc43 BufferedReadAdapter::BufferedReadAdapter(AsyncSocket* socket, size_t size) in BufferedReadAdapter()
102 void BufferedReadAdapter::OnReadEvent(AsyncSocket * socket) { in OnReadEvent()
128 AsyncProxyServerSocket::AsyncProxyServerSocket(AsyncSocket* socket, in AsyncProxyServerSocket()
177 AsyncSSLSocket::AsyncSSLSocket(AsyncSocket* socket) in AsyncSSLSocket()
188 void AsyncSSLSocket::OnConnectEvent(AsyncSocket * socket) { in OnConnectEvent()
219 AsyncSSLServerSocket::AsyncSSLServerSocket(AsyncSocket* socket) in AsyncSSLServerSocket()
250 AsyncHttpsProxySocket::AsyncHttpsProxySocket(AsyncSocket* socket, in AsyncHttpsProxySocket()
301 void AsyncHttpsProxySocket::OnConnectEvent(AsyncSocket * socket) { in OnConnectEvent()
311 void AsyncHttpsProxySocket::OnCloseEvent(AsyncSocket * socket, int err) { in OnCloseEvent()
517 AsyncSocksProxySocket::AsyncSocksProxySocket(AsyncSocket* socket, in AsyncSocksProxySocket()
[all …]
Dasyncsocket.cc21 AsyncSocketAdapter::AsyncSocketAdapter(AsyncSocket* socket) : socket_(NULL) { in AsyncSocketAdapter()
29 void AsyncSocketAdapter::Attach(AsyncSocket* socket) { in Attach()
111 void AsyncSocketAdapter::OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
115 void AsyncSocketAdapter::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
119 void AsyncSocketAdapter::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
123 void AsyncSocketAdapter::OnCloseEvent(AsyncSocket* socket, int err) { in OnCloseEvent()
Dasyncudpsocket.cc19 AsyncSocket* socket, in Create()
31 AsyncSocket* socket = in Create() local
38 AsyncUDPSocket::AsyncUDPSocket(AsyncSocket* socket) in AsyncUDPSocket()
102 void AsyncUDPSocket::OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
124 void AsyncUDPSocket::OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
Dtestutils.h77 void Monitor(AsyncSocket* socket) { in Monitor()
85 void Unmonitor(AsyncSocket* socket) { in Unmonitor()
108 void OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
111 void OnReadEvent(AsyncSocket* socket) { in OnReadEvent()
114 void OnWriteEvent(AsyncSocket* socket) { in OnWriteEvent()
117 void OnCloseEvent(AsyncSocket* socket, int error) { in OnCloseEvent()
281 SocketTestClient(AsyncSocket* socket) { in SocketTestClient()
289 AsyncSocket* socket() { return socket_.get(); } in socket() function
325 void Init(AsyncSocket* socket, int family) { in Init()
354 void OnConnectEvent(AsyncSocket* socket) { in OnConnectEvent()
[all …]
/external/syslinux/core/fs/pxe/
Dcore.c25 int core_udp_open(struct pxe_pvt_inode *socket) in core_udp_open()
49 void core_udp_close(struct pxe_pvt_inode *socket) in core_udp_close()
66 void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip, in core_udp_connect()
82 void core_udp_disconnect(struct pxe_pvt_inode *socket) in core_udp_disconnect()
98 int core_udp_recv(struct pxe_pvt_inode *socket, void *buf, uint16_t *buf_len, in core_udp_recv()
135 void core_udp_send(struct pxe_pvt_inode *socket, const void *data, size_t len) in core_udp_send()
175 void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data, in core_udp_sendto()
249 int core_tcp_open(struct pxe_pvt_inode *socket) in core_tcp_open()
257 int core_tcp_connect(struct pxe_pvt_inode *socket, uint32_t ip, uint16_t port) in core_tcp_connect()
272 int core_tcp_write(struct pxe_pvt_inode *socket, const void *data, size_t len, in core_tcp_write()
[all …]
Dgpxeurl.c6 struct pxe_pvt_inode *socket = PVT(inode); in gpxe_close_file() local
20 struct pxe_pvt_inode *socket = PVT(inode); in gpxe_get_packet() local
68 struct pxe_pvt_inode *socket = PVT(inode); in gpxe_open() local
/external/webrtc/webrtc/p2p/base/
Dtcpport.cc158 if (rtc::AsyncPacketSocket* socket = in CreateConnection() local
199 rtc::AsyncPacketSocket * socket = NULL; in SendTo() local
252 void TCPPort::OnNewConnection(rtc::AsyncPacketSocket* socket, in OnNewConnection()
270 rtc::AsyncPacketSocket* socket = NULL; in GetIncoming() local
283 void TCPPort::OnReadPacket(rtc::AsyncPacketSocket* socket, in OnReadPacket()
290 void TCPPort::OnSentPacket(rtc::AsyncPacketSocket* socket, in OnSentPacket()
295 void TCPPort::OnReadyToSend(rtc::AsyncPacketSocket* socket) { in OnReadyToSend()
299 void TCPPort::OnAddressReady(rtc::AsyncPacketSocket* socket, in OnAddressReady()
308 rtc::AsyncPacketSocket* socket) in TCPConnection()
384 void TCPConnection::OnConnect(rtc::AsyncPacketSocket* socket) { in OnConnect()
[all …]
Drelayserver.cc33 void Send(rtc::AsyncPacketSocket* socket, const char* bytes, size_t size, in Send()
47 rtc::AsyncPacketSocket* socket, in SendStun()
55 void SendStunError(const StunMessage& msg, rtc::AsyncPacketSocket* socket, in SendStunError()
96 rtc::AsyncSocket* socket = server_sockets_.begin()->first; in ~RelayServer() local
102 void RelayServer::AddInternalSocket(rtc::AsyncPacketSocket* socket) { in AddInternalSocket()
109 void RelayServer::RemoveInternalSocket(rtc::AsyncPacketSocket* socket) { in RemoveInternalSocket()
118 void RelayServer::AddExternalSocket(rtc::AsyncPacketSocket* socket) { in AddExternalSocket()
125 void RelayServer::RemoveExternalSocket(rtc::AsyncPacketSocket* socket) { in RemoveExternalSocket()
134 void RelayServer::AddInternalServerSocket(rtc::AsyncSocket* socket, in AddInternalServerSocket()
143 rtc::AsyncSocket* socket) { in RemoveInternalServerSocket()
[all …]
Dtestrelayserver.h57 rtc::AsyncSocket* socket = in CreateListenSocket() local
64 void OnAccept(rtc::AsyncSocket* socket) { in OnAccept()
85 void OnInternalClose(rtc::AsyncPacketSocket* socket, int error) { in OnInternalClose()
88 void OnExternalClose(rtc::AsyncPacketSocket* socket, int error) { in OnExternalClose()
Dbasicpacketsocketfactory.cc51 rtc::AsyncSocket* socket = in CreateUdpSocket() local
77 rtc::AsyncSocket* socket = in CreateServerTcpSocket() local
111 rtc::AsyncSocket* socket = in CreateClientTcpSocket() local
182 int BasicPacketSocketFactory::BindSocket(AsyncSocket* socket, in BindSocket()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscrypt.java137 public static boolean isConscrypt(SSLSocket socket) { in isConscrypt()
141 private static OpenSSLSocketImpl toConscrypt(SSLSocket socket) { in toConscrypt()
155 public static void setUseSessionTickets(SSLSocket socket, boolean useSessionTickets) { in setUseSessionTickets()
165 public static void setHostname(SSLSocket socket, String hostname) { in setHostname()
173 public static String getHostname(SSLSocket socket) { in getHostname()
182 public static String getHostnameOrIP(SSLSocket socket) { in getHostnameOrIP()
189 public static void setSoWriteTimeout(SSLSocket socket, int writeTimeoutMilliseconds) in setSoWriteTimeout()
197 public static int getSoWriteTimeout(SSLSocket socket) throws SocketException { in getSoWriteTimeout()
205 public static void setHandshakeTimeout(SSLSocket socket, int handshakeTimeoutMilliseconds) in setHandshakeTimeout()
213 public static FileDescriptor getFileDescriptor(SSLSocket socket) { in getFileDescriptor()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSocketFactory.java38 Socket socket = delegate.createSocket(); in createSocket() local
44 Socket socket = delegate.createSocket(host, port); in createSocket() local
51 Socket socket = delegate.createSocket(host, port, localAddress, localPort); in createSocket() local
57 Socket socket = delegate.createSocket(host, port); in createSocket() local
64 Socket socket = delegate.createSocket(host, port, localAddress, localPort); in createSocket() local
68 protected Socket configureSocket(Socket socket) throws IOException { in configureSocket()
DConnectionSpecTest.java87 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_defaultCiphers_noFallbackIndicator() local
115 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_defaultCiphers_withFallbackIndicator() local
147 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_explicitCiphers() local
185 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_missingRequiredCipher() local
246 SSLSocket socket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in tls_missingTlsVersion() local
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java180 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
188 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
196 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
211 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
219 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
227 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
244 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
252 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
261 public SecretKeySpec getKey(String identityHint, String identity, Socket socket) { in getKey()
279 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
[all …]
/external/okhttp/okio/okio/src/test/java/okio/
DSocketTimeoutTest.java39 Socket socket = socket(ONE_MB, 0); in readWithoutTimeout() local
47 Socket socket = socket(0, 0); in readWithTimeout() local
59 Socket socket = socket(0, ONE_MB); in writeWithoutTimeout() local
69 Socket socket = socket(0, 0); in writeWithTimeout() local
92 …static Socket socket(final int readableByteCount, final int writableByteCount) throws IOException { in socket() method in SocketTimeoutTest
117 Socket socket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in socket() local
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DConnectionSpecSelectorTest.java48 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in nonRetryableIOException() local
61 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in nonRetryableSSLHandshakeException() local
76 SSLSocket socket = createSocketWithEnabledProtocols(TlsVersion.TLS_1_1, TlsVersion.TLS_1_0); in retryableSSLHandshakeException() local
95 SSLSocket socket = createSocketWithEnabledProtocols(enabledSocketTlsVersions); in someFallbacksSupported() local
123 SSLSocket socket = (SSLSocket) sslContext.getSocketFactory().createSocket(); in createSocketWithEnabledProtocols() local
128 private static void assertEnabledProtocols(SSLSocket socket, TlsVersion... required) { in assertEnabledProtocols()
/external/syslinux/efi/
Dudp.c64 int core_udp_open(struct pxe_pvt_inode *socket) in core_udp_open()
120 void core_udp_close(struct pxe_pvt_inode *socket) in core_udp_close()
139 void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip, in core_udp_connect()
171 void core_udp_disconnect(struct pxe_pvt_inode *socket) in core_udp_disconnect()
208 int core_udp_recv(struct pxe_pvt_inode *socket, void *buf, uint16_t *buf_len, in core_udp_recv()
283 void core_udp_send(struct pxe_pvt_inode *socket, const void *data, size_t len) in core_udp_send()
343 void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data, in core_udp_sendto()
Dtcp.c15 int core_tcp_open(struct pxe_pvt_inode *socket) in core_tcp_open()
50 int core_tcp_connect(struct pxe_pvt_inode *socket, uint32_t ip, uint16_t port) in core_tcp_connect()
116 bool core_tcp_is_connected(struct pxe_pvt_inode *socket) in core_tcp_is_connected()
124 int core_tcp_write(struct pxe_pvt_inode *socket, const void *data, in core_tcp_write()
176 struct pxe_pvt_inode *socket = PVT(inode); in core_tcp_close_file() local
204 struct pxe_pvt_inode *socket = PVT(inode); in core_tcp_fill_buffer() local
/external/webrtc/webrtc/libjingle/xmpp/
Dxmppsocket.cc43 rtc::AsyncSocket* socket = in CreateCricketSocket() local
78 void XmppSocket::OnReadEvent(rtc::AsyncSocket * socket) { in OnReadEvent()
82 void XmppSocket::OnWriteEvent(rtc::AsyncSocket * socket) { in OnWriteEvent()
96 void XmppSocket::OnConnectEvent(rtc::AsyncSocket * socket) { in OnConnectEvent()
109 void XmppSocket::OnCloseEvent(rtc::AsyncSocket * socket, int error) { in OnCloseEvent()
/external/apache-http/src/org/apache/http/impl/
DSocketHttpServerConnection.java66 private Socket socket = null; field in SocketHttpServerConnection
85 final Socket socket, in createHttpDataReceiver()
92 final Socket socket, in createHttpDataTransmitter()
98 protected void bind(final Socket socket, final HttpParams params) throws IOException { in bind()
DSocketHttpClientConnection.java66 private Socket socket = null; field in SocketHttpClientConnection
85 final Socket socket, in createSessionInputBuffer()
92 final Socket socket, in createSessionOutputBuffer()
99 final Socket socket, in bind()
/external/syslinux/core/legacynet/
Dcore.c41 void core_udp_close(struct pxe_pvt_inode *socket) in core_udp_close()
56 void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip, in core_udp_connect()
85 int core_udp_recv(struct pxe_pvt_inode *socket, void *buf, uint16_t *buf_len, in core_udp_recv()
123 void core_udp_send(struct pxe_pvt_inode *socket, const void *data, size_t len) in core_udp_send()
158 void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data, size_t len, in core_udp_sendto()

12345678910>>...14