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.c127 if (f->f_stacktop == NULL) { in frame_setlineno()
355 while ((f->f_stacktop - f->f_valuestack) > b->b_level) { in frame_setlineno()
356 PyObject *v = (*--f->f_stacktop); in frame_setlineno()
363 PyObject *v = (*--f->f_stacktop); in frame_setlineno()
473 if (f->f_stacktop != NULL) { in frame_dealloc()
474 for (p = valuestack; p < f->f_stacktop; p++) in frame_dealloc()
519 if (f->f_stacktop != NULL) { in frame_traverse()
520 for (p = f->f_valuestack; p < f->f_stacktop; p++) in frame_traverse()
537 oldtop = f->f_stacktop; in frame_tp_clear()
538 f->f_stacktop = NULL; in frame_tp_clear()
[all …]
Dgenobject.c47 if (gen->gi_frame == NULL || gen->gi_frame->f_stacktop == NULL) { in _PyGen_Finalize()
169 if (f == NULL || f->f_stacktop == NULL) { in gen_send_ex()
209 *(f->f_stacktop++) = result; in gen_send_ex()
234 if (result && f->f_stacktop == NULL) { in gen_send_ex()
272 if (!result || f->f_stacktop == NULL) { in gen_send_ex()
335 if (f && f->f_stacktop) { in _PyGen_yf()
349 yf = f->f_stacktop[-1]; in _PyGen_yf()
449 ret = *(--gen->gi_frame->f_stacktop); in _gen_throw()
828 if (f == NULL || f->f_stacktop == NULL) in PyGen_NeedsFinalizing()
1803 if (f == NULL || f->f_stacktop == NULL || in async_gen_athrow_send()
/external/python/cpython2/Include/
Dframeobject.h27 PyObject **f_stacktop; member
/external/python/cpython3/Include/
Dframeobject.h28 PyObject **f_stacktop; member
/external/python/cpython3/Python/
Dceval.c908 stack_pointer = f->f_stacktop; in _PyEval_EvalFrameDefault()
910 f->f_stacktop = NULL; /* remains NULL unless yield suspends frame */ in _PyEval_EvalFrameDefault()
1020 f->f_stacktop = stack_pointer; in _PyEval_EvalFrameDefault()
1028 if (f->f_stacktop != NULL) { in _PyEval_EvalFrameDefault()
1029 stack_pointer = f->f_stacktop; in _PyEval_EvalFrameDefault()
1030 f->f_stacktop = NULL; in _PyEval_EvalFrameDefault()
1809 f->f_stacktop = stack_pointer; in _PyEval_EvalFrameDefault()
1830 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()