Home
last modified time | relevance | path

Searched refs:task_runner (Results 1 – 25 of 56) sorted by relevance

123

/third_party/cef/libcef/common/
Dtask_runner_impl.cc23 scoped_refptr<base::SingleThreadTaskRunner> task_runner = in GetForCurrentThread() local
25 if (task_runner.get()) in GetForCurrentThread()
26 return new CefTaskRunnerImpl(task_runner); in GetForCurrentThread()
32 scoped_refptr<base::SingleThreadTaskRunner> task_runner = in GetForThread() local
34 if (task_runner.get()) in GetForThread()
35 return new CefTaskRunnerImpl(task_runner); in GetForThread()
44 scoped_refptr<base::SingleThreadTaskRunner> task_runner) in CefTaskRunnerImpl() argument
45 : task_runner_(task_runner) { in CefTaskRunnerImpl()
97 scoped_refptr<base::SingleThreadTaskRunner> task_runner; in GetCurrentTaskRunner() local
106 task_runner = base::CreateSingleThreadTaskRunner( in GetCurrentTaskRunner()
[all …]
Dtask_impl.cc13 scoped_refptr<base::SequencedTaskRunner> task_runner = in CefCurrentlyOn() local
15 if (task_runner.get()) { in CefCurrentlyOn()
16 return task_runner->RunsTasksInCurrentSequence(); in CefCurrentlyOn()
24 scoped_refptr<base::SequencedTaskRunner> task_runner = in CefPostTask() local
26 if (task_runner.get()) { in CefPostTask()
27 return task_runner->PostTask(FROM_HERE, in CefPostTask()
38 scoped_refptr<base::SequencedTaskRunner> task_runner = in CefPostDelayedTask() local
40 if (task_runner.get()) { in CefPostDelayedTask()
41 return task_runner->PostDelayedTask( in CefPostDelayedTask()
/third_party/flutter/engine/flutter/shell/common/
Dshell_unittests.cc85 auto task_runner = thread_host.platform_thread->GetTaskRunner(); in TEST_F() local
86 TaskRunners task_runners("test", task_runner, task_runner, task_runner, in TEST_F()
87 task_runner); in TEST_F()
99 auto task_runner = fml::MessageLoop::GetCurrent().GetTaskRunner(); in TEST_F() local
100 TaskRunners task_runners("test", task_runner, task_runner, task_runner, in TEST_F()
101 task_runner); in TEST_F()
580 auto task_runner = GetThreadTaskRunner(); in TEST_F() local
581 TaskRunners task_runners("test", task_runner, task_runner, task_runner, in TEST_F()
582 task_runner); in TEST_F()
595 task_runner->PostTask([&shell, &event] { in TEST_F()
[all …]
Dpersistent_cache.cc195 fml::RefPtr<fml::TaskRunner> task_runner) { in AddWorkerTaskRunner() argument
197 worker_task_runners_.insert(task_runner); in AddWorkerTaskRunner()
201 fml::RefPtr<fml::TaskRunner> task_runner) { in RemoveWorkerTaskRunner() argument
203 auto found = worker_task_runners_.find(task_runner); in RemoveWorkerTaskRunner()
Dpersistent_cache.h39 void AddWorkerTaskRunner(fml::RefPtr<fml::TaskRunner> task_runner);
41 void RemoveWorkerTaskRunner(fml::RefPtr<fml::TaskRunner> task_runner);
/third_party/flutter/engine/flutter/runtime/
Ddart_isolate_unittests.cc155 fml::RefPtr<fml::TaskRunner> task_runner, in RunDartCodeInIsolate() argument
158 FML_CHECK(task_runner->RunsTasksOnCurrentThread()); in RunDartCodeInIsolate()
165 task_runner, // in RunDartCodeInIsolate()
166 task_runner, // in RunDartCodeInIsolate()
167 task_runner, // in RunDartCodeInIsolate()
168 task_runner // in RunDartCodeInIsolate()
193 std::make_unique<AutoIsolateShutdown>(weak_isolate.lock(), task_runner); in RunDartCodeInIsolate()
264 fml::RefPtr<fml::TaskRunner> task_runner, in RunDartCodeInIsolate() argument
270 task_runner, fml::MakeCopyable([&]() mutable { in RunDartCodeInIsolate()
271 RunDartCodeInIsolate(vm_ref, result, settings, task_runner, entrypoint, in RunDartCodeInIsolate()
Ddart_lifecycle_unittests.cc48 fml::RefPtr<fml::TaskRunner> task_runner, in CreateAndRunRootIsolate() argument
51 TaskRunners runners("io.flutter.test", task_runner, task_runner, task_runner, in CreateAndRunRootIsolate()
52 task_runner); in CreateAndRunRootIsolate()
Ddart_isolate.cc212 if (auto task_runner = task_runners.GetGPUTaskRunner()) { in UpdateThreadPoolNames() local
213 task_runner->PostTask( in UpdateThreadPoolNames()
219 if (auto task_runner = task_runners.GetUITaskRunner()) { in UpdateThreadPoolNames() local
220 task_runner->PostTask( in UpdateThreadPoolNames()
226 if (auto task_runner = task_runners.GetIOTaskRunner()) { in UpdateThreadPoolNames() local
227 task_runner->PostTask( in UpdateThreadPoolNames()
233 if (auto task_runner = task_runners.GetPlatformTaskRunner()) { in UpdateThreadPoolNames() local
234 task_runner->PostTask( in UpdateThreadPoolNames()
/third_party/gn/src/gn/
Dscheduler.cc42 task_runner()->PostTask([this, verb, msg]() { LogOnMainThread(verb, msg); }); in Log()
55 task_runner()->PostTask([this, err]() { FailWithErrorOnMainThread(err); }); in FailWithError()
152 task_runner()->PostTask([this]() { OnComplete(); }); in DecrementWorkCount()
170 task_runner()->PostQuit(); in FailWithErrorOnMainThread()
175 DCHECK(task_runner() == MsgLoop::Current()); in OnComplete()
176 task_runner()->PostQuit(); in OnComplete()
Dloader.h95 void set_task_runner(MsgLoop* task_runner) { task_runner_ = task_runner; } in set_task_runner() argument
/third_party/node/test/cctest/
Dtest_platform.cc26 std::shared_ptr<v8::TaskRunner> task_runner = in Run() local
28 task_runner->PostTask(std::make_unique<RepostingTask>( in Run()
48 std::shared_ptr<v8::TaskRunner> task_runner = in TEST_F() local
50 task_runner->PostTask( in TEST_F()
/third_party/flutter/engine/flutter/flow/
Dskia_gpu_object.cc11 SkiaUnrefQueue::SkiaUnrefQueue(fml::RefPtr<fml::TaskRunner> task_runner, in SkiaUnrefQueue() argument
13 : task_runner_(std::move(task_runner)), in SkiaUnrefQueue()
/third_party/cef/tests/ceftests/
Dthread_helper.cc22 void WaitForThread(CefRefPtr<CefTaskRunner> task_runner, int64 delay_ms) { in WaitForThread() argument
25 task_runner->PostDelayedTask( in WaitForThread()
/third_party/cef/libcef/browser/
Drequest_context_impl.cc240 scoped_refptr<base::SingleThreadTaskRunner> task_runner, in GetBrowserContext() argument
242 if (!task_runner.get()) in GetBrowserContext()
243 task_runner = CefTaskRunnerImpl::GetCurrentTaskRunner(); in GetBrowserContext()
247 scoped_refptr<base::SingleThreadTaskRunner> task_runner, in GetBrowserContext()
254 if (task_runner->BelongsToCurrentThread()) { in GetBrowserContext()
259 task_runner->PostTask( in GetBrowserContext()
264 CefRefPtr<CefRequestContextImpl>(this), task_runner, in GetBrowserContext()
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/framework/Source/
Dvsync_waiter_ios.mm20 - (instancetype)initWithTaskRunner:(fml::RefPtr<fml::TaskRunner>)task_runner
72 - (instancetype)initWithTaskRunner:(fml::RefPtr<fml::TaskRunner>)task_runner
83 task_runner->PostTask([client = [self retain]]() {
/third_party/cef/libcef/renderer/alloy/
Dalloy_content_renderer_client.cc246 auto task_runner = base::SequencedTaskRunnerHandle::Get(); in ExposeInterfacesToBrowser() local
250 task_runner); in ExposeInterfacesToBrowser()
252 binders->Add(visited_link_slave_->GetBindCallback(), task_runner); in ExposeInterfacesToBrowser()
261 task_runner); in ExposeInterfacesToBrowser()
/third_party/grpc/tools/internal_ci/linux/
Dgrpc_distribtests_standalone.sh23 tools/run_tests/task_runner.py -f distribtest linux cpp -j 6
Dgrpc_build_artifacts.sh29 tools/run_tests/task_runner.py -f artifact linux -j 6
Dgrpc_build_artifacts_extra.sh29 tools/run_tests/task_runner.py -f artifact linux_extra armv7 -j 6
Dgrpc_distribtests.sh35 tools/run_tests/task_runner.py -f distribtest linux -j 6
Dgrpc_build_packages.sh36 tools/run_tests/task_runner.py -f package linux -j 6
/third_party/grpc/tools/internal_ci/macos/
Dgrpc_distribtests.sh28 tools/run_tests/task_runner.py -f distribtest macos || FAILED="true"
/third_party/flutter/engine/flutter/lib/ui/painting/
Dimage_decoder_unittests.cc20 TestIOManager(fml::RefPtr<fml::TaskRunner> task_runner, in TestIOManager() argument
28 task_runner, in TestIOManager()
30 runner_(task_runner), in TestIOManager()
32 FML_CHECK(task_runner->RunsTasksOnCurrentThread()) in TestIOManager()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Drunner.cc148 [task_runner = loop_->dispatcher(), // in StartComponent()
151 async::PostTask(task_runner, [application_runner, application]() { in StartComponent()
/third_party/grpc/tools/run_tests/
DREADME.md47 # Artifacts & Packages (task_runner.py)
52 `tools/run_tests/task_runner.py -f python artifact linux x64` (build tasks with labels `python`, `a…

123