Searched refs:listening_sock (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/quiche/deps/boringssl/src/crypto/bio/ |
D | bio_test.cc | 69 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/boringssl/src/crypto/bio/ |
D | bio_test.cc | 69 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/ |
D | rpc.py | 517 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()
|
D | PyShell.py | 446 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/ |
D | rpc.py | 532 self.listening_sock = socket.socket(family, type) 533 self.listening_sock.bind(address) 534 self.listening_sock.listen(1) 537 working_sock, address = self.listening_sock.accept()
|
D | pyshell.py | 451 self.port = self.rpcclt.listening_sock.getsockname()[1] 458 self.rpcclt.listening_sock.setsockopt(socket.SOL_SOCKET, 463 self.rpcclt.listening_sock.settimeout(10) 534 self.rpcclt.listening_sock.close()
|
/external/perfetto/src/ipc/ |
D | client_impl_unittest.cc | 108 listening_sock = in FakeHost() 111 EXPECT_TRUE(listening_sock->is_listening()); in FakeHost() 194 std::unique_ptr<base::UnixSocket> listening_sock; member in perfetto::ipc::__anon2c0b15d50111::FakeHost
|