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.c140 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) in gen_send_ex() function
285 return gen_send_ex(gen, arg, 0, 0); in _PyGen_Send()
365 retval = gen_send_ex(gen, Py_None, 1, 1); in gen_close()
412 return gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
460 ret = gen_send_ex(gen, val, 0, 0); in _gen_throw()
463 ret = gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
517 return gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
546 return gen_send_ex(gen, NULL, 0, 0); in gen_iternext()
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()
[all …]