Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dsymtable.py5 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/
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/cpython2/Include/
Dsymtable.h78 #define SCOPE_MASK 7 macro
/external/python/cpython3/Include/
Dsymtable.h103 #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.c106 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.c379 return (PyLong_AS_LONG(v) >> SCOPE_OFFSET) & SCOPE_MASK; in PyST_GetScope()
Dcompile.c467 scope = (vi >> SCOPE_OFFSET) & SCOPE_MASK; in dictbytype()