Home
last modified time | relevance | path

Searched refs:PyGenObject (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Objects/
Dgenobject.c11 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/
Dgenobject.c12 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()
[all …]
/external/python/cpython3/Include/
Dgenobject.h34 } PyGenObject; typedef
46 PyAPI_FUNC(PyObject *) _PyGen_Send(PyGenObject *, PyObject *);
47 PyObject *_PyGen_yf(PyGenObject *);
/external/python/cpython2/Include/
Dgenobject.h27 } PyGenObject; typedef
35 PyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *);
/external/python/cpython2/Doc/c-api/
Dgen.rst13 .. c:type:: PyGenObject
/external/python/cpython3/Doc/c-api/
Dgen.rst13 .. c:type:: PyGenObject
/external/python/cpython2/Modules/
Dgcmodule.c513 return PyGen_NeedsFinalizing((PyGenObject *)op); in has_finalizer()
/external/python/cpython3/Modules/
D_asynciomodule.c2683 result = _PyGen_Send((PyGenObject*)coro, Py_None); in task_step_impl()
D_testcapimodule.c4791 PyGenObject *gen; in raise_SIGINT_then_send_None()
/external/python/cpython3/Python/
Dceval.c2172 PyObject *yf = _PyGen_yf((PyGenObject*)iter); in _PyEval_EvalFrameDefault()
2200 retval = _PyGen_Send((PyGenObject *)receiver, v); in _PyEval_EvalFrameDefault()