Home
last modified time | relevance | path

Searched refs:new_task (Results 1 - 6 of 6) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
H A Dtest_tasks.py92 def new_task(self, loop, coro, name='TestTask', context=None): member in BaseTaskTests
101 self.loop.set_task_factory(self.new_task)
112 t = self.new_task(self.loop, coro())
127 t = self.new_task(self.loop, coro())
147 self.new_task(self.loop, run()) for _ in range(100)
178 t = self.new_task(self.loop, notmuch())
187 t = self.new_task(loop, notmuch())
247 t_orig = self.new_task(self.loop, notmuch())
344 t = self.new_task(self.loop, gen)
366 t = self.new_task(sel
2806 def new_task(self, coro): global() member in BaseCurrentLoopTests
2830 def new_task(self, coro): global() member in PyCurrentLoopTests
2838 def new_task(self, coro): global() member in CCurrentLoopTests
[all...]
/third_party/libabigail/tests/
H A Dtest-read-ctf.cc500 new_task(const InOutSpec* s, string& a_out_abi_base, in new_task() function
523 return run_tests(num_tests, in_out_specs, opts, new_task); in main()
H A Dtest-read-dwarf.cc669 new_task(const InOutSpec* s, string& a_out_abi_base, in new_task() function
692 return run_tests(num_tests, in_out_specs, opts, new_task); in main()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-engine.cc1099 auto new_task = std::make_unique<LogCodesTask>( in LogCode() local
1101 info->log_codes_task = new_task.get(); in LogCode()
1102 info->foreground_task_runner->PostTask(std::move(new_task)); in LogCode()
1574 auto new_task = std::make_unique<WasmGCForegroundTask>(isolate); in TriggerGC() local
1575 gc_task = new_task.get(); in TriggerGC()
1578 std::move(new_task)); in TriggerGC()
H A Dmodule-compiler.cc2424 auto new_task = std::make_unique<CompileTask>(this, true); in StartForegroundTask() local
2425 pending_foreground_task_ = new_task.get(); in StartForegroundTask()
2426 foreground_task_runner_->PostTask(std::move(new_task)); in StartForegroundTask()
2432 auto new_task = std::make_unique<CompileTask>(this, true); in ExecuteForegroundTaskImmediately() local
2433 pending_foreground_task_ = new_task.get(); in ExecuteForegroundTaskImmediately()
2434 new_task->Run(); in ExecuteForegroundTaskImmediately()
/third_party/python/Lib/asyncio/
H A Dbase_events.py631 new_task = not futures.isfuture(future)
633 if new_task:
642 if new_task and future.done() and not future.cancelled():

Completed in 15 milliseconds