Home
last modified time | relevance | path

Searched refs:SCOPE_OFF (Results 1 – 6 of 6) 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,
175 test = lambda x: ((x >> SCOPE_OFF) & SCOPE_MASK) in locs
184 test = lambda x:((x >> SCOPE_OFF) & SCOPE_MASK) in glob
199 is_free = lambda x:((x >> SCOPE_OFF) & SCOPE_MASK) == FREE
224 self.__scope = (flags >> SCOPE_OFF) & SCOPE_MASK # like PyST_GetScope()
/external/python/cpython2/Include/
Dsymtable.h77 #define SCOPE_OFF 11 macro
/external/python/cpython2/Modules/
Dsymtablemodule.c84 PyModule_AddIntConstant(m, "SCOPE_OFF", SCOPE_OFF); in init_symtable()
/external/python/cpython2/Python/
Dsymtable.c315 return (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in PyST_GetScope()
544 flags |= (i << SCOPE_OFF); in update_symbols()
555 free_value = PyInt_FromLong(FREE << SCOPE_OFF); in update_symbols()
Dcompile.c392 scope = (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in dictbytype()