Searched refs:SCOPE_MASK (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/ |
D | symtable.py | 5 DEF_IMPORT, DEF_BOUND, DEF_ANNOT, SCOPE_OFF, SCOPE_MASK, FREE, 133 test = lambda x: ((x >> SCOPE_OFF) & SCOPE_MASK) in locs 140 test = lambda x:((x >> SCOPE_OFF) & SCOPE_MASK) in glob 146 is_free = lambda x:((x >> SCOPE_OFF) & SCOPE_MASK) == FREE 169 self.__scope = (flags >> SCOPE_OFF) & SCOPE_MASK # like PyST_GetScope()
|
/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/cpython2/Include/ |
D | symtable.h | 78 #define SCOPE_MASK 7 macro
|
/external/python/cpython3/Include/ |
D | symtable.h | 103 #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 | 106 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 | 379 return (PyLong_AS_LONG(v) >> SCOPE_OFFSET) & SCOPE_MASK; in PyST_GetScope()
|
D | compile.c | 467 scope = (vi >> SCOPE_OFFSET) & SCOPE_MASK; in dictbytype()
|