Home
last modified time | relevance | path

Searched refs:FunctionBlock (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Include/
Dsymtable.h8 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
/external/python/cpython3/Include/
Dsymtable.h13 typedef enum _block_type { FunctionBlock, ClassBlock, ModuleBlock } enumerator
/external/python/cpython2/Modules/
Dsymtablemodule.c70 PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock); in init_symtable()
/external/python/cpython3/Modules/
Dsymtablemodule.c95 PyModule_AddIntConstant(m, "TYPE_FUNCTION", FunctionBlock); in PyInit__symtable()
/external/python/cpython2/Python/
Dsymtable.c69 st->st_cur->ste_type == FunctionBlock)) in ste_new()
488 if (ste->ste_type != FunctionBlock || !ste->ste_unoptimized in check_unoptimized()
677 if (ste->ste_type == FunctionBlock) { in analyze_block()
712 if (ste->ste_type == FunctionBlock && !analyze_cells(scope, newfree)) in analyze_block()
1018 FunctionBlock, (void *)s, s->lineno)) in symtable_visit_stmt()
1209 FunctionBlock, (void *)e, e->lineno)) in symtable_visit_expr()
1514 !symtable_enter_block(st, scope_name, FunctionBlock, (void *)e, 0)) { in symtable_handle_comprehension()
Dcompile.c2089 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_stmt()
2341 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop()
2345 if (c->u->u_ste->ste_type == FunctionBlock && in compiler_nameop()
3010 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr()
3773 if (ste->ste_type == FunctionBlock) { in compute_code_flags()
/external/python/cpython3/Python/
Dsymtable.c77 st->st_cur->ste_type == FunctionBlock)) in ste_new()
774 if (ste->ste_type == FunctionBlock) { in analyze_block()
829 if (ste->ste_type == FunctionBlock && !analyze_cells(scopes, newfree)) in analyze_block()
1132 FunctionBlock, (void *)s, s->lineno, in symtable_visit_stmt()
1349 FunctionBlock, (void *)s, s->lineno, in symtable_visit_stmt()
1400 FunctionBlock, (void *)e, e->lineno, in symtable_visit_expr()
1492 st->st_cur->ste_type == FunctionBlock && in symtable_visit_expr()
1717 !symtable_enter_block(st, scope_name, FunctionBlock, (void *)e, in symtable_handle_comprehension()
Dcompile.c2985 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_stmt()
3192 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop()
3196 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop()
4430 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr()
4441 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr()
4453 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr()
5345 if (ste->ste_type == FunctionBlock) { in compute_code_flags()