• Home
  • Raw
  • Download

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_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) in gen_send_ex()
283 _PyGen_Send(PyGenObject *gen, PyObject *arg) in _PyGen_Send()
303 retval = gen_close((PyGenObject *)yf, NULL); in gen_close_iter()
324 _PyGen_yf(PyGenObject *gen) in _PyGen_yf()
351 gen_close(PyGenObject *gen, PyObject *args) in gen_close()
391 _gen_throw(PyGenObject *gen, int close_on_genexit, in _gen_throw()
429 ret = _gen_throw((PyGenObject *)yf, close_on_genexit, in _gen_throw()
529 gen_throw(PyGenObject *gen, PyObject *args) in gen_throw()
544 gen_iternext(PyGenObject *gen) in gen_iternext()
644 gen_repr(PyGenObject *gen) in gen_repr()
651 gen_get_name(PyGenObject *op, void *Py_UNUSED(ignored)) in gen_get_name()
658 gen_set_name(PyGenObject *op, PyObject *value, void *Py_UNUSED(ignored)) in gen_set_name()
673 gen_get_qualname(PyGenObject *op, void *Py_UNUSED(ignored)) in gen_get_qualname()
680 gen_set_qualname(PyGenObject *op, PyObject *value, void *Py_UNUSED(ignored)) in gen_set_qualname()
695 gen_getyieldfrom(PyGenObject *gen, void *Py_UNUSED(ignored)) in gen_getyieldfrom()
714 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), READONLY},
715 {"gi_running", T_BOOL, offsetof(PyGenObject, gi_running), READONLY},
716 {"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), READONLY},
730 sizeof(PyGenObject), /* tp_basicsize */
753 offsetof(PyGenObject, gi_weakreflist), /* tp_weaklistoffset */
784 PyGenObject *gen = PyObject_GC_New(PyGenObject, type); in gen_new_with_qualname()
836 PyCodeObject *code = (PyCodeObject *)((PyGenObject*)o)->gi_code; in gen_is_coroutine()
917 PyObject *yf = _PyGen_yf((PyGenObject *) coro); in coro_get_cr_await()
1028 return gen_send_ex((PyGenObject *)cw->cw_coroutine, NULL, 0, 0); in coro_wrapper_iternext()
1034 return gen_send_ex((PyGenObject *)cw->cw_coroutine, arg, 0, 0); in coro_wrapper_send()
1040 return gen_throw((PyGenObject *)cw->cw_coroutine, args); in coro_wrapper_throw()
1046 return gen_close((PyGenObject *)cw->cw_coroutine, args); in coro_wrapper_close()
1231 return gen_traverse((PyGenObject*)gen, visit, arg); in async_gen_traverse()
1542 result = gen_send_ex((PyGenObject*)o->ags_gen, arg, 0, 0); in async_gen_asend_send()
1572 result = gen_throw((PyGenObject*)o->ags_gen, args); in async_gen_asend_throw()
1796 PyGenObject *gen = (PyGenObject*)o->agt_gen; in async_gen_athrow_send()
1847 retval = _gen_throw((PyGenObject *)gen, in async_gen_athrow_send()
1866 retval = _gen_throw((PyGenObject *)gen, in async_gen_athrow_send()
1880 retval = gen_send_ex((PyGenObject *)gen, arg, 0, 0); in async_gen_athrow_send()
1938 retval = gen_throw((PyGenObject*)o->agt_gen, args); in async_gen_athrow_throw()