Home
last modified time | relevance | path

Searched refs:SCOPE_OFF (Results 1 – 5 of 5) 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/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.c313 return (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in PyST_GetScope()
542 flags |= (i << SCOPE_OFF); in update_symbols()
553 free_value = PyInt_FromLong(FREE << SCOPE_OFF); in update_symbols()
Dcompile.c392 scope = (PyInt_AS_LONG(v) >> SCOPE_OFF) & SCOPE_MASK; in dictbytype()