/external/python/cpython3/Include/ |
D | Python-ast.h | 48 asdl_seq *body; 52 asdl_seq *body; 60 asdl_seq *body; 80 asdl_seq *body; 81 asdl_seq *decorator_list; 88 asdl_seq *body; 89 asdl_seq *decorator_list; 95 asdl_seq *bases; 96 asdl_seq *keywords; 97 asdl_seq *body; [all …]
|
D | asdl.h | 22 } asdl_seq; typedef 29 asdl_seq *_Py_asdl_seq_new(Py_ssize_t size, PyArena *arena);
|
/external/python/cpython2/Include/ |
D | Python-ast.h | 44 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 …]
|
D | asdl.h | 23 } asdl_seq; typedef 30 asdl_seq *asdl_seq_new(int size, PyArena *arena);
|
/external/python/cpython2/Python/ |
D | asdl.c | 4 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()
|
D | ast.c | 26 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 …]
|
D | Python-ast.c | 547 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 …]
|
D | symtable.c | 182 static int symtable_visit_params(struct symtable *st, asdl_seq *args, int top); 183 static int symtable_visit_params_nested(struct symtable *st, asdl_seq *args); 224 asdl_seq *seq; in PySymtable_Build() 964 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 974 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 986 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 996 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 1145 asdl_seq *seq = s->v.Global.names; in symtable_visit_stmt() 1316 symtable_visit_params(struct symtable *st, asdl_seq *args, int toplevel) in symtable_visit_params() 1354 symtable_visit_params_nested(struct symtable *st, asdl_seq *args) in symtable_visit_params_nested() [all …]
|
D | future.c | 18 asdl_seq *names; in future_check_features()
|
D | compile.c | 1130 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 1140 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 1161 compiler_body(struct compiler *c, asdl_seq *stmts) in compiler_body() 1314 compiler_decorators(struct compiler *c, asdl_seq* decos) in compiler_decorators() 1357 asdl_seq* decos = s->v.FunctionDef.decorator_list; in compiler_function() 1411 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class() 2443 asdl_seq *s; in compiler_boolop() 2576 compiler_listcomp_generator(struct compiler *c, asdl_seq *generators, in compiler_listcomp_generator() 2656 asdl_seq *generators, int gen_index, in compiler_comprehension_generator() 2742 asdl_seq *generators, expr_ty elt, expr_ty val) in compiler_comprehension()
|
/external/python/cpython3/Python/ |
D | asdl.c | 4 asdl_seq * 7 asdl_seq *seq = NULL; in _Py_asdl_seq_new() 19 if (n > SIZE_MAX - sizeof(asdl_seq)) { in _Py_asdl_seq_new() 23 n += sizeof(asdl_seq); in _Py_asdl_seq_new() 25 seq = (asdl_seq *)PyArena_Malloc(arena, n); in _Py_asdl_seq_new() 50 if (n > SIZE_MAX - sizeof(asdl_seq)) { in _Py_asdl_int_seq_new() 54 n += sizeof(asdl_seq); in _Py_asdl_int_seq_new()
|
D | ast.c | 16 static int validate_stmts(asdl_seq *); 17 static int validate_exprs(asdl_seq *, expr_context_ty, int); 18 static int validate_nonempty_seq(asdl_seq *, const char *, const char *); 23 validate_comprehension(asdl_seq *gens) in validate_comprehension() 66 validate_keywords(asdl_seq *keywords) in validate_keywords() 76 validate_args(asdl_seq *args) in validate_args() 354 validate_nonempty_seq(asdl_seq *seq, const char *what, const char *owner) in validate_nonempty_seq() 363 validate_assignlist(asdl_seq *targets, expr_context_ty ctx) in validate_assignlist() 370 validate_body(asdl_seq *body, const char *owner) in validate_body() 518 validate_stmts(asdl_seq *seq) in validate_stmts() [all …]
|
D | Python-ast.c | 701 static PyObject* ast2obj_list(asdl_seq *seq, PyObject* (*func)(void*)) in ast2obj_list() 1191 Module(asdl_seq * body, PyArena *arena) in Module() 1203 Interactive(asdl_seq * body, PyArena *arena) in Interactive() 1232 Suite(asdl_seq * body, PyArena *arena) in Suite() 1244 FunctionDef(identifier name, arguments_ty args, asdl_seq * body, asdl_seq * in FunctionDef() 1274 AsyncFunctionDef(identifier name, arguments_ty args, asdl_seq * body, asdl_seq in AsyncFunctionDef() 1304 ClassDef(identifier name, asdl_seq * bases, asdl_seq * keywords, asdl_seq * in ClassDef() 1305 body, asdl_seq * decorator_list, int lineno, int col_offset, PyArena in ClassDef() 1343 Delete(asdl_seq * targets, int lineno, int col_offset, PyArena *arena) in Delete() 1357 Assign(asdl_seq * targets, expr_ty value, int lineno, int col_offset, PyArena in Assign() [all …]
|
D | ast_opt.c | 313 make_const_tuple(asdl_seq *elts) in make_const_tuple() 399 asdl_seq *args; in fold_compare() 437 asdl_seq *seq = (ARG); /* avoid variable capture */ \ 468 astfold_body(asdl_seq *stmts, PyArena *ctx_, int optimize_) in astfold_body() 480 asdl_seq *values = _Py_asdl_seq_new(1, ctx_); in astfold_body() 499 CALL(astfold_body, asdl_seq, node_->v.Module.body); in astfold_mod() 684 CALL(astfold_body, asdl_seq, node_->v.FunctionDef.body); in astfold_stmt() 690 CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body); in astfold_stmt() 697 CALL(astfold_body, asdl_seq, node_->v.ClassDef.body); in astfold_stmt()
|
D | compile.c | 200 asdl_seq *args, 201 asdl_seq *keywords); 207 asdl_seq *generators, int gen_index, 212 asdl_seq *generators, int gen_index, 1347 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 1357 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 1419 find_ann(asdl_seq *stmts) in find_ann() 1477 compiler_body(struct compiler *c, asdl_seq *stmts) in compiler_body() 1653 compiler_decorators(struct compiler *c, asdl_seq* decos) in compiler_decorators() 1667 compiler_visit_kwonlydefaults(struct compiler *c, asdl_seq *kwonlyargs, in compiler_visit_kwonlydefaults() [all …]
|
D | symtable.c | 195 static int symtable_visit_params(struct symtable *st, asdl_seq *args); 196 static int symtable_visit_argannotations(struct symtable *st, asdl_seq *args); 254 asdl_seq *seq; in PySymtable_BuildObject() 1059 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 1069 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 1079 asdl_seq *seq = (SEQ); /* avoid variable capture */ \ 1260 asdl_seq *seq = s->v.Global.names; in symtable_visit_stmt() 1293 asdl_seq *seq = s->v.Nonlocal.names; in symtable_visit_stmt() 1525 symtable_visit_params(struct symtable *st, asdl_seq *args) in symtable_visit_params() 1542 symtable_visit_argannotations(struct symtable *st, asdl_seq *args) in symtable_visit_argannotations() [all …]
|
D | ast_unparse.c | 102 asdl_seq *values; in append_ast_boolop() 373 append_ast_comprehensions(_PyUnicodeWriter *writer, asdl_seq *comprehensions) in append_ast_comprehensions() 428 asdl_seq *comparators; in append_ast_compare() 589 build_fstring_body(asdl_seq *values, bool is_format_spec) in build_fstring_body()
|
D | future.c | 17 asdl_seq *names; in future_check_features()
|
/external/python/cpython3/Misc/ |
D | HISTORY | 7488 - asdl_seq and asdl_int_seq are now Py_ssize_t sized.
|