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/
Dtest_tasks.py111 def new_task(self, loop, coro, name='TestTask'): member in BaseTaskTests
120 self.loop.set_task_factory(self.new_task)
126 t = self.new_task(self.loop, coro())
139 t = self.new_task(self.loop, coro())
157 self.new_task(self.loop, run()) for _ in range(100)
188 t = self.new_task(self.loop, notmuch())
197 t = self.new_task(loop, notmuch())
298 t_orig = self.new_task(self.loop, notmuch())
397 t = self.new_task(self.loop, gen)
419 t = self.new_task(self.loop, notmuch())
[all …]
/third_party/libabigail/tests/
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()
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/
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()
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/
Dbase_events.py619 new_task = not futures.isfuture(future)
621 if new_task:
630 if new_task and future.done() and not future.cancelled():