Searched refs:new_task (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_tasks.py | 88 def new_task(self, loop, coro, name='TestTask'): member in BaseTaskTests 97 self.loop.set_task_factory(self.new_task) 110 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()) 296 t = self.new_task(self.loop, gen) 318 t = self.new_task(self.loop, notmuch()) 329 t1 = self.new_task(self.loop, notmuch(), None) 330 t2 = self.new_task(self.loop, notmuch(), None) [all …]
|
/external/toolchain-utils/bestflags/ |
D | steering.py | 110 for new_task in new_generation.Pool(): 111 result_queue.put(new_task) 112 cache.add(new_task)
|
D | hill_climb_best_neighbor.py | 101 new_task = Task(FlagSet(next_flag.values())) 103 if new_task not in cache: 104 children_tasks.add(new_task)
|
D | iterative_elimination.py | 156 new_task = task.Task(flag_set) 157 if new_task not in cache: 158 results.add(new_task)
|
D | testing_batch.py | 125 new_task = GATask(new_flag) 127 if new_task in tasks: 130 tasks.add(new_task)
|
/external/adhd/cras/src/server/ |
D | cras_server.c | 335 struct system_task *new_task; in add_task() local 341 new_task = (struct system_task *)calloc(1, sizeof(*new_task)); in add_task() 342 if (new_task == NULL) in add_task() 345 new_task->callback = cb; in add_task() 346 new_task->callback_data = callback_data; in add_task() 348 DL_APPEND(serv->system_tasks, new_task); in add_task()
|
/external/v8/src/wasm/ |
D | wasm-engine.cc | 1003 auto new_task = std::make_unique<LogCodesTask>( in LogCode() local 1005 info->log_codes_task = new_task.get(); in LogCode() 1006 info->foreground_task_runner->PostTask(std::move(new_task)); in LogCode() 1358 auto new_task = std::make_unique<WasmGCForegroundTask>(isolate); in TriggerGC() local 1359 gc_task = new_task.get(); in TriggerGC() 1362 std::move(new_task)); in TriggerGC()
|
D | module-compiler.cc | 2087 auto new_task = std::make_unique<CompileTask>(this, true); in StartForegroundTask() local 2088 pending_foreground_task_ = new_task.get(); in StartForegroundTask() 2089 foreground_task_runner_->PostTask(std::move(new_task)); in StartForegroundTask() 2095 auto new_task = std::make_unique<CompileTask>(this, true); in ExecuteForegroundTaskImmediately() local 2096 pending_foreground_task_ = new_task.get(); in ExecuteForegroundTaskImmediately() 2097 new_task->Run(); in ExecuteForegroundTaskImmediately()
|
/external/python/cpython3/Lib/asyncio/ |
D | base_events.py | 590 new_task = not futures.isfuture(future) 592 if new_task: 601 if new_task and future.done() and not future.cancelled():
|