/external/chromium_org/net/base/ |
test_completion_callback.h | 17 // tests involving asynchronous operations. Just call WaitForResult to wait 21 // there could be other side-effects resulting from WaitForResult. For this 38 void WaitForResult(); 53 R WaitForResult() { 54 TestCompletionCallbackBaseInternal::WaitForResult(); 61 return WaitForResult();
|
upload_file_element_reader_unittest.cc | 43 EXPECT_EQ(OK, callback.WaitForResult()); 69 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); 77 EXPECT_EQ(static_cast<int>(buf.size()), read_callback2.WaitForResult()); 89 EXPECT_EQ(static_cast<int>(buf.size()), read_callback.WaitForResult()); 106 EXPECT_EQ(static_cast<int>(bytes_.size()), read_callback.WaitForResult()); 121 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); 128 EXPECT_EQ(OK, init_callback.WaitForResult()); 137 EXPECT_EQ(static_cast<int>(buf.size()), read_callback2.WaitForResult()); 159 EXPECT_EQ(OK, init_callback2.WaitForResult()); 170 EXPECT_EQ(static_cast<int>(buf2.size()), read_callback2.WaitForResult()); [all...] |
file_stream_unittest.cc | 80 EXPECT_EQ(OK, callback.WaitForResult()); 84 EXPECT_EQ(OK, callback.WaitForResult()); 97 EXPECT_EQ(OK, callback.WaitForResult()); 126 ASSERT_EQ(0, callback64.WaitForResult()); 146 ASSERT_EQ(0, callback64.WaitForResult()); 218 EXPECT_EQ(OK, callback.WaitForResult()); 243 EXPECT_EQ(OK, callback.WaitForResult()); 249 int64 new_offset = callback64.WaitForResult(); 259 rv = callback.WaitForResult(); 277 EXPECT_EQ(OK, callback.WaitForResult()); [all...] |
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/ |
testable_callback.h | 25 // rv = callback.WaitForResult(); 40 // by the callback is returned by WaitForResult() once and only 42 int32_t WaitForResult();
|
/external/chromium_org/ppapi/tests/ |
test_network_proxy.cc | 25 callback.WaitForResult( 36 callback.WaitForResult( 46 callback.WaitForResult( 57 callback.WaitForResult( 65 callback.WaitForResult(
|
test_file_ref.cc | 61 callback.WaitForResult(loader.Open(request, callback.GetCallback())); 82 output_callback.WaitForResult( 98 callback.WaitForResult(file_ref.Delete(callback.GetCallback())); 104 callback.WaitForResult(dir->Delete(callback.GetCallback())); 203 callback.WaitForResult(loader.Open(request, callback.GetCallback())); 237 callback.WaitForResult(loader.Open(request, callback.GetCallback())); 278 callback.WaitForResult(loader.Open(request, callback.GetCallback())); 297 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); 303 callback.WaitForResult( 309 callback.WaitForResult( [all...] |
test_video_decoder.cc | 38 callback.WaitForResult( 50 callback.WaitForResult( 62 callback.WaitForResult(
|
test_file_mapping.cc | 37 callback.WaitForResult( 61 callback.WaitForResult(file_io->Write(write_offset, 71 callback.WaitForResult(file_io->Flush(callback.GetCallback())); 84 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); 95 callback.WaitForResult(file_io.Open(file_ref, 110 callback.WaitForResult( 160 callback.WaitForResult( 184 callback.WaitForResult( 214 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); 225 callback.WaitForResult(file_io.Open(file_ref [all...] |
test_tcp_socket_private.cc | 64 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); 82 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); 102 cb.WaitForResult(socket.Connect(host_.c_str(), ssl_port_, cb.GetCallback())); 106 cb.WaitForResult( 130 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); 141 cb.WaitForResult(socket.ConnectWithNetAddress(&address, cb.GetCallback())); 160 cb.WaitForResult( 166 cb.WaitForResult(socket.Connect(host_.c_str(), port_, cb.GetCallback())); 170 cb.WaitForResult( 176 cb.WaitForResult( [all...] |
test_file_io.cc | 93 callback.WaitForResult( 115 callback.WaitForResult(file_io->Read(offset, 256, callback.GetCallback())); 156 callback.WaitForResult(file_io->Write(write_offset, 201 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); 294 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); 300 callback.WaitForResult(dir_ref.MakeDirectory( 308 callback.WaitForResult(file_io.Open(dir_ref, PP_FILEOPENFLAG_READ, 321 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); 326 callback.WaitForResult(file_io.Open(file_ref, 342 callback.WaitForResult(file_io.Read(0 [all...] |
test_compositor.cc | 140 callback.WaitForResult(compositor.CommitLayers(callback.GetCallback())); 146 callback.WaitForResult(compositor.CommitLayers(callback.GetCallback())); 152 callback.WaitForResult(compositor.CommitLayers(callback.GetCallback())); 158 callback.WaitForResult(compositor.CommitLayers(callback.GetCallback())); 162 texture_release_callback.WaitForResult(PP_OK_COMPLETIONPENDING); 166 image_release_callback.WaitForResult(PP_OK_COMPLETIONPENDING); 220 callback.WaitForResult(compositor.CommitLayers(callback.GetCallback())); 227 texture_release_callback.WaitForResult(PP_OK_COMPLETIONPENDING); 231 image_release_callback.WaitForResult(PP_OK_COMPLETIONPENDING); 287 texture_release_callback.WaitForResult(PP_OK_COMPLETIONPENDING) [all...] |
test_tcp_socket.cc | 73 cb.WaitForResult(socket.Connect(addr_, cb.GetCallback())); 96 cb.WaitForResult(socket.Bind(any_port_address, cb.GetCallback())); 100 cb.WaitForResult(socket.Connect(addr_, cb.GetCallback())); 123 cb.WaitForResult(socket.Connect(addr_, cb.GetCallback())); 151 cb_1.WaitForResult(result_1); 155 cb_2.WaitForResult(result_2); 159 cb_3.WaitForResult(result_3); 163 cb_1.WaitForResult(socket.Connect(addr_, cb_1.GetCallback())); 174 cb_1.WaitForResult(result_1); 178 cb_2.WaitForResult(result_2) [all...] |
test_file_system.cc | 33 callback.WaitForResult(file_system.Open(1024, callback.GetCallback())); 57 callback_2.WaitForResult(file_system.Open(1024, callback_2.GetCallback())); 62 callback_1.WaitForResult(rv_1); 67 callback_3.WaitForResult(file_system.Open(1024, callback_3.GetCallback()));
|
/external/chromium_org/net/http/ |
disk_based_cert_cache_unittest.cc | 55 // store the returned certificate handle and allow users to WaitForResult of 66 void WaitForResult() { cb_.WaitForResult(); } 92 // store the returned key and allow a user to WaitForResult of 100 void WaitForResult() { cb_.WaitForResult(); } 201 set_callback.WaitForResult(); 217 get_callback.WaitForResult(); 238 set_callback.WaitForResult(); 258 get_callback.WaitForResult(); [all...] |
http_response_body_drainer_unittest.cc | 40 int WaitForResult() { 244 EXPECT_FALSE(result_waiter_.WaitForResult()); 251 EXPECT_FALSE(result_waiter_.WaitForResult()); 257 EXPECT_FALSE(result_waiter_.WaitForResult()); 267 EXPECT_FALSE(result_waiter_.WaitForResult()); 275 EXPECT_FALSE(result_waiter_.WaitForResult()); 282 EXPECT_FALSE(result_waiter_.WaitForResult()); 289 EXPECT_TRUE(result_waiter_.WaitForResult()); 306 EXPECT_TRUE(result_waiter_.WaitForResult());
|
/external/chromium_org/net/socket/ |
transport_client_socket_unittest.cc | 132 rv = callback.WaitForResult(); 151 rv = callback->WaitForResult(); 173 rv = callback.WaitForResult(); 196 rv = callback.WaitForResult(); 219 rv = callback.WaitForResult(); 279 rv = callback.WaitForResult(); 295 EXPECT_EQ(0, callback.WaitForResult()); 304 rv = callback.WaitForResult(); 316 rv = callback.WaitForResult(); 328 EXPECT_EQ(0, callback.WaitForResult()); [all...] |
tcp_server_socket_unittest.cc | 87 result = accept_callback.WaitForResult(); 96 EXPECT_EQ(OK, connect_callback.WaitForResult()); 114 EXPECT_EQ(OK, connect_callback.WaitForResult()); 115 EXPECT_EQ(OK, accept_callback.WaitForResult()); 144 EXPECT_EQ(OK, accept_callback.WaitForResult()); 150 result = accept_callback2.WaitForResult(); 153 EXPECT_EQ(OK, connect_callback.WaitForResult()); 180 result = accept_callback.WaitForResult(); 189 EXPECT_EQ(OK, connect_callback.WaitForResult()); 211 EXPECT_EQ(OK, connect_callback.WaitForResult()); [all...] |
tcp_client_socket_unittest.cc | 48 result = accept_callback.WaitForResult(); 51 EXPECT_EQ(OK, connect_callback.WaitForResult()); 75 result = connect_callback.WaitForResult(); 106 result = connect_callback.WaitForResult();
|
websocket_transport_client_socket_pool_unittest.cc | 125 EXPECT_EQ(OK, callback.WaitForResult()); 164 EXPECT_EQ(ERR_NAME_NOT_RESOLVED, callback.WaitForResult()); 179 EXPECT_EQ(ERR_CONNECTION_FAILED, callback.WaitForResult()); 195 EXPECT_EQ(OK, request(0)->WaitForResult()); 229 EXPECT_EQ(OK, request(0)->WaitForResult()); 244 EXPECT_EQ(OK, request(1)->WaitForResult()); 245 EXPECT_EQ(OK, request(2)->WaitForResult()); 246 EXPECT_EQ(OK, request(3)->WaitForResult()); 247 EXPECT_EQ(OK, request(4)->WaitForResult()); 248 EXPECT_EQ(OK, request(5)->WaitForResult()); [all...] |
tcp_socket_unittest.cc | 80 EXPECT_EQ(OK, connect_callback.WaitForResult()); 81 EXPECT_EQ(OK, accept_callback.WaitForResult()); 114 result = accept_callback.WaitForResult(); 122 EXPECT_EQ(OK, connect_callback.WaitForResult()); 173 EXPECT_EQ(OK, accept_callback.WaitForResult()); 182 result = accept_callback2.WaitForResult(); 185 EXPECT_EQ(OK, connect_callback.WaitForResult()); 186 EXPECT_EQ(OK, connect_callback2.WaitForResult()); 214 result = accept_callback.WaitForResult(); 222 EXPECT_EQ(OK, connect_callback.WaitForResult()); [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
web_ui_test_handler.h | 51 bool WaitForResult();
|
/external/chromium_org/net/dns/ |
mapped_host_resolver_unittest.cc | 51 rv = callback.WaitForResult(); 66 rv = callback.WaitForResult(); 79 rv = callback.WaitForResult(); 95 rv = callback.WaitForResult(); 130 rv = callback.WaitForResult(); 143 rv = callback.WaitForResult(); 174 rv = callback.WaitForResult(); 187 rv = callback.WaitForResult(); 242 rv = callback2.WaitForResult();
|
/external/chromium_org/net/proxy/ |
proxy_script_fetcher_impl_unittest.cc | 221 EXPECT_EQ(ERR_FILE_NOT_FOUND, callback.WaitForResult()); 230 EXPECT_EQ(OK, callback.WaitForResult()); 249 EXPECT_EQ(OK, callback.WaitForResult()); 258 EXPECT_EQ(OK, callback.WaitForResult()); 267 EXPECT_EQ(OK, callback.WaitForResult()); 283 EXPECT_EQ(ERR_PAC_STATUS_NOT_OK, callback.WaitForResult()); 292 EXPECT_EQ(ERR_PAC_STATUS_NOT_OK, callback.WaitForResult()); 309 EXPECT_EQ(OK, callback.WaitForResult()); 326 EXPECT_EQ(OK, callback.WaitForResult()); 343 EXPECT_NE(OK, callback.WaitForResult()); [all...] |
multi_threaded_proxy_resolver_unittest.cc | 251 EXPECT_EQ(OK, set_script_callback.WaitForResult()); 264 rv = callback0.WaitForResult(); 301 rv = callback1.WaitForResult(); 305 rv = callback2.WaitForResult(); 309 rv = callback3.WaitForResult(); 329 EXPECT_EQ(OK, init_callback.WaitForResult()); 367 EXPECT_EQ(0, callback0.WaitForResult()); 378 EXPECT_EQ(1, callback1.WaitForResult()); 393 EXPECT_EQ(2, callback2.WaitForResult()); 423 EXPECT_EQ(OK, init_callback.WaitForResult()); [all...] |
/external/chromium_org/media/midi/ |
midi_manager_unittest.cc | 76 MidiResult WaitForResult() { 157 EXPECT_EQ(MIDI_OK, client->WaitForResult()); 167 EXPECT_EQ(MIDI_INITIALIZATION_ERROR, client->WaitForResult()); 183 EXPECT_EQ(MIDI_OK, client1->WaitForResult()); 184 EXPECT_EQ(MIDI_OK, client2->WaitForResult()); 185 EXPECT_EQ(MIDI_OK, client3->WaitForResult()); 220 EXPECT_EQ(MIDI_OK, many_existing_clients[i]->WaitForResult()); 251 MidiResult result = client->WaitForResult();
|