Home
last modified time | relevance | path

Searched refs:new_task (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py86 def new_task(self, loop, coro): member in BaseTaskTests
95 self.loop.set_task_factory(self.new_task)
109 self.new_task(self.loop, run()) for _ in range(100)
141 t = self.new_task(self.loop, notmuch())
150 t = self.new_task(loop, notmuch())
197 t_orig = self.new_task(self.loop, notmuch())
288 t = self.new_task(self.loop, gen)
310 t = self.new_task(self.loop, notmuch())
362 t = self.new_task(self.loop, gen)
385 task = self.new_task(self.loop, wait_for(fut))
[all …]
/external/toolchain-utils/bestflags/
Dsteering.py110 for new_task in new_generation.Pool():
111 result_queue.put(new_task)
112 cache.add(new_task)
Dhill_climb_best_neighbor.py101 new_task = Task(FlagSet(next_flag.values()))
103 if new_task not in cache:
104 children_tasks.add(new_task)
Diterative_elimination.py156 new_task = task.Task(flag_set)
157 if new_task not in cache:
158 results.add(new_task)
Dtesting_batch.py125 new_task = GATask(new_flag)
127 if new_task in tasks:
130 tasks.add(new_task)
/external/adhd/cras/src/server/
Dcras_server.c310 struct system_task *new_task; in add_task() local
316 new_task = (struct system_task *)calloc(1, sizeof(*new_task)); in add_task()
317 if (new_task == NULL) in add_task()
320 new_task->callback = cb; in add_task()
321 new_task->callback_data = callback_data; in add_task()
323 DL_APPEND(serv->system_tasks, new_task); in add_task()
/external/v8/src/wasm/
Dmodule-compiler.cc2313 auto new_task = base::make_unique<CompileTask>(this, true); in StartForegroundTask() local
2314 pending_foreground_task_ = new_task.get(); in StartForegroundTask()
2315 foreground_task_runner_->PostTask(std::move(new_task)); in StartForegroundTask()
2321 auto new_task = base::make_unique<CompileTask>(this, true); in ExecuteForegroundTaskImmediately() local
2322 pending_foreground_task_ = new_task.get(); in ExecuteForegroundTaskImmediately()
2323 new_task->Run(); in ExecuteForegroundTaskImmediately()
/external/python/cpython3/Lib/asyncio/
Dbase_events.py562 new_task = not futures.isfuture(future)
564 if new_task:
573 if new_task and future.done() and not future.cancelled():