Home
last modified time | relevance | path

Searched refs:gen_send_ex (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dgenobject.c45 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc) in gen_send_ex() function
122 return gen_send_ex(gen, arg, 0); in gen_send()
133 retval = gen_send_ex(gen, Py_None, 1); in gen_close()
269 return gen_send_ex(gen, Py_None, 1); in gen_throw()
283 return gen_send_ex(gen, NULL, 0); in gen_iternext()
/external/python/cpython3/Objects/
Dgenobject.c122 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) in gen_send_ex() function
308 return gen_send_ex(gen, arg, 0, 0); in _PyGen_Send()
390 retval = gen_send_ex(gen, Py_None, 1, 1); in gen_close()
438 return gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
477 ret = gen_send_ex(gen, val, 0, 0); in _gen_throw()
480 ret = gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
534 return gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
563 return gen_send_ex(gen, NULL, 0, 0); in gen_iternext()
1061 return gen_send_ex((PyGenObject *)cw->cw_coroutine, NULL, 0, 0); in coro_wrapper_iternext()
1067 return gen_send_ex((PyGenObject *)cw->cw_coroutine, arg, 0, 0); in coro_wrapper_send()
[all …]