Searched refs:asdl_seq_GET (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Python/ |
D | future.c | 24 alias_ty name = (alias_ty)asdl_seq_GET(names, i); in future_check_features() 75 stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i); in future_parse()
|
D | compile.c | 1123 TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i); \ 1133 TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i); \ 1159 st = (stmt_ty)asdl_seq_GET(stmts, 0); in compiler_body() 1168 VISIT(c, stmt, (stmt_ty)asdl_seq_GET(stmts, i)); in compiler_body() 1313 VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i)); in compiler_decorators() 1325 expr_ty arg = (expr_ty)asdl_seq_GET(args->args, i); in compiler_arguments() 1362 st = (stmt_ty)asdl_seq_GET(s->v.FunctionDef.body, 0); in compiler_function() 1378 st = (stmt_ty)asdl_seq_GET(s->v.FunctionDef.body, i); in compiler_function() 1543 expr_ty e = (expr_ty)asdl_seq_GET(s->v.Print.values, i); in compiler_print() 1837 excepthandler_ty handler = (excepthandler_ty)asdl_seq_GET( in compiler_try_except() [all …]
|
D | symtable.c | 243 (stmt_ty)asdl_seq_GET(seq, i))) in PySymtable_Build() 254 (stmt_ty)asdl_seq_GET(seq, i))) in PySymtable_Build() 960 TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \ 970 TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \ 982 TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \ 992 TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \ 1141 identifier name = (identifier)asdl_seq_GET(seq, i); in symtable_visit_stmt() 1316 expr_ty arg = (expr_ty)asdl_seq_GET(args, i); in symtable_visit_params() 1352 expr_ty arg = (expr_ty)asdl_seq_GET(args, i); in symtable_visit_params_nested() 1504 asdl_seq_GET(generators, 0)); in symtable_handle_comprehension()
|
D | ast.c | 287 if (!asdl_seq_GET(stmts, 0)) in PyAST_FromNode() 480 if (!set_context(c, (expr_ty)asdl_seq_GET(s, i), ctx, n)) in set_context() 741 if (!asdl_seq_GET(args, k-1)) in ast_for_arguments() 1110 first = (expr_ty)asdl_seq_GET(t, 0); in ast_for_listcomp() 1251 first = (expr_ty)asdl_seq_GET(t, 0); in ast_for_comprehension() 1713 slc = (slice_ty)asdl_seq_GET(slices, j); in ast_for_trailer() 2080 ((keyword_ty)asdl_seq_GET(keywords, k))->arg); in ast_for_call() 2687 globals = asdl_seq_GET(expr1->v.Tuple.elts, 1); in ast_for_exec_stmt() 2689 locals = asdl_seq_GET(expr1->v.Tuple.elts, 2); in ast_for_exec_stmt() 2691 expr1 = asdl_seq_GET(expr1->v.Tuple.elts, 0); in ast_for_exec_stmt() [all …]
|
D | Python-ast.c | 555 value = func(asdl_seq_GET(seq, i)); in ast2obj_list() 2766 … PyList_SET_ITEM(value, i, ast2obj_cmpop((cmpop_ty)asdl_seq_GET(o->v.Compare.ops, i))); in ast2obj_expr()
|
/external/python/cpython2/Include/ |
D | asdl.h | 33 #define asdl_seq_GET(S, I) (S)->elements[(I)] macro
|