Home
last modified time | relevance | path

Searched refs:st_stack (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Include/
Dsymtable.h18 PyObject *st_stack; /* stack of namespace info */ member
/external/python/cpython3/Include/
Dsymtable.h25 PyObject *st_stack; /* list: stack of namespace info */ member
/external/python/cpython2/Python/
Dsymtable.c208 if ((st->st_stack = PyList_New(0)) == NULL) in symtable_new()
282 Py_XDECREF(st->st_stack); in PySymtable_Free()
830 end = PyList_GET_SIZE(st->st_stack) - 1; in symtable_exit_block()
832 st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, in symtable_exit_block()
837 if (PySequence_DelItem(st->st_stack, end) < 0) in symtable_exit_block()
851 if (PyList_Append(st->st_stack, (PyObject *)st->st_cur) < 0) { in symtable_enter_block()
/external/python/cpython3/Python/
Dsymtable.c226 if ((st->st_stack = PyList_New(0)) == NULL) in symtable_new()
346 Py_XDECREF(st->st_stack); in PySymtable_Free()
927 size = PyList_GET_SIZE(st->st_stack); in symtable_exit_block()
929 if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0) in symtable_exit_block()
932 st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1); in symtable_exit_block()
946 if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) { in symtable_enter_block()