Lines Matching refs:PyGenObject
12 static PyObject *gen_close(PyGenObject *, PyObject *);
32 gen_traverse(PyGenObject *gen, visitproc visit, void *arg) in gen_traverse()
46 PyGenObject *gen = (PyGenObject *)self; in _PyGen_Finalize()
104 gen_dealloc(PyGenObject *gen) in gen_dealloc()
140 gen_send_ex2(PyGenObject *gen, PyObject *arg, PyObject **presult, in gen_send_ex2()
270 PyGen_am_send(PyGenObject *gen, PyObject *arg, PyObject **result) in PyGen_am_send()
276 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) in gen_send_ex()
300 gen_send(PyGenObject *gen, PyObject *arg) in gen_send()
320 retval = gen_close((PyGenObject *)yf, NULL); in gen_close_iter()
341 _PyGen_yf(PyGenObject *gen) in _PyGen_yf()
369 gen_close(PyGenObject *gen, PyObject *args) in gen_close()
410 _gen_throw(PyGenObject *gen, int close_on_genexit, in _gen_throw()
450 ret = _gen_throw((PyGenObject *)yf, close_on_genexit, in _gen_throw()
553 gen_throw(PyGenObject *gen, PyObject *args) in gen_throw()
568 gen_iternext(PyGenObject *gen) in gen_iternext()
676 gen_repr(PyGenObject *gen) in gen_repr()
683 gen_get_name(PyGenObject *op, void *Py_UNUSED(ignored)) in gen_get_name()
690 gen_set_name(PyGenObject *op, PyObject *value, void *Py_UNUSED(ignored)) in gen_set_name()
705 gen_get_qualname(PyGenObject *op, void *Py_UNUSED(ignored)) in gen_get_qualname()
712 gen_set_qualname(PyGenObject *op, PyObject *value, void *Py_UNUSED(ignored)) in gen_set_qualname()
727 gen_getyieldfrom(PyGenObject *gen, void *Py_UNUSED(ignored)) in gen_getyieldfrom()
737 gen_getrunning(PyGenObject *gen, void *Py_UNUSED(ignored)) in gen_getrunning()
757 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), READONLY|PY_AUDIT_READ},
758 {"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), READONLY|PY_AUDIT_READ},
780 sizeof(PyGenObject), /* tp_basicsize */
803 offsetof(PyGenObject, gi_weakreflist), /* tp_weaklistoffset */
834 PyGenObject *gen = PyObject_GC_New(PyGenObject, type); in gen_new_with_qualname()
885 PyCodeObject *code = (PyCodeObject *)((PyGenObject*)o)->gi_code; in gen_is_coroutine()
966 PyObject *yf = _PyGen_yf((PyGenObject *) coro); in coro_get_cr_await()
1087 return gen_iternext((PyGenObject *)cw->cw_coroutine); in coro_wrapper_iternext()
1093 return gen_send((PyGenObject *)cw->cw_coroutine, arg); in coro_wrapper_send()
1099 return gen_throw((PyGenObject *)cw->cw_coroutine, args); in coro_wrapper_throw()
1105 return gen_close((PyGenObject *)cw->cw_coroutine, args); in coro_wrapper_close()
1274 return gen_traverse((PyGenObject*)gen, visit, arg); in async_gen_traverse()
1607 result = gen_send((PyGenObject*)o->ags_gen, arg); in async_gen_asend_send()
1637 result = gen_throw((PyGenObject*)o->ags_gen, args); in async_gen_asend_throw()
1880 PyGenObject *gen = (PyGenObject*)o->agt_gen; in async_gen_athrow_send()
1931 retval = _gen_throw((PyGenObject *)gen, in async_gen_athrow_send()
1950 retval = _gen_throw((PyGenObject *)gen, in async_gen_athrow_send()
1964 retval = gen_send((PyGenObject *)gen, arg); in async_gen_athrow_send()
2022 retval = gen_throw((PyGenObject*)o->agt_gen, args); in async_gen_athrow_throw()