Searched refs:DEF_PARAM (Results 1 – 4 of 4) sorted by relevance
/third_party/python/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)
|
/third_party/python/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)
|
/third_party/python/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()
|
/third_party/python/Modules/ |
D | symtablemodule.c | 83 if (PyModule_AddIntMacro(m, DEF_PARAM) < 0) return -1; in symtable_init_constants()
|