Searched refs:current_task (Results 1 – 9 of 9) sorted by relevance
/external/google-breakpad/src/client/mac/handler/ |
D | exception_handler.cc | 434 mach_port_t current_task = mach_task_self(); in ForwardException() local 435 task_get_exception_ports(current_task, in ForwardException() 669 mach_port_t current_task = mach_task_self(); in InstallHandler() local 670 kern_return_t result = task_get_exception_ports(current_task, in InstallHandler() 680 result = task_set_exception_ports(current_task, s_exception_mask, in InstallHandler() 703 mach_port_t current_task = mach_task_self(); in UninstallHandler() local 707 result = task_set_exception_ports(current_task, previous_->masks[i], in UninstallHandler() 736 mach_port_t current_task = mach_task_self(); in Setup() local 737 kern_return_t result = mach_port_allocate(current_task, in Setup() 742 result = mach_port_insert_right(current_task, handler_port_, handler_port_, in Setup() [all …]
|
/external/toolchain-utils/bestflags/ |
D | hill_climb_best_neighbor.py | 94 current_task = self._next_task 95 flag_set = current_task.GetFlags() 106 return [HillClimbingBestBranch(children_tasks, set([current_task]),
|
/external/google-breakpad/src/common/mac/ |
D | MachIPC.mm | 168 mach_port_t current_task = mach_task_self(); 170 init_result_ = mach_port_allocate(current_task, 177 init_result_ = mach_port_insert_right(current_task, 186 init_result_ = task_get_bootstrap_port(current_task, &task_bootstrap_port); 200 mach_port_t current_task = mach_task_self(); 202 init_result_ = mach_port_allocate(current_task, 209 init_result_ = mach_port_insert_right(current_task,
|
/external/valgrind/none/tests/darwin/ |
D | bug254164.c | 53 if (task_for_pid(current_task(), getpid(), &task) != KERN_SUCCESS) in main()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_tasks.py | 1459 self.assertIsNone(Task.current_task(loop=self.loop)) 1463 self.assertTrue(Task.current_task(loop=loop) is task) 1468 self.assertIs(Task.current_task(None), task) 1469 self.assertIs(Task.current_task(), task) 1475 self.assertIsNone(Task.current_task(loop=self.loop)) 1480 self.assertIsNone(Task.current_task(loop=self.loop)) 1487 self.assertTrue(Task.current_task(loop=loop) is task1) 1489 self.assertTrue(Task.current_task(loop=loop) is task1) 1494 self.assertTrue(Task.current_task(loop=loop) is task2) 1497 self.assertTrue(Task.current_task(loop=loop) is task2) [all …]
|
/external/python/cpython3/Lib/asyncio/ |
D | tasks.py | 47 def current_task(cls, loop=None): member in Task
|
/external/python/cpython3/Doc/library/ |
D | asyncio-task.rst | 396 .. classmethod:: current_task(loop=None)
|
/external/python/cpython3/Misc/ |
D | NEWS | 120 - bpo-29271: Fix Task.current_task and Task.all_tasks implemented in C
|
D | HISTORY | 2931 - Added a Task.current_task() class method to asyncio.
|