Home
last modified time | relevance | path

Searched refs:f_stacktop (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Objects/
Dgenobject.c30 if (gen->gi_frame != NULL && gen->gi_frame->f_stacktop != NULL) { in gen_dealloc()
56 if (f==NULL || f->f_stacktop == NULL) { in gen_send_ex()
74 *(f->f_stacktop++) = result; in gen_send_ex()
98 if (result == Py_None && f->f_stacktop == NULL) { in gen_send_ex()
106 if (!result || f->f_stacktop == NULL) { in gen_send_ex()
157 if (gen->gi_frame == NULL || gen->gi_frame->f_stacktop == NULL) in gen_del()
405 if (f == NULL || f->f_stacktop == NULL || f->f_iblock <= 0) in PyGen_NeedsFinalizing()
Dframeobject.c151 if (f->f_stacktop == NULL) { in frame_setlineno()
370 while ((f->f_stacktop - f->f_valuestack) > b->b_level) { in frame_setlineno()
371 PyObject *v = (*--f->f_stacktop); in frame_setlineno()
376 PyObject *v = (*--f->f_stacktop); in frame_setlineno()
497 if (f->f_stacktop != NULL) { in frame_dealloc()
498 for (p = valuestack; p < f->f_stacktop; p++) in frame_dealloc()
549 if (f->f_stacktop != NULL) { in frame_traverse()
550 for (p = f->f_valuestack; p < f->f_stacktop; p++) in frame_traverse()
567 oldtop = f->f_stacktop; in frame_clear()
568 f->f_stacktop = NULL; in frame_clear()
[all …]
/external/python/cpython3/Objects/
Dframeobject.c294 PyObject *v = (*--f->f_stacktop); in frame_stack_pop()
304 intptr_t delta = (f->f_stacktop - f->f_valuestack) - b->b_level; in frame_block_unwind()
369 if (f->f_stacktop == NULL) { in frame_setlineno()
583 if (f->f_stacktop != NULL) { in frame_dealloc()
584 for (p = valuestack; p < f->f_stacktop; p++) in frame_dealloc()
639 if (f->f_stacktop != NULL) { in frame_traverse()
640 for (PyObject **p = f->f_valuestack; p < f->f_stacktop; p++) { in frame_traverse()
655 PyObject **oldtop = f->f_stacktop; in frame_tp_clear()
656 f->f_stacktop = NULL; in frame_tp_clear()
889 f->f_stacktop = f->f_valuestack; in _PyFrame_New_NoTrack()
Dgenobject.c50 if (gen->gi_frame == NULL || gen->gi_frame->f_stacktop == NULL) { in _PyGen_Finalize()
157 if (f == NULL || f->f_stacktop == NULL) { in gen_send_ex()
197 *(f->f_stacktop++) = result; in gen_send_ex()
228 if (result && f->f_stacktop == NULL) { in gen_send_ex()
266 if (!result || f->f_stacktop == NULL) { in gen_send_ex()
329 if (f && f->f_stacktop) { in _PyGen_yf()
343 yf = f->f_stacktop[-1]; in _PyGen_yf()
453 ret = *(--gen->gi_frame->f_stacktop); in _gen_throw()
1807 if (f == NULL || f->f_stacktop == NULL) { in async_gen_athrow_send()
/external/python/cpython3/Include/cpython/
Dframeobject.h28 PyObject **f_stacktop; member
/external/python/cpython2/Include/
Dframeobject.h27 PyObject **f_stacktop; member
/external/python/cpython3/Python/
Dceval.c1329 stack_pointer = f->f_stacktop; in _PyEval_EvalFrameDefault()
1331 f->f_stacktop = NULL; /* remains NULL unless yield suspends frame */ in _PyEval_EvalFrameDefault()
1420 f->f_stacktop = stack_pointer; in _PyEval_EvalFrameDefault()
1428 if (f->f_stacktop != NULL) { in _PyEval_EvalFrameDefault()
1429 stack_pointer = f->f_stacktop; in _PyEval_EvalFrameDefault()
1430 f->f_stacktop = NULL; in _PyEval_EvalFrameDefault()
2222 f->f_stacktop = stack_pointer; in _PyEval_EvalFrameDefault()
2242 f->f_stacktop = stack_pointer; in _PyEval_EvalFrameDefault()
/external/python/cpython2/Python/
Dceval.c1044 stack_pointer = f->f_stacktop; in PyEval_EvalFrameEx()
1046 f->f_stacktop = NULL; /* remains NULL unless yield suspends frame */ in PyEval_EvalFrameEx()
1155 f->f_stacktop = stack_pointer; in PyEval_EvalFrameEx()
1163 if (f->f_stacktop != NULL) { in PyEval_EvalFrameEx()
1164 stack_pointer = f->f_stacktop; in PyEval_EvalFrameEx()
1165 f->f_stacktop = NULL; in PyEval_EvalFrameEx()
2106 f->f_stacktop = stack_pointer; in PyEval_EvalFrameEx()