Searched refs:listening_sock (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/crypto/bio/ |
D | bio_test.cc | 74 int listening_sock = socket(AF_INET, SOCK_STREAM, 0); in TEST() local 75 ASSERT_NE(-1, listening_sock) << LastSocketError(); in TEST() 76 ScopedSocket listening_sock_closer(listening_sock); in TEST() 83 ASSERT_EQ(0, bind(listening_sock, (struct sockaddr *)&sin, sizeof(sin))) in TEST() 85 ASSERT_EQ(0, listen(listening_sock, 1)) << LastSocketError(); in TEST() 88 getsockname(listening_sock, (struct sockaddr *)&sin, &sockaddr_len)) in TEST() 105 int sock = accept(listening_sock, (struct sockaddr *) &sin, &sockaddr_len); in TEST()
|