Home
last modified time | relevance | path

Searched refs:listening_sock (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/crypto/bio/
Dbio_test.cc69 int listening_sock = -1; in TEST() local
77 listening_sock = socket(AF_INET6, SOCK_STREAM, 0); in TEST()
78 ASSERT_NE(-1, listening_sock) << LastSocketError(); in TEST()
82 if (bind(listening_sock, (struct sockaddr *)sin6, sizeof(*sin6)) == -1) { in TEST()
83 closesocket(listening_sock); in TEST()
86 listening_sock = socket(AF_INET, SOCK_STREAM, 0); in TEST()
87 ASSERT_NE(-1, listening_sock) << LastSocketError(); in TEST()
91 ASSERT_EQ(0, bind(listening_sock, (struct sockaddr *)sin, sizeof(*sin))) in TEST()
95 ScopedSocket listening_sock_closer(listening_sock); in TEST()
96 ASSERT_EQ(0, listen(listening_sock, 1)) << LastSocketError(); in TEST()
[all …]
/external/python/cpython2/Lib/idlelib/
Drpc.py517 self.listening_sock = socket.socket(family, type)
518 self.listening_sock.bind(address)
519 self.listening_sock.listen(1)
522 working_sock, address = self.listening_sock.accept()
DPyShell.py446 self.port = self.rpcclt.listening_sock.getsockname()[1]
453 self.rpcclt.listening_sock.setsockopt(socket.SOL_SOCKET,
458 self.rpcclt.listening_sock.settimeout(10)
/external/python/cpython3/Lib/idlelib/
Drpc.py533 self.listening_sock = socket.socket(family, type)
534 self.listening_sock.bind(address)
535 self.listening_sock.listen(1)
538 working_sock, address = self.listening_sock.accept()
Dpyshell.py439 self.port = self.rpcclt.listening_sock.getsockname()[1]
446 self.rpcclt.listening_sock.setsockopt(socket.SOL_SOCKET,
451 self.rpcclt.listening_sock.settimeout(10)
523 self.rpcclt.listening_sock.close()
/external/perfetto/src/ipc/
Dclient_impl_unittest.cc107 listening_sock = base::UnixSocket::Listen(kSockName, this, task_runner); in FakeHost()
108 EXPECT_TRUE(listening_sock->is_listening()); in FakeHost()
192 std::unique_ptr<base::UnixSocket> listening_sock; member in perfetto::ipc::__anonc54a3a0e0111::FakeHost