Home
last modified time | relevance | path

Searched refs:Unretained (Results 1 – 25 of 55) sorted by relevance

123

/external/libweave/third_party/chromium/base/
Dcallback_list_unittest.cc64 cb_reg_->Add(Bind(&Adder::IncrementTotal, Unretained(this))); in AddCallback()
122 c1.Add(Bind(&Summer::AddOneParam, Unretained(&s))); in TEST()
129 c2.Add(Bind(&Summer::AddTwoParam, Unretained(&s))); in TEST()
136 subscription3 = c3.Add(Bind(&Summer::AddThreeParam, Unretained(&s))); in TEST()
143 subscription4 = c4.Add(Bind(&Summer::AddFourParam, Unretained(&s))); in TEST()
150 subscription5 = c5.Add(Bind(&Summer::AddFiveParam, Unretained(&s))); in TEST()
157 subscription6 = c6.Add(Bind(&Summer::AddSixParam, Unretained(&s))); in TEST()
170 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&a))); in TEST()
172 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&b))); in TEST()
185 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&c))); in TEST()
[all …]
/external/libchrome/base/
Dcallback_list_unittest.cc64 cb_reg_->Add(Bind(&Adder::IncrementTotal, Unretained(this))); in AddCallback()
122 c1.Add(Bind(&Summer::AddOneParam, Unretained(&s))); in TEST()
129 c2.Add(Bind(&Summer::AddTwoParam, Unretained(&s))); in TEST()
136 subscription3 = c3.Add(Bind(&Summer::AddThreeParam, Unretained(&s))); in TEST()
143 subscription4 = c4.Add(Bind(&Summer::AddFourParam, Unretained(&s))); in TEST()
150 subscription5 = c5.Add(Bind(&Summer::AddFiveParam, Unretained(&s))); in TEST()
157 subscription6 = c6.Add(Bind(&Summer::AddSixParam, Unretained(&s))); in TEST()
170 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&a))); in TEST()
172 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&b))); in TEST()
185 cb_reg.Add(Bind(&Listener::IncrementTotal, Unretained(&c))); in TEST()
[all …]
Dcancelable_callback_unittest.cc35 base::Bind(&Increment, base::Unretained(&count))); in TEST()
56 base::Bind(&Increment, base::Unretained(&count))); in TEST()
84 base::Bind(&Increment, base::Unretained(&count))); in TEST()
119 base::Bind(&Increment, base::Unretained(&count))); in TEST()
129 base::Bind(&IncrementBy, base::Unretained(&count), 3)); in TEST()
154 base::Unretained(&count))); in TEST()
168 base::Unretained(&count))); in TEST()
Dsequence_checker_unittest.cc86 base::Unretained(sequence_checked_object))); in PostDoStuffToWorkerPool()
93 base::Unretained(sequence_checked_object))); in PostDoStuffToOtherThread()
311 base::Unretained(sequence_checked_object.get()))); in TwoDifferentWorkerPoolsDeathTest()
Dbind_unittest.cc598 TEST_F(BindTest, Unretained) { in TEST_F() argument
603 Bind(&NoRef::VoidMethod0, Unretained(&no_ref_)); in TEST_F()
607 Bind(&NoRef::VoidConstMethod0, Unretained(&no_ref_)); in TEST_F()
611 Bind(&NoRef::VoidConstMethod0, Unretained(const_no_ref_ptr_)); in TEST_F()
/external/libbrillo/brillo/streams/
Dstream_utils_unittest.cc205 base::Bind(&CopyStreamDataTest::OnSuccess, base::Unretained(this), 100), in TEST_F()
206 base::Bind(&CopyStreamDataTest::OnError, base::Unretained(this), "")); in TEST_F()
225 base::Bind(&CopyStreamDataTest::OnSuccess, base::Unretained(this), 100), in TEST_F()
226 base::Bind(&CopyStreamDataTest::OnError, base::Unretained(this), "")); in TEST_F()
243 base::Bind(&CopyStreamDataTest::OnSuccess, base::Unretained(this), 60), in TEST_F()
244 base::Bind(&CopyStreamDataTest::OnError, base::Unretained(this), "")); in TEST_F()
263 base::Bind(&CopyStreamDataTest::OnSuccess, base::Unretained(this), 100), in TEST_F()
264 base::Bind(&CopyStreamDataTest::OnError, base::Unretained(this), "")); in TEST_F()
277 base::Bind(&CopyStreamDataTest::OnSuccess, base::Unretained(this), 0), in TEST_F()
278 base::Bind(&CopyStreamDataTest::OnError, base::Unretained(this), "read")); in TEST_F()
[all …]
/external/libbrillo/brillo/
Dasynchronous_signal_handler_unittest.cc54 base::Unretained(this), in TEST_F()
70 base::Unretained(this), in TEST_F()
86 base::Unretained(&brillo_loop_)), in TEST_F()
100 base::Unretained(this), in TEST_F()
120 base::Unretained(this), in TEST_F()
Dprocess_reaper.cc29 base::Bind(&ProcessReaper::HandleSIGCHLD, base::Unretained(this))); in Register()
/external/libbrillo/brillo/dbus/
Ddbus_object.cc48 base::Bind(&DBusInterface::HandleMethodCall, base::Unretained(this)); in ExportAsync()
79 base::Bind(&DBusInterface::HandleMethodCall, base::Unretained(this)); in ExportAndBlock()
197 base::Unretained(&property_set_), in RegisterAsync()
201 base::Unretained(&property_set_), in RegisterAsync()
205 base::Unretained(&property_set_), in RegisterAsync()
232 base::Unretained(&property_set_), in RegisterAndBlock()
236 base::Unretained(&property_set_), in RegisterAndBlock()
240 base::Unretained(&property_set_), in RegisterAndBlock()
Ddbus_object_unittest.cc120 kTestMethod_Add, base::Unretained(&calc_), &Calc::Add); in SetUp()
122 kTestMethod_Negate, base::Unretained(&calc_), &Calc::Negate); in SetUp()
124 kTestMethod_Positive, base::Unretained(&calc_), &Calc::Positive); in SetUp()
126 kTestMethod_AddSubtract, base::Unretained(&calc_), &Calc::AddSubtract); in SetUp()
383 kTestMethod_Add, base::Unretained(&calc_), &Calc::Add); in TEST_F()
/external/libchrome/base/metrics/
Dstatistics_recorder_unittest.cc342 base::Unretained(&callback_wrapper))); in TEST_F()
347 base::Unretained(&callback_wrapper))); in TEST_F()
361 base::Unretained(&callback_wrapper))); in TEST_F()
368 base::Unretained(&callback_wrapper))); in TEST_F()
388 base::Unretained(&callback_wrapper))); in TEST_F()
412 base::Unretained(&callback_wrapper))); in TEST_F()
429 base::Unretained(&callback_wrapper))); in TEST_F()
449 base::Unretained(&callback_wrapper))); in TEST_F()
466 base::Unretained(&callback_wrapper))); in TEST_F()
481 base::Unretained(&callback_wrapper))); in TEST_F()
/external/libchrome/base/message_loop/
Dmessage_pump_glib_unittest.cc210 Bind(&ExpectProcessedEvents, Unretained(injector()), 2); in TEST_F()
222 Bind(&ExpectProcessedEvents, Unretained(injector()), 2); in TEST_F()
242 Bind(&EventInjector::AddEvent, Unretained(injector()), 0, in TEST_F()
263 Bind(&EventInjector::AddEvent, Unretained(injector()), 10, in TEST_F()
281 Bind(&ExpectProcessedEvents, Unretained(injector()), 11); in TEST_F()
399 Bind(&AddEventsAndDrainGLib, Unretained(injector()))); in TEST_F()
519 Bind(&TestGLibLoopInternal, Unretained(injector()))); in TEST_F()
530 Bind(&TestGtkLoopInternal, Unretained(injector()))); in TEST_F()
Dmessage_loop_test.cc114 Bind(&MessageLoop::QuitWhenIdle, Unretained(MessageLoop::current()))); in RunTest_PostTask()
718 Bind(&FuncThatRuns, &order, 1, Unretained(&run_loop))); in RunTest_QuitNow()
754 Bind(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in RunTest_RunLoopQuitTop()
784 Bind(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in RunTest_RunLoopQuitNested()
815 Bind(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in RunTest_RunLoopQuitBogus()
850 Bind(&FuncThatRuns, &order, 1, Unretained(&nested_loop1))); in RunTest_RunLoopQuitDeep()
852 Bind(&FuncThatRuns, &order, 2, Unretained(&nested_loop2))); in RunTest_RunLoopQuitDeep()
854 Bind(&FuncThatRuns, &order, 3, Unretained(&nested_loop3))); in RunTest_RunLoopQuitDeep()
856 Bind(&FuncThatRuns, &order, 4, Unretained(&nested_loop4))); in RunTest_RunLoopQuitDeep()
963 Bind(&FuncThatRuns, &order, 1, Unretained(&run_loop))); in RunTest_RunLoopQuitOrderAfter()
/external/libchrome/base/timer/
Dmock_timer_unittest.cc22 base::Unretained(&calls))); in TEST()
36 base::Unretained(&calls))); in TEST()
51 base::Unretained(&calls))); in TEST()
Dtimer.h225 base::Bind(method, base::Unretained(receiver))); in Start()
263 base::Bind(method, base::Unretained(receiver)), in DelayTimer()
/external/libchrome/base/threading/
Dpost_task_and_reply_impl.cc46 base::Unretained(this))); in Run()
84 Unretained(relay)))) { in PostTaskAndReply()
Dworker_pool_unittest.cc77 base::Unretained(&test_event)), in TEST_F()
81 base::Unretained(&long_test_event)), in TEST_F()
/external/libbrillo/brillo/daemons/
Ddaemon.cc64 signal, base::Bind(&Daemon::Shutdown, base::Unretained(this))); in OnInit()
67 SIGHUP, base::Bind(&Daemon::Restart, base::Unretained(this))); in OnInit()
Ddbus_daemon.cc63 base::Unretained(this)) in OnInit()
/external/libweave/src/privet/
Dsecurity_manager_unittest.cc204 base::Unretained(&callbacks)), in TEST_F()
206 base::Unretained(&callbacks))); in TEST_F()
238 base::Unretained(&callbacks)), in TEST_F()
240 base::Unretained(&callbacks))); in TEST_F()
/external/libchrome/base/task/
Dcancelable_task_tracker_unittest.cc379 Unretained(&task_tracker_), Bind(&PostDoNothingTask))); in TEST_F()
400 Unretained(&task_tracker_), Bind(&TryCancel, task_id))); in TEST_F()
418 Bind(&MaybeRunDeadlyTaskTrackerMemberFunction, Unretained(&task_tracker_), in TEST_F()
Dcancelable_task_tracker.h92 base::Unretained(result)), in PostTaskAndReplyWithResult()
/external/libchrome/base/trace_event/
Dmemory_dump_manager_unittest.cc151 Bind(&MemoryDumpManagerTest::DumpCallbackAdapter, Unretained(this), in RequestGlobalDumpAndWait()
428 Unretained(mdm_.get()), Unretained(mdps.back().get())); in TEST_F()
574 base::Unretained(&*mdm_), other_mdp)); in TEST_F()
821 Bind(&MemoryDumpManagerTest::DumpCallbackAdapter, Unretained(this), in TEST_F()
870 Bind(&OnTraceDataCollected, run_loop.QuitClosure(), Unretained(&buffer))); in TEST_F()
934 base::Unretained(MemoryDumpManager::GetInstance()), in TEST_F()
/external/autotest/client/deps/glbench/src/
Dglinterfacetest.cc72 base::Unretained(this)); in Run()
/external/libweave/src/test/
Dfake_stream.cc36 FROM_HERE, base::Bind(&FakeStream::Read, base::Unretained(this), buffer, in Read()

123