Home
last modified time | relevance | path

Searched refs:gi_running (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Objects/
Dgenobject.c51 if (gen->gi_running) { in gen_send_ex()
84 gen->gi_running = 1; in gen_send_ex()
86 gen->gi_running = 0; in gen_send_ex()
319 {"gi_running", T_INT, offsetof(PyGenObject, gi_running), RO},
393 gen->gi_running = 0; in PyGen_New()
/external/python/cpython3/Objects/
Dgenobject.c158 if (gen->gi_running) { in gen_send_ex()
218 gen->gi_running = 1; in gen_send_ex()
224 gen->gi_running = 0; in gen_send_ex()
364 gen->gi_running = 1; in gen_close()
366 gen->gi_running = 0; in gen_close()
413 gen->gi_running = 1; in _gen_throw()
415 gen->gi_running = 0; in _gen_throw()
423 gen->gi_running = 1; in _gen_throw()
428 gen->gi_running = 0; in _gen_throw()
440 gen->gi_running = 1; in _gen_throw()
[all …]
/external/python/cpython3/Lib/asyncio/
Dcoroutines.py74 def gi_running(self): member in CoroWrapper
75 return self.gen.gi_running
216 return coro.gi_running
/external/python/cpython3/Lib/
Dtypes.py220 def gi_running(self): member in _GeneratorWrapper
221 return self.__wrapped.gi_running
227 cr_running = gi_running
Dinspect.py1628 if generator.gi_running:
/external/python/cpython2/Include/
Dgenobject.h20 int gi_running; member
/external/python/cpython3/Lib/test/
Dtest_types.py1458 gen.gi_running = object()
1462 self.assertIs(wrapper.gi_running, gen.gi_running)
1466 self.assertIs(wrapper.cr_running, gen.gi_running)
Dtest_yield_from.py946 self.assertTrue(g1.gi_running)
/external/python/cpython2/Doc/library/
Dinspect.rst102 | | gi_running | set to 1 when generator | |
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py1852 self.assertTrue(gen.gi_running)
1865 self.assertFalse(gen.gi_running)
/external/python/cpython3/Doc/library/
Dinspect.rst197 | | gi_running | is the generator running? |
/external/python/cpython3/Misc/
DHISTORY8003 yield from syntax, it needs to have its ``gi_running`` flag set to True.