Lines Matching refs:PyGenObject
11 gen_traverse(PyGenObject *gen, visitproc visit, void *arg) in gen_traverse()
19 gen_dealloc(PyGenObject *gen) in gen_dealloc()
45 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc) in gen_send_ex()
120 gen_send(PyGenObject *gen, PyObject *arg) in gen_send()
129 gen_close(PyGenObject *gen, PyObject *args) in gen_close()
155 PyGenObject *gen = (PyGenObject *)self; in gen_del()
218 gen_throw(PyGenObject *gen, PyObject *args) in gen_throw()
281 gen_iternext(PyGenObject *gen) in gen_iternext()
288 gen_repr(PyGenObject *gen) in gen_repr()
300 gen_get_name(PyGenObject *gen) in gen_get_name()
318 {"gi_frame", T_OBJECT, offsetof(PyGenObject, gi_frame), RO},
319 {"gi_running", T_INT, offsetof(PyGenObject, gi_running), RO},
320 {"gi_code", T_OBJECT, offsetof(PyGenObject, gi_code), RO},
334 sizeof(PyGenObject), /* tp_basicsize */
357 offsetof(PyGenObject, gi_weakreflist), /* tp_weaklistoffset */
385 PyGenObject *gen = PyObject_GC_New(PyGenObject, &PyGen_Type); in PyGen_New()
400 PyGen_NeedsFinalizing(PyGenObject *gen) in PyGen_NeedsFinalizing()