Home
last modified time | relevance | path

Searched refs:ste_symbols (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Python/
Dsymtable.c41 ste->ste_symbols = NULL; in ste_new()
45 ste->ste_symbols = PyDict_New(); in ste_new()
46 if (ste->ste_symbols == NULL) in ste_new()
102 Py_XDECREF(ste->ste_symbols); in ste_dealloc()
113 {"symbols", T_OBJECT, OFF(ste_symbols), READONLY},
311 PyObject *v = PyDict_GetItem(ste->ste_symbols, name); in PyST_GetScope()
669 while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) { in analyze_block()
714 if (!update_symbols(ste->ste_symbols, scope, bound, newfree, in analyze_block()
860 st->st_global = st->st_cur->ste_symbols; in symtable_enter_block()
877 o = PyDict_GetItem(st->st_cur->ste_symbols, mangled); in symtable_lookup()
[all …]
Dcompile.c485 u->u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, 0, 0); in compiler_enter_scope()
491 u->u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS, in compiler_enter_scope()
1244 PyString_AS_STRING(PyObject_Repr(c->u->u_ste->ste_symbols)), in get_ref_type()
/external/python/cpython3/Python/
Dsymtable.c59 ste->ste_symbols = NULL; in ste_new()
85 ste->ste_symbols = PyDict_New(); in ste_new()
88 if (ste->ste_symbols == NULL in ste_new()
116 Py_XDECREF(ste->ste_symbols); in ste_dealloc()
128 {"symbols", T_OBJECT, OFF(ste_symbols), READONLY},
375 PyObject *v = PyDict_GetItem(ste->ste_symbols, name); in PyST_GetScope()
764 while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) { in analyze_block()
834 if (!update_symbols(ste->ste_symbols, scopes, bound, newfree, in analyze_block()
955 st->st_global = st->st_cur->ste_symbols; in symtable_enter_block()
971 o = PyDict_GetItem(st->st_cur->ste_symbols, mangled); in symtable_lookup()
[all …]
Dcompile.c564 u->u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, 0, 0); in compiler_enter_scope()
594 u->u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS, in compiler_enter_scope()
1580 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_ste->ste_symbols)), in get_ref_type()
/external/python/cpython2/Include/
Dsymtable.h28 PyObject *ste_symbols; /* dict: name to flags */ member
/external/python/cpython3/Include/
Dsymtable.h40 PyObject *ste_symbols; /* dict: variable names to flags */ member