/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...] |
unix_domain_client_socket_posix_unittest.cc | 135 TestCompletionCallback accept_callback; local 137 server_socket.Accept(&accepted_socket, accept_callback.callback())); 148 EXPECT_EQ(OK, accept_callback.WaitForResult()); 161 TestCompletionCallback accept_callback; local 164 accept_callback.callback())); 175 EXPECT_EQ(OK, accept_callback.WaitForResult()); 213 TestCompletionCallback accept_callback; local 215 server_socket.Accept(&accepted_socket, accept_callback.callback())); 223 EXPECT_EQ(OK, accept_callback.WaitForResult()); 258 TestCompletionCallback accept_callback; local 291 TestCompletionCallback accept_callback; local 324 TestCompletionCallback accept_callback; local 393 TestCompletionCallback accept_callback; local [all...] |
tcp_socket_unittest.cc | 68 TestCompletionCallback accept_callback; local 73 accept_callback.callback())); 81 EXPECT_EQ(OK, accept_callback.WaitForResult()); 108 TestCompletionCallback accept_callback; local 112 accept_callback.callback()); 114 result = accept_callback.WaitForResult(); 155 TestCompletionCallback accept_callback; local 161 accept_callback.callback())); 173 EXPECT_EQ(OK, accept_callback.WaitForResult()); 208 TestCompletionCallback accept_callback; local 234 TestCompletionCallback accept_callback; local [all...] |
unix_domain_server_socket_posix_unittest.cc | 91 TestCompletionCallback accept_callback; local 93 server_socket.Accept(&accepted_socket, accept_callback.callback())); 116 // The server socket should not have called |accept_callback| or modified 118 EXPECT_FALSE(accept_callback.have_result());
|
tcp_server_socket.cc | 65 CompletionCallback accept_callback = local 69 accept_callback); 71 // |accept_callback| won't be called so we need to run
|
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();
|
/external/chromium_org/ash/display/ |
resolution_notification_controller.cc | 108 const base::Closure& accept_callback); 125 base::Closure accept_callback; member in struct:ash::ResolutionNotificationController::ResolutionChangeInfo 143 const base::Closure& accept_callback) 147 accept_callback(accept_callback), 174 const base::Closure& accept_callback) { 185 display_id, old_resolution, new_resolution, accept_callback)); 270 base::Closure callback = change_info_->accept_callback;
|
resolution_notification_controller.h | 53 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());
|