Home
last modified time | relevance | path

Searched refs:comprehension_ty (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Python/
Dast_opt.c421 static int astfold_comprehension(comprehension_ty node_, PyArena *ctx_, int optimize_);
550 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.ListComp.generators); in astfold_expr()
554 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.SetComp.generators); in astfold_expr()
559 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.DictComp.generators); in astfold_expr()
563 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.GeneratorExp.generators); in astfold_expr()
649 astfold_comprehension(comprehension_ty node_, PyArena *ctx_, int optimize_) in astfold_comprehension()
Dsymtable.c192 static int symtable_visit_comprehension(struct symtable *st, comprehension_ty);
1663 symtable_visit_comprehension(struct symtable *st, comprehension_ty lc) in symtable_visit_comprehension()
1711 comprehension_ty outermost = ((comprehension_ty) in symtable_handle_comprehension()
Dast_unparse.c355 append_ast_comprehension(_PyUnicodeWriter *writer, comprehension_ty gen) in append_ast_comprehension()
379 APPEND(comprehension, (comprehension_ty)asdl_seq_GET(comprehensions, i)); in append_ast_comprehensions()
Dcompile.c3804 comprehension_ty gen; in compiler_comprehension_generator()
3805 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_comprehension_generator()
3823 comprehension_ty gen; in compiler_sync_comprehension_generator()
3836 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_sync_comprehension_generator()
3912 comprehension_ty gen; in compiler_async_comprehension_generator()
3934 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_async_comprehension_generator()
4033 comprehension_ty outermost; in compiler_comprehension()
4038 outermost = (comprehension_ty) asdl_seq_GET(generators, 0); in compiler_comprehension()
DPython-ast.c1180 static int obj2ast_comprehension(PyObject* obj, comprehension_ty* out, PyArena*
2437 comprehension_ty
2441 comprehension_ty p; in comprehension()
2452 p = (comprehension_ty)PyArena_Malloc(arena, sizeof(*p)); in comprehension()
3689 comprehension_ty o = (comprehension_ty)_o; in ast2obj_comprehension()
6171 comprehension_ty val; in obj2ast_expr()
6226 comprehension_ty val; in obj2ast_expr()
6295 comprehension_ty val; in obj2ast_expr()
6350 comprehension_ty val; in obj2ast_expr()
7596 obj2ast_comprehension(PyObject* obj, comprehension_ty* out, PyArena* arena) in obj2ast_comprehension()
Dast.c31 comprehension_ty comp = asdl_seq_GET(gens, i); in validate_comprehension()
1832 comprehension_ty comp; in ast_for_comprehension()
/external/python/cpython2/Python/
Dsymtable.c179 static int symtable_visit_comprehension(struct symtable *st, comprehension_ty);
1443 symtable_visit_comprehension(struct symtable *st, comprehension_ty lc) in symtable_visit_comprehension()
1508 comprehension_ty outermost = ((comprehension_ty) in symtable_handle_comprehension()
1563 comprehension_ty lc = (comprehension_ty)asdl_seq_GET(generators, i); in symtable_visit_listcomp()
DPython-ast.c979 static int obj2ast_comprehension(PyObject* obj, comprehension_ty* out, PyArena*
2038 comprehension_ty
2041 comprehension_ty p; in comprehension()
2052 p = (comprehension_ty)PyArena_Malloc(arena, sizeof(*p)); in comprehension()
3142 comprehension_ty o = (comprehension_ty)_o; in ast2obj_comprehension()
5198 comprehension_ty val; in obj2ast_expr()
5251 comprehension_ty val; in obj2ast_expr()
5317 comprehension_ty val; in obj2ast_expr()
5371 comprehension_ty val; in obj2ast_expr()
6409 obj2ast_comprehension(PyObject* obj, comprehension_ty* out, PyArena* arena) in obj2ast_comprehension()
Dcompile.c2582 comprehension_ty l; in compiler_listcomp_generator()
2595 l = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_listcomp_generator()
2662 comprehension_ty gen; in compiler_comprehension_generator()
2675 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_comprehension_generator()
2747 outermost_iter = ((comprehension_ty) in compiler_comprehension()
Dast.c1092 comprehension_ty lc; in ast_for_listcomp()
1234 comprehension_ty comp; in ast_for_comprehension()
/external/python/cpython2/Include/
DPython-ast.h27 typedef struct _comprehension *comprehension_ty; typedef
520 comprehension_ty _Py_comprehension(expr_ty target, expr_ty iter, asdl_seq *
/external/python/cpython3/Include/
DPython-ast.h27 typedef struct _comprehension *comprehension_ty; typedef
614 comprehension_ty _Py_comprehension(expr_ty target, expr_ty iter, asdl_seq *