Home
last modified time | relevance | path

Searched refs:arg_ty (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Python/
Dast_opt.c424 static int astfold_arg(arg_ty node_, PyArena *ctx_, int optimize_);
662 CALL_SEQ(astfold_arg, arg_ty, node_->args); in astfold_arguments()
663 CALL_OPT(astfold_arg, arg_ty, node_->vararg); in astfold_arguments()
664 CALL_SEQ(astfold_arg, arg_ty, node_->kwonlyargs); in astfold_arguments()
666 CALL_OPT(astfold_arg, arg_ty, node_->kwarg); in astfold_arguments()
672 astfold_arg(arg_ty node_, PyArena *ctx_, int optimize_) in astfold_arg()
Dast_unparse.c180 append_ast_arg(_PyUnicodeWriter *writer, arg_ty arg) in append_ast_arg()
205 APPEND(arg, (arg_ty)asdl_seq_GET(args->args, i)); in append_ast_args()
228 APPEND(arg, (arg_ty)asdl_seq_GET(args->kwonlyargs, i)); in append_ast_args()
Dsymtable.c1533 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in symtable_visit_params()
1550 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in symtable_visit_argannotations()
DPython-ast.c1185 static int obj2ast_arg(PyObject* obj, arg_ty* out, PyArena* arena);
2480 arguments(asdl_seq * args, arg_ty vararg, asdl_seq * kwonlyargs, asdl_seq * in arguments()
2481 kw_defaults, arg_ty kwarg, asdl_seq * defaults, PyArena *arena) in arguments()
2496 arg_ty
2500 arg_ty p; in arg()
2506 p = (arg_ty)PyArena_Malloc(arena, sizeof(*p)); in arg()
3822 arg_ty o = (arg_ty)_o; in ast2obj_arg()
7800 arg_ty vararg; in obj2ast_arguments()
7803 arg_ty kwarg; in obj2ast_arguments()
7825 arg_ty val; in obj2ast_arguments()
[all …]
Dast.c80 arg_ty arg = asdl_seq_GET(args, i); in validate_args()
1215 static arg_ty
1221 arg_ty ret; in ast_for_arg()
1256 arg_ty arg; in handle_keywordonly_args()
1341 arg_ty vararg = NULL, kwarg = NULL; in ast_for_arguments()
1342 arg_ty arg; in ast_for_arguments()
Dcompile.c1678 arg_ty arg = asdl_seq_GET(kwonlyargs, i); in compiler_visit_kwonlydefaults()
1768 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in compiler_visit_argannotations()
/external/python/cpython3/Include/
DPython-ast.h33 typedef struct _arg *arg_ty; typedef
412 arg_ty vararg;
415 arg_ty kwarg;
621 arguments_ty _Py_arguments(asdl_seq * args, arg_ty vararg, asdl_seq *
622 kwonlyargs, asdl_seq * kw_defaults, arg_ty kwarg,
625 arg_ty _Py_arg(identifier arg, expr_ty annotation, int lineno, int col_offset,