Searched refs:DEF_PARAM (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Include/ |
D | symtable.h | 92 #define DEF_PARAM 2<<1 /* formal parameter */ macro 101 #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT) 108 #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
|
/external/python/cpython2/Include/ |
D | symtable.h | 65 #define DEF_PARAM 2<<1 /* formal parameter */ macro 71 #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
|
/external/python/cpython2/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_LOCAL, DEF_PARAM, 132 self.__params = self.__idents_matching(lambda x:x & DEF_PARAM) 187 return bool(self.__flags & DEF_PARAM)
|
/external/python/cpython3/Lib/ |
D | symtable.py | 4 from _symtable import (USE, DEF_GLOBAL, DEF_NONLOCAL, DEF_LOCAL, DEF_PARAM, 126 self.__params = self.__idents_matching(lambda x:x & DEF_PARAM) 187 return bool(self.__flags & DEF_PARAM)
|
/external/python/cpython3/Python/ |
D | symtable.c | 1026 if ((flag & DEF_PARAM) && (val & DEF_PARAM)) { in symtable_add_def_helper() 1067 if (flag & DEF_PARAM) { in symtable_add_def_helper() 1327 if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) { in symtable_visit_stmt() 1329 if (cur & DEF_PARAM) { in symtable_visit_stmt() 1360 if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) { in symtable_visit_stmt() 1362 if (cur & DEF_PARAM) { in symtable_visit_stmt() 1677 if (!symtable_add_def(st, id, DEF_PARAM)) { in symtable_implicit_arg() 1695 if (!symtable_add_def(st, arg->arg, DEF_PARAM)) in symtable_visit_params() 1750 if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM)) in symtable_visit_arguments() 1755 if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM)) in symtable_visit_arguments()
|
/external/python/cpython2/Modules/ |
D | symtablemodule.c | 64 PyModule_AddIntConstant(m, "DEF_PARAM", DEF_PARAM); in init_symtable()
|
/external/python/cpython3/Modules/ |
D | symtablemodule.c | 101 PyModule_AddIntMacro(m, DEF_PARAM); in PyInit__symtable()
|
/external/python/cpython2/Python/ |
D | symtable.c | 380 if (flags & DEF_PARAM) { in analyze_name() 897 if ((flag & DEF_PARAM) && (val & DEF_PARAM)) { in symtable_add_def() 917 if (flag & DEF_PARAM) { in symtable_add_def() 1307 if (!symtable_add_def(st, id, DEF_PARAM)) { in symtable_implicit_arg() 1326 if (!symtable_add_def(st, arg->v.Name.id, DEF_PARAM)) in symtable_visit_params() 1376 if (!symtable_add_def(st, a->vararg, DEF_PARAM)) in symtable_visit_arguments() 1381 if (!symtable_add_def(st, a->kwarg, DEF_PARAM)) in symtable_visit_arguments()
|