Searched refs:compiler_enter_scope (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Python/ |
D | compile.c | 149 static int compiler_enter_scope(struct compiler *, identifier, void *, int); 464 compiler_enter_scope(struct compiler *c, identifier name, void *key, in compiler_enter_scope() function 1193 if (!compiler_enter_scope(c, module, mod, 0)) in compiler_mod() 1367 if (!compiler_enter_scope(c, s->v.FunctionDef.name, (void *)s, in compiler_function() 1423 if (!compiler_enter_scope(c, s->v.ClassDef.name, (void *)s, in compiler_class() 1508 if (!compiler_enter_scope(c, name, (void *)e, e->lineno)) in compiler_lambda() 2750 if (!compiler_enter_scope(c, name, (void *)e, e->lineno)) in compiler_comprehension()
|
/external/python/cpython3/Python/ |
D | compile.c | 166 static int compiler_enter_scope(struct compiler *, identifier, int, void *, int); 540 compiler_enter_scope(struct compiler *c, identifier name, in compiler_enter_scope() function 1523 if (!compiler_enter_scope(c, module, COMPILER_SCOPE_MODULE, mod, 0)) in compiler_mod() 1922 if (!compiler_enter_scope(c, name, scope_type, (void *)s, s->lineno)) { in compiler_function() 1988 if (!compiler_enter_scope(c, s->v.ClassDef.name, in compiler_class() 2261 if (!compiler_enter_scope(c, name, COMPILER_SCOPE_LAMBDA, in compiler_lambda() 4040 if (!compiler_enter_scope(c, name, COMPILER_SCOPE_COMPREHENSION, in compiler_comprehension()
|