Searched refs:SCOPE_MASK (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/ |
D | symtable.py | 6 SCOPE_OFF, SCOPE_MASK, FREE, GLOBAL_IMPLICIT, GLOBAL_EXPLICIT, CELL, LOCAL) 138 test = lambda x: ((x >> SCOPE_OFF) & SCOPE_MASK) in locs 145 test = lambda x:((x >> SCOPE_OFF) & SCOPE_MASK) in glob 151 is_free = lambda x:((x >> SCOPE_OFF) & SCOPE_MASK) == FREE 174 self.__scope = (flags >> SCOPE_OFF) & SCOPE_MASK # like PyST_GetScope()
|
/external/python/cpython3/Lib/ |
D | symtable.py | 5 DEF_IMPORT, DEF_BOUND, DEF_ANNOT, SCOPE_OFF, SCOPE_MASK, FREE, 132 test = lambda x: ((x >> SCOPE_OFF) & SCOPE_MASK) in locs 139 test = lambda x:((x >> SCOPE_OFF) & SCOPE_MASK) in glob 150 is_free = lambda x:((x >> SCOPE_OFF) & SCOPE_MASK) == FREE 173 self.__scope = (flags >> SCOPE_OFF) & SCOPE_MASK # like PyST_GetScope()
|
/external/python/cpython2/Include/ |
D | symtable.h | 78 #define SCOPE_MASK 7 macro
|
/external/python/cpython3/Include/ |
D | symtable.h | 108 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL) macro
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 85 PyModule_AddIntConstant(m, "SCOPE_MASK", SCOPE_MASK); in init_symtable()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 119 PyModule_AddIntMacro(m, SCOPE_MASK); in PyInit__symtable()
|
/external/python/cpython2/Python/ |
D | symtable.c | 315 return (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in PyST_GetScope()
|
D | compile.c | 392 scope = (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in dictbytype()
|
/external/python/cpython3/Python/ |
D | symtable.c | 406 return (symbol >> SCOPE_OFFSET) & SCOPE_MASK; in PyST_GetScope()
|
D | compile.c | 486 scope = (vi >> SCOPE_OFFSET) & SCOPE_MASK; in dictbytype()
|