Searched refs:DEF_GLOBAL (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Include/ |
D | symtable.h | 90 #define DEF_GLOBAL 1 /* global stmt */ macro 108 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
|
/external/python/cpython2/Include/ |
D | symtable.h | 63 #define DEF_GLOBAL 1 /* global stmt */ macro
|
/external/python/cpython3/Python/ |
D | symtable.c | 501 if (flags & DEF_GLOBAL) { in analyze_name() 672 PyLong_AS_LONG(v) & (DEF_BOUND | DEF_GLOBAL)) { in update_symbols() 1048 if (val & (DEF_GLOBAL | DEF_NONLOCAL)) { in symtable_add_def_helper() 1070 } else if (flag & DEF_GLOBAL) { in symtable_add_def_helper() 1239 if ((cur & (DEF_GLOBAL | DEF_NONLOCAL)) in symtable_visit_stmt() 1243 cur & DEF_GLOBAL ? GLOBAL_ANNOT : NONLOCAL_ANNOT, in symtable_visit_stmt() 1345 if (!symtable_add_def(st, name, DEF_GLOBAL)) in symtable_visit_stmt() 1468 if (target_in_scope & DEF_GLOBAL) { in symtable_extend_namedexpr_scope() 1469 if (!symtable_add_def(st, target_name, DEF_GLOBAL)) in symtable_extend_namedexpr_scope() 1482 if (!symtable_add_def(st, target_name, DEF_GLOBAL)) in symtable_extend_namedexpr_scope() [all …]
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 62 PyModule_AddIntConstant(m, "DEF_GLOBAL", DEF_GLOBAL); in init_symtable()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 98 PyModule_AddIntMacro(m, DEF_GLOBAL); in PyInit__symtable()
|
/external/python/cpython2/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM,
|
/external/python/cpython3/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_NONLOCAL, DEF_LOCAL, DEF_PARAM,
|
/external/python/cpython2/Python/ |
D | symtable.c | 379 if (flags & DEF_GLOBAL) { in analyze_name() 570 PyInt_AS_LONG(o) & (DEF_BOUND | DEF_GLOBAL)) { in update_symbols() 920 } else if (flag & DEF_GLOBAL) { in symtable_add_def() 1165 if (!symtable_add_def(st, name, DEF_GLOBAL)) in symtable_visit_stmt()
|