Home
last modified time | relevance | path

Searched refs:ste_type (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Python/
Dsymtable.c73 ste->ste_type = block; in ste_new()
85 st->st_cur->ste_type == FunctionBlock)) in ste_new()
143 {"type", T_INT, OFF(ste_type), READONLY},
779 if (ste->ste_type == ClassBlock) { in analyze_block()
802 if (ste->ste_type != ClassBlock) { in analyze_block()
804 if (ste->ste_type == FunctionBlock) { in analyze_block()
859 if (ste->ste_type == FunctionBlock && !analyze_cells(scopes, newfree)) in analyze_block()
861 else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree)) in analyze_block()
865 ste->ste_type == ClassBlock)) in analyze_block()
1466 if (ste->ste_type == FunctionBlock) { in symtable_extend_namedexpr_scope()
[all …]
Dcompile.c45 && (c->u->u_ste->ste_type == ModuleBlock))
2899 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_return()
3586 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop()
3590 if (c->u->u_ste->ste_type == FunctionBlock) in compiler_nameop()
3608 op = (c->u->u_ste->ste_type == ClassBlock) ? LOAD_CLASSDEREF : LOAD_DEREF; in compiler_nameop()
5027 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr1()
5038 if (c->u->u_ste->ste_type != FunctionBlock) in compiler_visit_expr1()
5051 if (c->u->u_ste->ste_type != FunctionBlock){ in compiler_visit_expr1()
5838 if (ste->ste_type == FunctionBlock) { in compute_code_flags()
/external/python/cpython2/Python/
Dsymtable.c57 ste->ste_type = block; in ste_new()
69 st->st_cur->ste_type == FunctionBlock)) in ste_new()
118 {"type", T_INT, OFF(ste_type), READONLY},
488 if (ste->ste_type != FunctionBlock || !ste->ste_unoptimized in check_unoptimized()
661 if (ste->ste_type == ClassBlock) { in analyze_block()
676 if (ste->ste_type != ClassBlock) { in analyze_block()
677 if (ste->ste_type == FunctionBlock) { in analyze_block()
712 if (ste->ste_type == FunctionBlock && !analyze_cells(scope, newfree)) in analyze_block()
715 ste->ste_type == ClassBlock)) in analyze_block()
1429 if (st->st_cur->ste_type != ModuleBlock && in symtable_visit_alias()
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()
3771 if (ste->ste_type != ModuleBlock) in compute_code_flags()
3773 if (ste->ste_type == FunctionBlock) { in compute_code_flags()
/external/python/cpython2/Include/
Dsymtable.h32 _Py_block_ty ste_type; /* module, class, or function */ member
/external/python/cpython3/Include/
Dsymtable.h46 _Py_block_ty ste_type; /* module, class, or function */ member