Searched refs:ste_symbols (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Python/ |
D | symtable.c | 41 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 …]
|
D | compile.c | 485 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/cpython2/Include/ |
D | symtable.h | 28 PyObject *ste_symbols; /* dict: name to flags */ member
|
/external/python/cpython3/Python/ |
D | symtable.c | 67 ste->ste_symbols = NULL; in ste_new() 96 ste->ste_symbols = PyDict_New(); in ste_new() 99 if (ste->ste_symbols == NULL in ste_new() 127 Py_XDECREF(ste->ste_symbols); in ste_dealloc() 139 {"symbols", T_OBJECT, OFF(ste_symbols), READONLY}, 395 PyObject *v = PyDict_GetItem(ste->ste_symbols, name); in _PyST_GetSymbol() 794 while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) { in analyze_block() 864 if (!update_symbols(ste->ste_symbols, scopes, bound, newfree, in analyze_block() 992 st->st_global = st->st_cur->ste_symbols; in symtable_enter_block() 1023 dict = ste->ste_symbols; in symtable_add_def_helper() [all …]
|
D | compile.c | 580 u->u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, 0, 0); in compiler_enter_scope() 604 u->u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS, in compiler_enter_scope() 1882 PyUnicode_AsUTF8(PyObject_Repr(c->u->u_ste->ste_symbols)), in get_ref_type()
|
/external/python/cpython3/Include/ |
D | symtable.h | 41 PyObject *ste_symbols; /* dict: variable names to flags */ member
|