Home
last modified time | relevance | path

Searched refs:callback_2 (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/athena/env/
Dathena_env_unittest.cc52 TerminatingCallback callback_2; in TEST_F() local
62 base::Unretained(&callback_2)); in TEST_F()
71 EXPECT_EQ(1, callback_2.on_terminating_count()); in TEST_F()
75 callback_2.Reset(); in TEST_F()
80 EXPECT_EQ(1, callback_2.on_terminating_count()); in TEST_F()
83 callback_2.Reset(); in TEST_F()
88 EXPECT_EQ(1, callback_2.on_terminating_count()); in TEST_F()
92 callback_2.Reset(); in TEST_F()
97 EXPECT_EQ(1, callback_2.on_terminating_count()); in TEST_F()
/external/chromium_org/ppapi/tests/
Dtest_file_system.cc56 TestCompletionCallback callback_2(instance_->pp_instance(), callback_type()); in TestMultipleOpens() local
57 callback_2.WaitForResult(file_system.Open(1024, callback_2.GetCallback())); in TestMultipleOpens()
58 CHECK_CALLBACK_BEHAVIOR(callback_2); in TestMultipleOpens()
60 ASSERT_NE(PP_OK, callback_2.result()); in TestMultipleOpens()
Dtest_file_io.cc794 TestCompletionCallback callback_2(instance_->pp_instance(), callback_type()); in TestParallelReads() local
811 callback_2.GetCallback()); in TestParallelReads()
823 callback_2.WaitForResult(rv_2); in TestParallelReads()
824 CHECK_CALLBACK_BEHAVIOR(callback_2); in TestParallelReads()
825 ASSERT_TRUE(callback_2.result() > 0); in TestParallelReads()
826 read_offset_2 += callback_2.result(); in TestParallelReads()
827 buf_2 += callback_2.result(); in TestParallelReads()
828 size_2 -= callback_2.result(); in TestParallelReads()
870 TestCompletionCallback callback_2(instance_->pp_instance(), callback_type()); in TestParallelWrites() local
890 write_offset_2, &str_2[0], str_2.size(), callback_2.GetCallback()); in TestParallelWrites()
[all …]
Dtest_udp_socket.cc108 TestCompletionCallback callback_2(instance_->pp_instance(), callback_type()); in SetBroadcastOptions() local
109 callback_2.WaitForResult(socket->SetOption( in SetBroadcastOptions()
110 PP_UDPSOCKET_OPTION_BROADCAST, pp::Var(true), callback_2.GetCallback())); in SetBroadcastOptions()
111 CHECK_CALLBACK_BEHAVIOR(callback_2); in SetBroadcastOptions()
112 ASSERT_EQ(PP_OK, callback_2.result()); in SetBroadcastOptions()
Dtest_graphics_2d.cc631 TestCompletionCallback callback_2(instance_->pp_instance(), in TestFlush() local
633 callback_2.WaitForResult(dc_nopaints.Flush(callback_2.GetCallback())); in TestFlush()
634 CHECK_CALLBACK_BEHAVIOR(callback_2); in TestFlush()
635 ASSERT_EQ(PP_ERROR_INPROGRESS, callback_2.result()); in TestFlush()
/external/chromium_org/ppapi/shared_impl/
Dthread_aware_callback_unittest.cc171 scoped_ptr<ThreadAwareCallback<FuncType_2> > callback_2( in TEST_F() local
173 callback_2->RunOnTargetThread(1, &double_arg); in TEST_F()
/external/chromium_org/net/http/
Dhttp_network_transaction_unittest.cc10213 TestCompletionCallback callback_2; in TEST_P() local
10216 rv = trans_2->Start(&request, callback_2.callback(), BoundNetLog()); in TEST_P()
10218 EXPECT_EQ(OK, callback_2.WaitForResult()); in TEST_P()