HomeSort by relevance Sort by last modified time
    Searched refs:socket (Results 326 - 350 of 3980) sorted by null

<<11121314151617181920>>

  /external/syslinux/efi/
udp.c 16 * socket->net.efi.binding, which has a remote IP address and port
22 * Try to configure this UDP socket
24 * @param:udp, the EFI_UDP4 socket to configure
58 * Open a socket
60 * @param:socket, the socket to open
64 int core_udp_open(struct pxe_pvt_inode *socket)
71 (void)socket;
89 socket->net.efi.binding = b;
101 socket->net.efi.localport = udata.StationPort
    [all...]
  /external/webrtc/webrtc/base/
openssladapter.h 33 OpenSSLAdapter(AsyncSocket* socket);
44 // Note that the socket returns ST_CONNECTING while SSL is being negotiated.
48 void OnConnectEvent(AsyncSocket* socket) override;
49 void OnReadEvent(AsyncSocket* socket) override;
50 void OnWriteEvent(AsyncSocket* socket) override;
51 void OnCloseEvent(AsyncSocket* socket, int err) override;
83 // If true, socket will retain SSL configuration after Close.
testclient_unittest.cc 22 AsyncSocket* socket = main->socketserver() local
24 socket->Bind(loopback);
26 TestClient client(new AsyncUDPSocket(socket));
38 AsyncSocket* socket = main->socketserver() local
41 socket, loopback, server.address());
natserver.cc 67 // Proxy socket that will capture the external destination address intended for
71 NATProxyServerSocket(AsyncSocket* socket)
72 : AsyncProxyServerSocket(socket, kNATEncodedIPv6AddressSize) {
120 AsyncProxyServerSocket* WrapSocket(AsyncSocket* socket) override {
121 return new NATProxyServerSocket(socket);
157 AsyncPacketSocket* socket, const char* buf, size_t size,
177 iter->second->socket->SendTo(buf + length, size - length, dest_addr, options);
181 AsyncPacketSocket* socket, const char* buf, size_t size,
183 SocketAddress local_addr = socket->GetLocalAddress();
210 AsyncUDPSocket* socket = AsyncUDPSocket::Create(external_, external_ip_) local
    [all...]
socketadapters.h 28 // Implements a socket adapter that can buffer and process data internally,
30 // protocol before commencing normal socket behavior.
33 BufferedReadAdapter(AsyncSocket* socket, size_t buffer_size);
47 void OnReadEvent(AsyncSocket* socket) override;
61 AsyncProxyServerSocket(AsyncSocket* socket, size_t buffer_size);
70 // Implements a socket adapter that performs the client side of a
74 explicit AsyncSSLSocket(AsyncSocket* socket);
79 void OnConnectEvent(AsyncSocket* socket) override;
84 // Implements a socket adapter that performs the server side of a
88 explicit AsyncSSLServerSocket(AsyncSocket* socket);
    [all...]
  /libcore/ojluni/src/main/java/java/net/
SocketOutputStream.java 53 private Socket socket = null; field in class:SocketOutputStream
57 * by a Socket. This method needs to hang on to the owner Socket so
59 * @param impl the socket output stream inplemented
64 socket = impl.getSocket();
72 * returns {@code null} since it is a socket based stream.</p>
84 * Writes to the socket.
95 * Writes to the socket with appropriate locking of the
124 throw new SocketException("Socket closed")
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
SocketTest.java 31 import java.net.Socket;
65 Socket s = new Socket();
67 // Closing a closed socket does nothing.
77 Socket s = new Socket();
85 // Now close the socket...
98 new Socket("localhost", 80);
117 ssc.socket().bind(listenAddr, 0);
118 ServerSocket ss = ssc.socket();
277 Socket socket = new Socket("localhost", server.port); local
299 Socket socket = new Socket("localhost", server.port); local
330 Socket socket = serverSocket.accept(); local
339 Socket socket = new Socket("localhost", serverSocket.getLocalPort()); local
    [all...]
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
Connection.java 34 * the device side, the connection is bound to the UNIX-domain socket named
37 * 'android.sdk.controller' socket on the device. Typically, the port forwarding
52 * 2. Channels are connected to emulator via separate socket instance (though all
53 * of the connections share the same socket address).
61 * 1. Bind to "android.sdk.controller" socket, listening to emulator connections.
79 /** Server socket used to listen to emulator connections. */
91 private List<Socket> mPendingSockets = new ArrayList<Socket>();
110 * Binds to the socket, and starts the listening thread.
124 * Stops the listener, and closes the socket
133 LocalServerSocket socket; local
269 LocalServerSocket socket = mServerSocket; local
    [all...]
  /external/python/cpython2/Lib/
asyncore.py 28 """Basic infrastructure for asynchronous socket service clients and servers.
50 import socket
115 except socket.error, e:
243 # get a socket from a blocking source.
247 # The constructor no longer requires that the socket
251 except socket.error, err:
254 # socket.
257 # The socket is broken in some unknown way, alert
263 self.socket = None
297 sock = socket.socket(family, type
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
asyncore.py 28 """Basic infrastructure for asynchronous socket service clients and servers.
50 import socket
115 except socket.error, e:
243 # get a socket from a blocking source.
247 # The constructor no longer requires that the socket
251 except socket.error, err:
254 # socket.
257 # The socket is broken in some unknown way, alert
263 self.socket = None
297 sock = socket.socket(family, type
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
asyncore.py 28 """Basic infrastructure for asynchronous socket service clients and servers.
50 import socket
115 except socket.error, e:
243 # get a socket from a blocking source.
247 # The constructor no longer requires that the socket
251 except socket.error, err:
254 # socket.
257 # The socket is broken in some unknown way, alert
263 self.socket = None
297 sock = socket.socket(family, type
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
asyncore.py 28 """Basic infrastructure for asynchronous socket service clients and servers.
50 import socket
115 except socket.error, e:
243 # get a socket from a blocking source.
247 # The constructor no longer requires that the socket
251 except socket.error, err:
254 # socket.
257 # The socket is broken in some unknown way, alert
263 self.socket = None
297 sock = socket.socket(family, type
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
asyncore.py 28 """Basic infrastructure for asynchronous socket service clients and servers.
50 import socket
115 except socket.error, e:
243 # get a socket from a blocking source.
247 # The constructor no longer requires that the socket
251 except socket.error, err:
254 # socket.
257 # The socket is broken in some unknown way, alert
263 self.socket = None
297 sock = socket.socket(family, type
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_ssl.py 7 import socket
40 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
67 s = socket.socket(socket.AF_INET
    [all...]
test_asyncore.py 5 import socket
35 self.socket = dummysocket()
38 self.socket.close()
70 except socket.timeout:
195 self.assertEqual(c.socket.closed, False)
211 self.assertEqual(c.socket.closed, True)
314 d = asyncore.dispatcher(socket.socket())
315 # make sure the error message no longer refers to the socket
319 # cheap inheritance with the underlying socket is suppose
    [all...]
test_urllib2net.py 7 import socket
80 # underlying socket
82 # delve deep into response to fetch socket._socketobject
85 self.assertTrue(abused_fileobject.__class__ is socket._fileobject)
89 self.assertTrue(fileobject.__class__ is socket._fileobject)
136 ## if socket.gethostname() == 'bitdiddle':
138 ## elif socket.gethostname() == 'bitdiddle.concentric.net':
226 if isinstance(err[0], socket.timeout):
236 except socket.timeout:
255 self.assertTrue(socket.getdefaulttimeout() is None
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_ssl.py 7 import socket
40 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
67 s = socket.socket(socket.AF_INET
    [all...]
test_asyncore.py 5 import socket
35 self.socket = dummysocket()
38 self.socket.close()
70 except socket.timeout:
195 self.assertEqual(c.socket.closed, False)
211 self.assertEqual(c.socket.closed, True)
314 d = asyncore.dispatcher(socket.socket())
315 # make sure the error message no longer refers to the socket
319 # cheap inheritance with the underlying socket is suppose
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ssl.py 7 import socket
40 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
67 s = socket.socket(socket.AF_INET
    [all...]
test_asyncore.py 5 import socket
35 self.socket = dummysocket()
38 self.socket.close()
70 except socket.timeout:
195 self.assertEqual(c.socket.closed, False)
211 self.assertEqual(c.socket.closed, True)
314 d = asyncore.dispatcher(socket.socket())
315 # make sure the error message no longer refers to the socket
319 # cheap inheritance with the underlying socket is suppose
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ssl.py 7 import socket
40 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
67 s = socket.socket(socket.AF_INET
    [all...]
test_asyncore.py 5 import socket
35 self.socket = dummysocket()
38 self.socket.close()
70 except socket.timeout:
195 self.assertEqual(c.socket.closed, False)
211 self.assertEqual(c.socket.closed, True)
314 d = asyncore.dispatcher(socket.socket())
315 # make sure the error message no longer refers to the socket
319 # cheap inheritance with the underlying socket is suppose
    [all...]
  /external/python/cpython2/Lib/test/
test_asyncore.py 5 import socket
34 self.socket = dummysocket()
37 self.socket.close()
69 except socket.timeout:
194 self.assertEqual(c.socket.closed, False)
210 self.assertEqual(c.socket.closed, True)
313 d = asyncore.dispatcher(socket.socket())
314 # make sure the error message no longer refers to the socket
318 # cheap inheritance with the underlying socket is suppose
    [all...]
test_urllib2net.py 5 import socket
78 # underlying socket
80 # delve deep into response to fetch socket._socketobject
83 self.assertIs(abused_fileobject.__class__, socket._fileobject)
87 self.assertIs(fileobject.__class__, socket._fileobject)
132 ## if socket.gethostname() == 'bitdiddle':
134 ## elif socket.gethostname() == 'bitdiddle.concentric.net':
222 if isinstance(err[0], socket.timeout):
232 except socket.timeout:
251 self.assertIsNone(socket.getdefaulttimeout()
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_urllib2net.py 7 import socket
80 # underlying socket
82 # delve deep into response to fetch socket._socketobject
85 self.assertTrue(abused_fileobject.__class__ is socket._fileobject)
89 self.assertTrue(fileobject.__class__ is socket._fileobject)
134 ## if socket.gethostname() == 'bitdiddle':
136 ## elif socket.gethostname() == 'bitdiddle.concentric.net':
214 if isinstance(err[0], socket.timeout):
224 except socket.timeout:
242 self.assertTrue(socket.getdefaulttimeout() is None)
    [all...]

Completed in 939 milliseconds

<<11121314151617181920>>