Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
DPython-ast.h44 asdl_seq *body;
48 asdl_seq *body;
56 asdl_seq *body;
75 asdl_seq *body;
76 asdl_seq *decorator_list;
81 asdl_seq *bases;
82 asdl_seq *body;
83 asdl_seq *decorator_list;
91 asdl_seq *targets;
95 asdl_seq *targets;
[all …]
Dasdl.h23 } asdl_seq; typedef
30 asdl_seq *asdl_seq_new(int size, PyArena *arena);
/external/python/cpython2/Python/
Dasdl.c4 asdl_seq *
7 asdl_seq *seq = NULL; in asdl_seq_new()
18 if (n > PY_SIZE_MAX - sizeof(asdl_seq)) { in asdl_seq_new()
23 n += sizeof(asdl_seq); in asdl_seq_new()
25 seq = (asdl_seq *)PyArena_Malloc(arena, n); in asdl_seq_new()
49 if (n > PY_SIZE_MAX - sizeof(asdl_seq)) { in asdl_int_seq_new()
54 n += sizeof(asdl_seq); in asdl_int_seq_new()
Dast.c26 static asdl_seq *seq_for_testlist(struct compiling *, const node *);
29 static asdl_seq *ast_for_suite(struct compiling *, const node *);
30 static asdl_seq *ast_for_exprlist(struct compiling *, const node *,
33 static stmt_ty ast_for_classdef(struct compiling *, const node *, asdl_seq *);
220 asdl_seq *stmts = NULL; in PyAST_FromNode()
372 asdl_seq *s = NULL; in set_context()
577 static asdl_seq *
581 asdl_seq *seq; in seq_for_testlist()
612 asdl_seq *args = asdl_seq_new(len, c->c_arena); in compiler_complex_args()
670 asdl_seq *args, *defaults; in ast_for_arguments()
[all …]
DPython-ast.c547 static PyObject* ast2obj_list(asdl_seq *seq, PyObject* (*func)(void*)) in ast2obj_list()
988 Module(asdl_seq * body, PyArena *arena) in Module()
1000 Interactive(asdl_seq * body, PyArena *arena) in Interactive()
1029 Suite(asdl_seq * body, PyArena *arena) in Suite()
1041 FunctionDef(identifier name, arguments_ty args, asdl_seq * body, asdl_seq * in FunctionDef()
1069 ClassDef(identifier name, asdl_seq * bases, asdl_seq * body, asdl_seq * in ClassDef()
1106 Delete(asdl_seq * targets, int lineno, int col_offset, PyArena *arena) in Delete()
1120 Assign(asdl_seq * targets, expr_ty value, int lineno, int col_offset, PyArena in Assign()
1173 Print(expr_ty dest, asdl_seq * values, bool nl, int lineno, int col_offset, in Print()
1190 For(expr_ty target, expr_ty iter, asdl_seq * body, asdl_seq * orelse, int in For()
[all …]
Dsymtable.c180 static int symtable_visit_params(struct symtable *st, asdl_seq *args, int top);
181 static int symtable_visit_params_nested(struct symtable *st, asdl_seq *args);
222 asdl_seq *seq; in PySymtable_Build()
958 asdl_seq *seq = (SEQ); /* avoid variable capture */ \
968 asdl_seq *seq = (SEQ); /* avoid variable capture */ \
980 asdl_seq *seq = (SEQ); /* avoid variable capture */ \
990 asdl_seq *seq = (SEQ); /* avoid variable capture */ \
1139 asdl_seq *seq = s->v.Global.names; in symtable_visit_stmt()
1310 symtable_visit_params(struct symtable *st, asdl_seq *args, int toplevel) in symtable_visit_params()
1348 symtable_visit_params_nested(struct symtable *st, asdl_seq *args) in symtable_visit_params_nested()
[all …]
Dfuture.c18 asdl_seq *names; in future_check_features()
Dcompile.c1121 asdl_seq *seq = (SEQ); /* avoid variable capture */ \
1131 asdl_seq *seq = (SEQ); /* avoid variable capture */ \
1152 compiler_body(struct compiler *c, asdl_seq *stmts) in compiler_body()
1305 compiler_decorators(struct compiler *c, asdl_seq* decos) in compiler_decorators()
1348 asdl_seq* decos = s->v.FunctionDef.decorator_list; in compiler_function()
1402 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class()
2442 asdl_seq *s; in compiler_boolop()
2575 compiler_listcomp_generator(struct compiler *c, asdl_seq *generators, in compiler_listcomp_generator()
2655 asdl_seq *generators, int gen_index, in compiler_comprehension_generator()
2741 asdl_seq *generators, expr_ty elt, expr_ty val) in compiler_comprehension()