/external/chromium_org/net/socket/ |
tcp_server_socket_unittest.cc | 83 TestCompletionCallback accept_callback; local 85 int result = socket_.Accept(&accepted_socket, accept_callback.callback()); 87 result = accept_callback.WaitForResult(); 103 TestCompletionCallback accept_callback; local 107 socket_.Accept(&accepted_socket, accept_callback.callback())); 115 EXPECT_EQ(OK, accept_callback.WaitForResult()); 128 TestCompletionCallback accept_callback; local 132 socket_.Accept(&accepted_socket, accept_callback.callback())); 144 EXPECT_EQ(OK, accept_callback.WaitForResult()); 176 TestCompletionCallback accept_callback; local 200 TestCompletionCallback accept_callback; local [all...] |
tcp_socket_unittest.cc | 86 TestCompletionCallback accept_callback; local 90 accept_callback.callback()); 92 result = accept_callback.WaitForResult(); 107 TestCompletionCallback accept_callback; local 112 accept_callback.callback())); 120 EXPECT_EQ(OK, accept_callback.WaitForResult()); 132 TestCompletionCallback accept_callback; local 138 accept_callback.callback())); 150 EXPECT_EQ(OK, accept_callback.WaitForResult()); 185 TestCompletionCallback accept_callback; local 211 TestCompletionCallback accept_callback; local [all...] |
tcp_client_socket_unittest.cc | 44 TestCompletionCallback accept_callback; local 46 int result = server.Accept(&accepted_socket, accept_callback.callback()); 48 result = accept_callback.WaitForResult();
|
tcp_server_socket.cc | 65 CompletionCallback accept_callback = local 69 accept_callback); 71 // |accept_callback| won't be called so we need to run
|
/external/chromium/net/socket/ |
tcp_server_socket_unittest.cc | 64 TestCompletionCallback accept_callback; local 66 int result = socket_.Accept(&accepted_socket, &accept_callback); 68 result = accept_callback.WaitForResult(); 82 TestCompletionCallback accept_callback; local 85 ASSERT_EQ(ERR_IO_PENDING, socket_.Accept(&accepted_socket, &accept_callback)); 94 EXPECT_EQ(OK, accept_callback.WaitForResult()); 105 TestCompletionCallback accept_callback; local 109 socket_.Accept(&accepted_socket, &accept_callback)); 123 EXPECT_EQ(OK, accept_callback.WaitForResult());
|
ssl_server_socket_unittest.cc | 293 TestCompletionCallback accept_callback; local 295 int server_ret = server_socket_->Accept(&accept_callback); 305 EXPECT_EQ(net::OK, accept_callback.WaitForResult()); 313 TestCompletionCallback accept_callback; local 319 int server_ret = server_socket_->Accept(&accept_callback); 326 ASSERT_EQ(net::OK, accept_callback.WaitForResult());
|
/external/chromium_org/ash/display/ |
resolution_notification_controller.cc | 108 const base::Closure& accept_callback); 121 base::Closure accept_callback; member in struct:ash::internal::ResolutionNotificationController::ResolutionChangeInfo 139 const base::Closure& accept_callback) 143 accept_callback(accept_callback), 170 const base::Closure& accept_callback) { 181 display_id, old_resolution, new_resolution, accept_callback)); 258 base::Closure callback = change_info_->accept_callback;
|
resolution_notification_controller.h | 46 const base::Closure& accept_callback);
|
/external/chromium_org/ppapi/tests/ |
test_tcp_server_socket_private.cc | 151 TestCompletionCallback accept_callback(instance_->pp_instance(), PP_REQUIRED); 152 // We need to make sure there's a message loop to run accept_callback on. 161 accept_callback.GetCallback()); 170 accept_callback.WaitForResult(accept_rv); 171 CHECK_CALLBACK_BEHAVIOR(accept_callback); 172 ASSERT_EQ(PP_OK, accept_callback.result());
|
test_tcp_socket.cc | 198 accept_callback(instance_->pp_instance(), PP_REQUIRED); 199 // We need to make sure there's a message loop to run accept_callback on. 206 int32_t accept_rv = server_socket.Accept(accept_callback.GetCallback()); 222 accept_callback.WaitForResult(accept_rv); 223 CHECK_CALLBACK_BEHAVIOR(accept_callback); 224 ASSERT_EQ(PP_OK, accept_callback.result()); 226 pp::TCPSocket accepted_socket(accept_callback.output());
|