Searched refs:current_task (Results 1 – 13 of 13) 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/python/cpython3/Lib/asyncio/ |
D | tasks.py | 34 def current_task(loop=None): function 117 def current_task(cls, loop=None): member in Task 130 return current_task(loop) 930 current_task = _current_tasks.get(loop) 931 if current_task is not None: 938 current_task = _current_tasks.get(loop) 939 if current_task is not task:
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_tasks.py | 1649 self.assertIsNone(Task.current_task(loop=self.loop)) 1653 self.assertIs(Task.current_task(loop=loop), task) 1659 self.assertIs(Task.current_task(None), task) 1661 self.assertIs(Task.current_task(), task) 1668 self.assertIsNone(Task.current_task(loop=self.loop)) 1671 self.assertIsNone(asyncio.current_task(loop=self.loop)) 1674 self.assertIs(asyncio.current_task(loop=loop), task) 1676 self.assertIs(asyncio.current_task(None), task) 1677 self.assertIs(asyncio.current_task(), task) 1681 self.assertIsNone(asyncio.current_task(loop=self.loop)) [all …]
|
/external/python/cpython3/Doc/library/ |
D | asyncio-api-index.rst | 42 * - :func:`current_task`
|
D | asyncio-task.rst | 649 .. function:: current_task(loop=None) 911 .. classmethod:: current_task(loop=None) 921 :func:`asyncio.current_task` function instead.
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a4.rst | 513 Implement ``asyncio.current_task()`` and ``asyncio.all_tasks()``. Add 516 and ``asyncio._unregister_task``. Deprecate ``asyncio.Task.current_task()``
|
D | 3.6.1rc1.rst | 261 Fix Task.current_task and Task.all_tasks implemented in C to accept None
|
D | 3.7.0a1.rst | 3326 Fix Task.current_task and Task.all_tasks implemented in C to accept None
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.7.rst | 663 * The new :func:`asyncio.current_task` function returns the currently running 666 The :meth:`Task.current_task() <asyncio.Task.current_task>` and 1953 The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks`
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 18 _Py_IDENTIFIER(current_task);
|
/external/python/cpython3/Misc/ |
D | HISTORY | 2931 - Added a Task.current_task() class method to asyncio.
|