Searched refs:PyGenObject (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Objects/ |
D | genobject.c | 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() [all …]
|
/external/python/cpython3/Objects/ |
D | genobject.c | 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() [all …]
|
/external/python/cpython3/Include/ |
D | genobject.h | 34 } PyGenObject; typedef 44 PyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *); 47 PyAPI_FUNC(PyObject *) _PyGen_Send(PyGenObject *, PyObject *); 48 PyObject *_PyGen_yf(PyGenObject *);
|
/external/python/cpython2/Include/ |
D | genobject.h | 27 } PyGenObject; typedef 35 PyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *);
|
/external/python/cpython2/Doc/c-api/ |
D | gen.rst | 13 .. c:type:: PyGenObject
|
/external/python/cpython3/Doc/c-api/ |
D | gen.rst | 13 .. c:type:: PyGenObject
|
/external/python/cpython2/Modules/ |
D | gcmodule.c | 513 return PyGen_NeedsFinalizing((PyGenObject *)op); in has_finalizer()
|
/external/python/cpython3/Python/ |
D | ceval.c | 1758 PyObject *yf = _PyGen_yf((PyGenObject*)iter); in _PyEval_EvalFrameDefault() 1787 retval = _PyGen_Send((PyGenObject *)receiver, v); in _PyEval_EvalFrameDefault()
|
/external/python/cpython3/Modules/ |
D | _asynciomodule.c | 2558 result = _PyGen_Send((PyGenObject*)coro, Py_None); in task_step_impl()
|
D | _testcapimodule.c | 4333 PyGenObject *gen; in raise_SIGINT_then_send_None()
|