Home
last modified time | relevance | path

Searched refs:current_task (Results 1 – 9 of 9) sorted by relevance

/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc434 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/
Dhill_climb_best_neighbor.py94 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/
DMachIPC.mm168 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/
Dbug254164.c53 if (task_for_pid(current_task(), getpid(), &task) != KERN_SUCCESS) in main()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py1459 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/
Dtasks.py47 def current_task(cls, loop=None): member in Task
/external/python/cpython3/Doc/library/
Dasyncio-task.rst396 .. classmethod:: current_task(loop=None)
/external/python/cpython3/Misc/
DNEWS120 - bpo-29271: Fix Task.current_task and Task.all_tasks implemented in C
DHISTORY2931 - Added a Task.current_task() class method to asyncio.