Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dast_opt.c393 static int astfold_comprehension(comprehension_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
501 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.ListComp.generators); in astfold_expr()
505 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.SetComp.generators); in astfold_expr()
510 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.DictComp.generators); in astfold_expr()
514 CALL_SEQ(astfold_comprehension, comprehension_ty, node_->v.GeneratorExp.generators); in astfold_expr()
585 astfold_comprehension(comprehension_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) in astfold_comprehension()
Dast_unparse.c383 append_ast_comprehension(_PyUnicodeWriter *writer, comprehension_ty gen) in append_ast_comprehension()
407 APPEND(comprehension, (comprehension_ty)asdl_seq_GET(comprehensions, i)); in append_ast_comprehensions()
Dsymtable.c203 static int symtable_visit_comprehension(struct symtable *st, comprehension_ty);
1827 symtable_visit_comprehension(struct symtable *st, comprehension_ty lc) in symtable_visit_comprehension()
1857 comprehension_ty outermost = ((comprehension_ty) in symtable_handle_comprehension()
Dcompile.c4381 comprehension_ty gen; in compiler_comprehension_generator()
4382 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_comprehension_generator()
4401 comprehension_ty gen; in compiler_sync_comprehension_generator()
4414 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_sync_comprehension_generator()
4517 comprehension_ty gen; in compiler_async_comprehension_generator()
4528 gen = (comprehension_ty)asdl_seq_GET(generators, gen_index); in compiler_async_comprehension_generator()
4608 comprehension_ty outermost; in compiler_comprehension()
4616 outermost = (comprehension_ty) asdl_seq_GET(generators, 0); in compiler_comprehension()
DPython-ast.c1898 comprehension_ty* out, PyArena* arena);
3214 comprehension_ty
3218 comprehension_ty p; in comprehension()
3229 p = (comprehension_ty)PyArena_Malloc(arena, sizeof(*p)); in comprehension()
4541 comprehension_ty o = (comprehension_ty)_o; in ast2obj_comprehension()
7531 comprehension_ty val; in obj2ast_expr()
7591 comprehension_ty val; in obj2ast_expr()
7665 comprehension_ty val; in obj2ast_expr()
7725 comprehension_ty val; in obj2ast_expr()
8831 obj2ast_comprehension(astmodulestate *state, PyObject* obj, comprehension_ty* in obj2ast_comprehension()
Dast.c52 comprehension_ty comp = asdl_seq_GET(gens, i); in validate_comprehension()
2032 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.h33 typedef struct _comprehension *comprehension_ty; typedef
661 comprehension_ty _Py_comprehension(expr_ty target, expr_ty iter, asdl_seq *
/external/python/cpython3/Grammar/
Dpython.gram524 for_if_clause[comprehension_ty]:
/external/python/cpython3/Parser/pegen/
Dparse.c514 static comprehension_ty for_if_clause_rule(Parser *p);
11933 static comprehension_ty
11941 comprehension_ty _res = NULL; in for_if_clause_rule()
21875 comprehension_ty for_if_clause_var; in _loop1_103_rule()