Lines Matching refs:rl
228 PyObject *rl;
233 rl = cached_running_holder; // borrowed
240 rl = _PyDict_GetItemIdWithError(
242 if (rl == NULL) {
251 cached_running_holder = rl; // borrowed
255 assert(Py_TYPE(rl) == &PyRunningLoopHolder_Type);
256 PyObject *running_loop = ((PyRunningLoopHolder *)rl)->rl_loop;
266 if (getpid() != ((PyRunningLoopHolder *)rl)->rl_pid) {
298 PyRunningLoopHolder *rl = new_running_loop_holder(loop);
299 if (rl == NULL) {
304 ts_dict, &PyId___asyncio_running_event_loop__, (PyObject *)rl) < 0)
306 Py_DECREF(rl); // will cleanup loop & current_pid
309 Py_DECREF(rl);
3134 PyRunningLoopHolder *rl = PyObject_New(
3136 if (rl == NULL) {
3141 rl->rl_pid = getpid();
3145 rl->rl_loop = loop;
3147 return rl;
3152 PyRunningLoopHolder_tp_dealloc(PyRunningLoopHolder *rl)
3154 Py_CLEAR(rl->rl_loop);
3155 PyObject_Free(rl);