Home
last modified time | relevance | path

Searched refs:kBacklog (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ppapi/tests/
Dtest_tcp_server_socket_private.cc143 static const int kBacklog = 2; in TestListen() local
147 ASSERT_SUBTEST_SUCCESS(SyncListen(&server_socket, &address, kBacklog)); in TestListen()
201 static const size_t kBacklog = 5; in TestBacklog() local
205 ASSERT_SUBTEST_SUCCESS(SyncListen(&server_socket, &address, 2 * kBacklog)); in TestBacklog()
207 std::vector<TCPSocketPrivate*> client_sockets(kBacklog); in TestBacklog()
208 std::vector<TestCompletionCallback*> connect_callbacks(kBacklog); in TestBacklog()
209 std::vector<int32_t> connect_rv(kBacklog); in TestBacklog()
210 for (size_t i = 0; i < kBacklog; ++i) { in TestBacklog()
219 std::vector<PP_Resource> resources(kBacklog); in TestBacklog()
220 std::vector<TCPSocketPrivate*> accepted_sockets(kBacklog); in TestBacklog()
[all …]
Dtest_tcp_socket.cc190 static const int kBacklog = 2; in TestListen() local
193 ASSERT_SUBTEST_SUCCESS(StartListen(&server_socket, kBacklog)); in TestListen()
252 static const size_t kBacklog = 5; in TestBacklog() local
255 ASSERT_SUBTEST_SUCCESS(StartListen(&server_socket, 2 * kBacklog)); in TestBacklog()
257 std::vector<pp::TCPSocket*> client_sockets(kBacklog); in TestBacklog()
258 std::vector<TestCompletionCallback*> connect_callbacks(kBacklog); in TestBacklog()
259 std::vector<int32_t> connect_rv(kBacklog); in TestBacklog()
261 for (size_t i = 0; i < kBacklog; ++i) { in TestBacklog()
269 std::vector<pp::TCPSocket*> accepted_sockets(kBacklog); in TestBacklog()
270 for (size_t i = 0; i < kBacklog; ++i) { in TestBacklog()
[all …]
/external/chromium_org/native_client_sdk/src/examples/api/socket/
Decho_server.cc20 static const int kBacklog = 10; variable
75 int32_t rtn = listening_socket_.Listen(kBacklog, callback); in OnBindCompletion()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
Decho_server.cc21 static const int kBacklog = 10; variable
76 int32_t rtn = listening_socket_.Listen(kBacklog, callback); in OnBindCompletion()