Home
last modified time | relevance | path

Searched refs:SCOPE_MASK (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/
Dsymtable.py6 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/
Dsymtable.py5 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/
Dsymtable.h78 #define SCOPE_MASK 7 macro
/external/python/cpython3/Include/
Dsymtable.h108 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL) macro
/external/python/cpython2/Modules/
Dsymtablemodule.c85 PyModule_AddIntConstant(m, "SCOPE_MASK", SCOPE_MASK); in init_symtable()
/external/python/cpython3/Modules/
Dsymtablemodule.c119 PyModule_AddIntMacro(m, SCOPE_MASK); in PyInit__symtable()
/external/python/cpython2/Python/
Dsymtable.c315 return (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in PyST_GetScope()
Dcompile.c392 scope = (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in dictbytype()
/external/python/cpython3/Python/
Dsymtable.c406 return (symbol >> SCOPE_OFFSET) & SCOPE_MASK; in PyST_GetScope()
Dcompile.c486 scope = (vi >> SCOPE_OFFSET) & SCOPE_MASK; in dictbytype()