Home
last modified time | relevance | path

Searched refs:asdl_seq_SET (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Include/
Dasdl.h36 #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/
Dasdl.h34 #define asdl_seq_SET(S, I, V) \ macro
42 #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V) macro
/external/python/cpython2/Python/
Dast.c257 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 …]
DPython-ast.c3358 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/cpython3/Parser/pegen/
Dpegen.c1276 asdl_seq_SET(seq, 0, a); in _PyPegen_singleton_seq()
1294 asdl_seq_SET(new_seq, 0, a); in _PyPegen_seq_insert_in_front()
1296 asdl_seq_SET(new_seq, i, asdl_seq_GET(seq, i - 1)); in _PyPegen_seq_insert_in_front()
1316 asdl_seq_SET(new_seq, i, asdl_seq_GET(seq, i)); in _PyPegen_seq_append_to_end()
1318 asdl_seq_SET(new_seq, asdl_seq_LEN(new_seq) - 1, a); in _PyPegen_seq_append_to_end()
1349 asdl_seq_SET(flattened_seq, flattened_seq_idx++, asdl_seq_GET(inner_seq, j)); in _PyPegen_seq_flatten()
1462 asdl_seq_SET(new_seq, i, e->v.Name.id); in _PyPegen_map_names_to_ids()
1493 asdl_seq_SET(new_seq, i, pair->cmpop); in _PyPegen_get_cmpops()
1510 asdl_seq_SET(new_seq, i, pair->expr); in _PyPegen_get_exprs()
1530 asdl_seq_SET(new_seq, i, _PyPegen_set_expr_context(p, e, ctx)); in _set_seq_context()
[all …]
Dparse.c15696 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop0_1_rule()
15762 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop0_2_rule()
15837 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop0_4_rule()
15951 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop0_6_rule()
16065 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop0_8_rule()
16179 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop0_10_rule()
16289 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop1_11_rule()
16364 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop0_13_rule()
16922 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop1_22_rule()
17107 for (int i = 0; i < _n; i++) asdl_seq_SET(_seq, i, _children[i]); in _loop0_26_rule()
[all …]
Dparse_string.c993 asdl_seq_SET(seq, i, l->p[i]); in ExprList_Finish()
/external/python/cpython3/Python/
Dast.c802 asdl_seq_SET(stmts, k++, s); in PyAST_FromNodeObject()
811 asdl_seq_SET(stmts, k++, s); in PyAST_FromNodeObject()
831 asdl_seq_SET(type_ignores, i, ti); in PyAST_FromNodeObject()
851 asdl_seq_SET(stmts, 0, Pass(n->n_lineno, n->n_col_offset, in PyAST_FromNodeObject()
868 asdl_seq_SET(stmts, 0, s); in PyAST_FromNodeObject()
879 asdl_seq_SET(stmts, i / 2, s); in PyAST_FromNodeObject()
911 asdl_seq_SET(argtypes, j++, arg); in PyAST_FromNodeObject()
1299 asdl_seq_SET(seq, i / 2, expression); in seq_for_testlist()
1364 asdl_seq_SET(kwdefaults, j, expression); in handle_keywordonly_args()
1368 asdl_seq_SET(kwdefaults, j, NULL); in handle_keywordonly_args()
[all …]
DPython-ast.c4934 asdl_seq_SET(body, i, val); in obj2ast_mod()
4967 asdl_seq_SET(type_ignores, i, val); in obj2ast_mod()
5012 asdl_seq_SET(body, i, val); in obj2ast_mod()
5083 asdl_seq_SET(argtypes, i, val); in obj2ast_mod()
5247 asdl_seq_SET(body, i, val); in obj2ast_stmt()
5280 asdl_seq_SET(decorator_list, i, val); in obj2ast_stmt()
5384 asdl_seq_SET(body, i, val); in obj2ast_stmt()
5417 asdl_seq_SET(decorator_list, i, val); in obj2ast_stmt()
5507 asdl_seq_SET(bases, i, val); in obj2ast_stmt()
5540 asdl_seq_SET(keywords, i, val); in obj2ast_stmt()
[all …]
Dast_opt.c70 asdl_seq_SET(arg->v.Compare.ops, 0, op); in fold_unaryop()
437 asdl_seq_SET(values, 0, st->v.Expr.value); in astfold_body()