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.c152 gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) in gen_send_ex() function
291 return gen_send_ex(gen, arg, 0, 0); in _PyGen_Send()
371 retval = gen_send_ex(gen, Py_None, 1, 1); in gen_close()
418 return gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
456 ret = gen_send_ex(gen, val, 0, 0); in _gen_throw()
459 ret = gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
513 return gen_send_ex(gen, Py_None, 1, 0); in _gen_throw()
542 return gen_send_ex(gen, NULL, 0, 0); in gen_iternext()
1044 return gen_send_ex((PyGenObject *)cw->cw_coroutine, NULL, 0, 0); in coro_wrapper_iternext()
1050 return gen_send_ex((PyGenObject *)cw->cw_coroutine, arg, 0, 0); in coro_wrapper_send()
[all …]