Searched refs:DEF_PARAM (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Include/internal/ |
D | pycore_symtable.h | 96 #define DEF_PARAM 2<<1 /* formal parameter */ macro 105 #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT) 112 #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, 167 self.__params = self.__idents_matching(lambda x:x & DEF_PARAM) 245 return bool(self.__flags & DEF_PARAM)
|
/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()
|
/external/python/cpython3/Python/ |
D | symtable.c | 1048 if ((flag & DEF_PARAM) && (val & DEF_PARAM)) { in symtable_add_def_helper() 1089 if (flag & DEF_PARAM) { in symtable_add_def_helper() 1366 if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) { in symtable_visit_stmt() 1368 if (cur & DEF_PARAM) { in symtable_visit_stmt() 1402 if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) { in symtable_visit_stmt() 1404 if (cur & DEF_PARAM) { in symtable_visit_stmt() 1798 if (!symtable_add_def(st, id, DEF_PARAM, ST_LOCATION(st->st_cur))) { in symtable_implicit_arg() 1816 if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg))) in symtable_visit_params() 1900 if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg))) in symtable_visit_arguments() 1905 if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg))) 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 | 83 if (PyModule_AddIntMacro(m, DEF_PARAM) < 0) return -1; in symtable_init_constants()
|