Lines Matching refs:prev_task
1990 PyObject *prev_task; in swap_current_task_lock_held() local
1991 if (_PyDict_GetItemRef_KnownHash_LockHeld(current_tasks, loop, hash, &prev_task) < 0) { in swap_current_task_lock_held()
1995 Py_XDECREF(prev_task); in swap_current_task_lock_held()
1998 if (prev_task == NULL) { in swap_current_task_lock_held()
2001 return prev_task; in swap_current_task_lock_held()
2007 PyObject *prev_task; in swap_current_task() local
2010 if (PyDict_Pop(state->current_tasks, loop, &prev_task) < 0) { in swap_current_task()
2013 if (prev_task == NULL) { in swap_current_task()
2016 return prev_task; in swap_current_task()
2026 prev_task = swap_current_task_lock_held(current_tasks, loop, hash, task); in swap_current_task()
2028 return prev_task; in swap_current_task()