• Home
  • Raw
  • Download

Lines Matching refs:PyGenObject

9 static PyObject *gen_close(PyGenObject *, PyObject *);
29 gen_traverse(PyGenObject *gen, visitproc visit, void *arg) in gen_traverse()
43 PyGenObject *gen = (PyGenObject *)self; in _PyGen_Finalize()
116 gen_dealloc(PyGenObject *gen) in gen_dealloc()
152 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) in gen_send_ex()
289 _PyGen_Send(PyGenObject *gen, PyObject *arg) in _PyGen_Send()
309 retval = gen_close((PyGenObject *)yf, NULL); in gen_close_iter()
330 _PyGen_yf(PyGenObject *gen) in _PyGen_yf()
357 gen_close(PyGenObject *gen, PyObject *args) in gen_close()
397 _gen_throw(PyGenObject *gen, int close_on_genexit, in _gen_throw()
426 ret = _gen_throw((PyGenObject *)yf, close_on_genexit, in _gen_throw()
525 gen_throw(PyGenObject *gen, PyObject *args) in gen_throw()
540 gen_iternext(PyGenObject *gen) in gen_iternext()
640 gen_repr(PyGenObject *gen) in gen_repr()
647 gen_get_name(PyGenObject *op, void *Py_UNUSED(ignored)) in gen_get_name()
654 gen_set_name(PyGenObject *op, PyObject *value, void *Py_UNUSED(ignored)) in gen_set_name()
669 gen_get_qualname(PyGenObject *op, void *Py_UNUSED(ignored)) in gen_get_qualname()
676 gen_set_qualname(PyGenObject *op, PyObject *value, void *Py_UNUSED(ignored)) in gen_set_qualname()
691 gen_getyieldfrom(PyGenObject *gen, void *Py_UNUSED(ignored)) in gen_getyieldfrom()
710 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), READONLY},
711 {"gi_running", T_BOOL, offsetof(PyGenObject, gi_running), READONLY},
712 {"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), READONLY},
726 sizeof(PyGenObject), /* tp_basicsize */
750 offsetof(PyGenObject, gi_weakreflist), /* tp_weaklistoffset */
781 PyGenObject *gen = PyObject_GC_New(PyGenObject, type); in gen_new_with_qualname()
823 PyGen_NeedsFinalizing(PyGenObject *gen) in PyGen_NeedsFinalizing()
851 PyCodeObject *code = (PyCodeObject *)((PyGenObject*)o)->gi_code; in gen_is_coroutine()
932 PyObject *yf = _PyGen_yf((PyGenObject *) coro); in coro_get_cr_await()
1044 return gen_send_ex((PyGenObject *)cw->cw_coroutine, NULL, 0, 0); in coro_wrapper_iternext()
1050 return gen_send_ex((PyGenObject *)cw->cw_coroutine, arg, 0, 0); in coro_wrapper_send()
1056 return gen_throw((PyGenObject *)cw->cw_coroutine, args); in coro_wrapper_throw()
1062 return gen_close((PyGenObject *)cw->cw_coroutine, args); in coro_wrapper_close()
1247 return gen_traverse((PyGenObject*)gen, visit, arg); in async_gen_traverse()
1547 result = gen_send_ex((PyGenObject*)o->ags_gen, arg, 0, 0); in async_gen_asend_send()
1575 result = gen_throw((PyGenObject*)o->ags_gen, args); in async_gen_asend_throw()
1799 PyGenObject *gen = (PyGenObject*)o->agt_gen; in async_gen_athrow_send()
1826 retval = _gen_throw((PyGenObject *)gen, in async_gen_athrow_send()
1845 retval = _gen_throw((PyGenObject *)gen, in async_gen_athrow_send()
1859 retval = gen_send_ex((PyGenObject *)gen, arg, 0, 0); in async_gen_athrow_send()
1918 retval = gen_throw((PyGenObject*)o->agt_gen, args); in async_gen_athrow_throw()