Lines Matching refs:BindOnce
244 BindOnce(&RecursiveFunc, order, cookie, depth - 1, is_reentrant)); in RecursiveFunc()
258 FROM_HERE, BindOnce(&PostNTasks, posts_remaining - 1)); in PostNTasks()
337 BindOnce(&android::JavaHandlerThreadHelpers::ThrowExceptionAndAbort, in RunTest_AbortDontRunMoreTasks()
346 BindOnce(&DoNotRun)); in RunTest_AbortDontRunMoreTasks()
381 BindOnce( in TEST_P()
386 FROM_HERE, BindOnce([]() { ADD_FAILURE(); }), in TEST_P()
424 message_loop.task_runner()->PostTask(FROM_HERE, BindOnce(&SubPumpFunc)); in RunTest_PostDelayedTask_SharedTimer_SubPump()
428 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time, &num_tasks), in RunTest_PostDelayedTask_SharedTimer_SubPump()
433 BindOnce(&PostQuitMessage, 0), in RunTest_PostDelayedTask_SharedTimer_SubPump()
485 BindOnce(&RecursiveFunc, order, 1, 2, is_reentrant)); in RecursiveFuncWin()
487 BindOnce(&MessageBoxFunc, order, 2, is_reentrant)); in RecursiveFuncWin()
489 BindOnce(&RecursiveFunc, order, 3, 2, is_reentrant)); in RecursiveFuncWin()
496 task_runner->PostTask(FROM_HERE, BindOnce(&EndDialogFunc, order, 4)); in RecursiveFuncWin()
497 task_runner->PostTask(FROM_HERE, BindOnce(&QuitFunc, order, 5)); in RecursiveFuncWin()
536 FROM_HERE, BindOnce(&RecursiveFuncWin, ThreadTaskRunnerHandle::Get(), in RunTest_RecursiveDenial2()
576 FROM_HERE, BindOnce(&RecursiveFuncWin, ThreadTaskRunnerHandle::Get(), in RunTest_RecursiveSupport2()
614 FROM_HERE, BindOnce(&PostNTasksThenQuit, posts_remaining - 1)); in PostNTasksThenQuit()
690 FROM_HERE, BindOnce(&TestIOHandler::Init, Unretained(&handler))); in RunTest_IOHandler()
729 FROM_HERE, BindOnce(&TestIOHandler::Init, Unretained(&handler1))); in RunTest_WaitForIO()
735 FROM_HERE, BindOnce(&TestIOHandler::Init, Unretained(&handler2))); in RunTest_WaitForIO()
856 BindOnce(&Foo::Test0, foo)); in TEST_P()
858 FROM_HERE, BindOnce(&Foo::Test1ConstRef, foo, a)); in TEST_P()
860 BindOnce(&Foo::Test1Ptr, foo, &b)); in TEST_P()
862 BindOnce(&Foo::Test1Int, foo, 100)); in TEST_P()
864 FROM_HERE, BindOnce(&Foo::Test2Ptr, foo, &a, &c)); in TEST_P()
866 FROM_HERE, BindOnce(&Foo::Test2Mixed, foo, a, &d)); in TEST_P()
869 FROM_HERE, BindOnce(&RunLoop::QuitCurrentWhenIdleDeprecated)); in TEST_P()
890 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time, &num_tasks), kDelay); in TEST_P()
906 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time1, &num_tasks), in TEST_P()
911 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time2, &num_tasks), in TEST_P()
937 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time1, &num_tasks), kDelay); in TEST_P()
939 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time2, &num_tasks), kDelay); in TEST_P()
959 BindOnce(&SlowFunc, kPause, &num_tasks)); in TEST_P()
961 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time, &num_tasks), in TEST_P()
988 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time1, &num_tasks)); in TEST_P()
991 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time2, &num_tasks), in TEST_P()
1012 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time1, &num_tasks), in TEST_P()
1015 FROM_HERE, BindOnce(&RecordRunTimeFunc, &run_time2, &num_tasks), in TEST_P()
1055 FROM_HERE, BindOnce(&RecordDeletionProbe::Run, post_on_delete_)); in ~RecordDeletionProbe()
1073 FROM_HERE, BindOnce(&RecordDeletionProbe::Run, in TEST_P()
1078 BindOnce(&RecordDeletionProbe::Run, in TEST_P()
1101 BindOnce(&RecordDeletionProbe::Run, c)); in TEST_P()
1114 BindOnce(&NestingFunc, depth)); in NestingFunc()
1129 BindOnce(&NestingFunc, &depth)); in TEST_P()
1140 FROM_HERE, BindOnce(&RecursiveFunc, &order, 1, 2, false)); in TEST_P()
1142 FROM_HERE, BindOnce(&RecursiveFunc, &order, 2, 2, false)); in TEST_P()
1144 BindOnce(&QuitFunc, &order, 3)); in TEST_P()
1189 FROM_HERE, BindOnce(&RecursiveSlowFunc, &order, 1, 2, false)); in TEST_P()
1191 FROM_HERE, BindOnce(&RecursiveSlowFunc, &order, 2, 2, false)); in TEST_P()
1193 FROM_HERE, BindOnce(&OrderedFunc, &order, 3), in TEST_P()
1196 FROM_HERE, BindOnce(&QuitFunc, &order, 4), in TEST_P()
1226 FROM_HERE, BindOnce(&RecursiveFunc, &order, 1, 2, true)); in TEST_P()
1228 FROM_HERE, BindOnce(&RecursiveFunc, &order, 2, 2, true)); in TEST_P()
1230 BindOnce(&QuitFunc, &order, 3)); in TEST_P()
1259 FROM_HERE, BindOnce(&OrderedFunc, &order, 1)); in TEST_P()
1261 BindOnce(&OrderedFunc, &order, 2)); in TEST_P()
1263 BindOnce(&QuitFunc, &order, 3)); in TEST_P()
1299 BindOnce(&FuncThatPumps, &order, 1)); in TEST_P()
1301 FROM_HERE, BindOnce(&OrderedFunc, &order, 2)); in TEST_P()
1303 BindOnce(&OrderedFunc, &order, 3)); in TEST_P()
1306 BindOnce(&SleepFunc, &order, 4, TimeDelta::FromMilliseconds(50))); in TEST_P()
1308 BindOnce(&OrderedFunc, &order, 5)); in TEST_P()
1310 FROM_HERE, BindOnce(&QuitFunc, &order, 6)); in TEST_P()
1356 FROM_HERE, BindOnce(&FuncThatRuns, &order, 1, Unretained(&run_loop))); in TEST_P()
1358 BindOnce(&OrderedFunc, &order, 2)); in TEST_P()
1360 BindOnce(&FuncThatQuitsNow)); in TEST_P()
1362 BindOnce(&OrderedFunc, &order, 3)); in TEST_P()
1364 BindOnce(&FuncThatQuitsNow)); in TEST_P()
1366 FROM_HERE, BindOnce(&OrderedFunc, &order, 4)); // never runs in TEST_P()
1392 BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in TEST_P()
1396 BindOnce(&OrderedFunc, &order, 2)); in TEST_P()
1422 BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in TEST_P()
1426 BindOnce(&OrderedFunc, &order, 2)); in TEST_P()
1464 FROM_HERE, BindOnce(&QuitAndRunNestedLoop, &order, 1, &outer_run_loop, in TEST_P()
1488 BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_run_loop))); in TEST_P()
1492 BindOnce(&OrderedFunc, &order, 2)); in TEST_P()
1522 FROM_HERE, BindOnce(&FuncThatRuns, &order, 1, Unretained(&nested_loop1))); in TEST_P()
1524 FROM_HERE, BindOnce(&FuncThatRuns, &order, 2, Unretained(&nested_loop2))); in TEST_P()
1526 FROM_HERE, BindOnce(&FuncThatRuns, &order, 3, Unretained(&nested_loop3))); in TEST_P()
1528 FROM_HERE, BindOnce(&FuncThatRuns, &order, 4, Unretained(&nested_loop4))); in TEST_P()
1530 BindOnce(&OrderedFunc, &order, 5)); in TEST_P()
1534 BindOnce(&OrderedFunc, &order, 6)); in TEST_P()
1538 BindOnce(&OrderedFunc, &order, 7)); in TEST_P()
1542 BindOnce(&OrderedFunc, &order, 8)); in TEST_P()
1546 BindOnce(&OrderedFunc, &order, 9)); in TEST_P()
1550 BindOnce(&OrderedFunc, &order, 10)); in TEST_P()
1588 FROM_HERE, BindOnce(&OrderedFunc, &order, 1)); // never runs in TEST_P()
1590 FROM_HERE, BindOnce(&FuncThatQuitsNow)); // never runs in TEST_P()
1606 BindOnce(&OrderedFunc, &order, 1)); in TEST_P()
1609 FROM_HERE, BindOnce(&OrderedFunc, &order, 2)); // never runs in TEST_P()
1611 FROM_HERE, BindOnce(&FuncThatQuitsNow)); // never runs in TEST_P()
1631 FROM_HERE, BindOnce(&FuncThatRuns, &order, 1, Unretained(&run_loop))); in TEST_P()
1633 BindOnce(&OrderedFunc, &order, 2)); in TEST_P()
1635 BindOnce(&FuncThatQuitsNow)); in TEST_P()
1637 BindOnce(&OrderedFunc, &order, 3)); in TEST_P()
1641 BindOnce(&OrderedFunc, &order, 4)); in TEST_P()
1643 BindOnce(&FuncThatQuitsNow)); in TEST_P()
1681 BindOnce(&PostNTasksThenQuit, kNumTimes)); in TEST_P()
1697 BindOnce( in TEST_P()
1711 BindOnce( in TEST_P()
1719 BindOnce( in TEST_P()
1744 BindOnce( in TEST_P()
1763 BindOnce( in TEST_P()
1819 BindOnce( in TEST_P()
1843 BindOnce( in TEST_P()
1879 BindOnce(&PostNTasksThenQuit, kNumPosts)); in TEST_P()
1908 BindOnce( in TEST_P()
1923 BindOnce( in TEST_P()
2001 BindOnce(&DestructionObserverProbe::Run, in TEST_P()
2021 FROM_HERE, BindOnce(&Foo::Test1ConstRef, foo, a)); in TEST_P()
2025 FROM_HERE, BindOnce(&RunLoop::QuitCurrentWhenIdleDeprecated)); in TEST_P()
2046 base::BindOnce(&EmptyFunction)); in PostMultipleTasks()
2048 base::BindOnce(&EmptyFunction)); in PostMultipleTasks()
2077 base::BindOnce(&PostMultipleTasks)); in TestWndProcThunk()
2081 FROM_HERE, base::BindOnce(&PostWindowsMessage, hwnd)); in TestWndProcThunk()
2089 FROM_HERE, base::BindOnce(&EndTest, &did_run, hwnd)); in TestWndProcThunk()
2148 original_runner->PostTask(FROM_HERE, BindOnce(&Foo::Test1ConstRef, foo, "a")); in TEST_P()
2189 BindOnce(&SequenceLocalStorageSlot<int>::Set, Unretained(&slot), 11)); in TEST_P()
2192 FROM_HERE, BindOnce( in TEST_P()
2211 BindOnce(&SequenceLocalStorageSlot<int>::Set, Unretained(&slot), 11)); in TEST_P()
2219 FROM_HERE, BindOnce( in TEST_P()
2249 FROM_HERE, BindOnce([](std::unique_ptr<PostTaskOnDestroy>) {}, in PostTaskWithPostingDestructor()