Home
last modified time | relevance | path

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

/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/cpython3/Python/
Dsymtable.c65 ste->ste_type = block; in ste_new()
77 st->st_cur->ste_type == FunctionBlock)) in ste_new()
132 {"type", T_INT, OFF(ste_type), READONLY},
749 if (ste->ste_type == ClassBlock) { in analyze_block()
772 if (ste->ste_type != ClassBlock) { in analyze_block()
774 if (ste->ste_type == FunctionBlock) { in analyze_block()
829 if (ste->ste_type == FunctionBlock && !analyze_cells(scopes, newfree)) in analyze_block()
831 else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree)) in analyze_block()
835 ste->ste_type == ClassBlock)) in analyze_block()
1492 st->st_cur->ste_type == FunctionBlock && in symtable_visit_expr()
[all …]
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()
3214 op = (c->u->u_ste->ste_type == ClassBlock) ? LOAD_CLASSDEREF : LOAD_DEREF; 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()
/external/python/cpython2/Include/
Dsymtable.h32 _Py_block_ty ste_type; /* module, class, or function */ member
/external/python/cpython3/Include/
Dsymtable.h45 _Py_block_ty ste_type; /* module, class, or function */ member