/external/python/cpython2/Python/ |
D | ast.c | 257 asdl_seq_SET(stmts, k++, s); in PyAST_FromNode() 266 asdl_seq_SET(stmts, k++, s); in PyAST_FromNode() 285 asdl_seq_SET(stmts, 0, Pass(n->n_lineno, n->n_col_offset, in PyAST_FromNode() 301 asdl_seq_SET(stmts, 0, s); in PyAST_FromNode() 312 asdl_seq_SET(stmts, i / 2, s); in PyAST_FromNode() 602 asdl_seq_SET(seq, i / 2, expression); in seq_for_testlist() 650 asdl_seq_SET(args, i, arg); in compiler_complex_args() 716 asdl_seq_SET(defaults, j++, expression); in ast_for_arguments() 740 asdl_seq_SET(args, k++, compiler_complex_args(c, ch)); in ast_for_arguments() 765 asdl_seq_SET(args, k++, name); in ast_for_arguments() [all …]
|
D | Python-ast.c | 3358 asdl_seq_SET(body, i, val); in obj2ast_mod() 3398 asdl_seq_SET(body, i, val); in obj2ast_mod() 3461 asdl_seq_SET(body, i, val); in obj2ast_mod() 3574 asdl_seq_SET(body, i, val); in obj2ast_stmt() 3603 asdl_seq_SET(decorator_list, i, val); in obj2ast_stmt() 3659 asdl_seq_SET(bases, i, val); in obj2ast_stmt() 3688 asdl_seq_SET(body, i, val); in obj2ast_stmt() 3717 asdl_seq_SET(decorator_list, i, val); in obj2ast_stmt() 3780 asdl_seq_SET(targets, i, val); in obj2ast_stmt() 3821 asdl_seq_SET(targets, i, val); in obj2ast_stmt() [all …]
|
/external/python/cpython2/Include/ |
D | asdl.h | 36 #define asdl_seq_SET(S, I, V) { \ macro 42 #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V) macro
|
/external/python/cpython3/Include/ |
D | asdl.h | 35 #define asdl_seq_SET(S, I, V) \ macro 43 #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V) macro
|
/external/python/cpython3/Python/ |
D | ast.c | 802 asdl_seq_SET(stmts, k++, s); in PyAST_FromNodeObject() 811 asdl_seq_SET(stmts, k++, s); in PyAST_FromNodeObject() 832 asdl_seq_SET(stmts, 0, Pass(n->n_lineno, n->n_col_offset, in PyAST_FromNodeObject() 848 asdl_seq_SET(stmts, 0, s); in PyAST_FromNodeObject() 859 asdl_seq_SET(stmts, i / 2, s); in PyAST_FromNodeObject() 1210 asdl_seq_SET(seq, i / 2, expression); in seq_for_testlist() 1274 asdl_seq_SET(kwdefaults, j, expression); in handle_keywordonly_args() 1278 asdl_seq_SET(kwdefaults, j, NULL); in handle_keywordonly_args() 1299 asdl_seq_SET(kwonlyargs, j++, arg); in handle_keywordonly_args() 1417 asdl_seq_SET(posdefaults, j++, expression); in ast_for_arguments() [all …]
|
D | Python-ast.c | 3986 asdl_seq_SET(body, i, val); in obj2ast_mod() 4027 asdl_seq_SET(body, i, val); in obj2ast_mod() 4092 asdl_seq_SET(body, i, val); in obj2ast_mod() 4209 asdl_seq_SET(body, i, val); in obj2ast_stmt() 4239 asdl_seq_SET(decorator_list, i, val); in obj2ast_stmt() 4324 asdl_seq_SET(body, i, val); in obj2ast_stmt() 4354 asdl_seq_SET(decorator_list, i, val); in obj2ast_stmt() 4426 asdl_seq_SET(bases, i, val); in obj2ast_stmt() 4456 asdl_seq_SET(keywords, i, val); in obj2ast_stmt() 4486 asdl_seq_SET(body, i, val); in obj2ast_stmt() [all …]
|
D | ast_opt.c | 109 asdl_seq_SET(arg->v.Compare.ops, 0, op); in fold_unaryop() 484 asdl_seq_SET(values, 0, st->v.Expr.value); in astfold_body()
|
D | compile.c | 3362 asdl_seq_SET(elts, i, elt->v.Starred.value); in assignment_helper()
|