Home
last modified time | relevance | path

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

/external/rust/crates/ring/src/
Dprefixed.rs6 $vis:vis fn $name:ident ( $( $arg_pat:ident : $arg_ty:ty ),* $(,)? )
17 $vis fn $name ( $( $arg_pat : $arg_ty ),* ) $( -> $ret_ty )?;
48 $vis:vis unsafe fn $name:ident ( $( $arg_pat:ident : $arg_ty:ty ),* $(,)? ) $body:block
55 $vis unsafe fn $name ( $( $arg_pat : $arg_ty ),* ) $body
/external/rust/crates/quickcheck/src/
Dlib.rs48 fn $fn_name:ident($($arg_name:ident : $arg_ty:ty),*) -> $ret:ty {
59 fn prop($($arg_name: $arg_ty),*) -> $ret {
62 $crate::quickcheck(prop as fn($($arg_ty),*) -> $ret);
/external/python/cpython3/Parser/
Dpegen.h97 arg_ty arg;
107 arg_ty vararg;
109 arg_ty kwarg;
248 arg_ty _PyPegen_add_type_comment_to_arg(Parser *, arg_ty, Token *);
275 NameDefaultPair *_PyPegen_name_default_pair(Parser *, arg_ty, expr_ty, Token *);
277 StarEtc *_PyPegen_star_etc(Parser *, arg_ty, asdl_seq *, arg_ty);
Dpegen.c23 arg_ty
24 _PyPegen_add_type_comment_to_arg(Parser *p, arg_ty a, Token *tc) in _PyPegen_add_type_comment_to_arg()
1958 _PyPegen_name_default_pair(Parser *p, arg_ty arg, expr_ty value, Token *tc) in _PyPegen_name_default_pair()
1984 _PyPegen_star_etc(Parser *p, arg_ty vararg, asdl_seq *kwonlyargs, arg_ty kwarg) in _PyPegen_star_etc()
2179 arg_ty vararg = NULL; in _PyPegen_make_arguments()
2190 arg_ty kwarg = NULL; in _PyPegen_make_arguments()
Dparser.c588 static arg_ty kwds_rule(Parser *p);
589 static arg_ty param_no_default_rule(Parser *p);
592 static arg_ty param_rule(Parser *p);
614 static arg_ty lambda_kwds_rule(Parser *p);
615 static arg_ty lambda_param_no_default_rule(Parser *p);
618 static arg_ty lambda_param_rule(Parser *p);
9306 arg_ty a; in star_etc_rule()
9371 arg_ty a; in star_etc_rule()
9415 static arg_ty
9426 arg_ty _res = NULL; in kwds_rule()
[all …]
/external/python/cpython3/Include/internal/
Dpycore_ast.h40 typedef struct _arg *arg_ty; typedef
101 arg_ty typed_elements[1];
516 arg_ty vararg;
519 arg_ty kwarg;
795 arg_ty vararg, asdl_arg_seq * kwonlyargs,
796 asdl_expr_seq * kw_defaults, arg_ty kwarg,
798 arg_ty _PyAST_arg(identifier arg, expr_ty annotation, string type_comment, int
/external/rust/crates/ring/patches/
D0001-bigint-Provide-a-fallback-implementation-for-bn_mul_.patch221 - $vis fn $name ( $( $arg_pat : $arg_ty ),* ) $( -> $ret_ty )?
222 + $vis fn $name ( $( $arg_pat : $arg_ty ),* ) $( -> $ret_ty )?;
244 + $vis:vis unsafe fn $name:ident ( $( $arg_pat:ident : $arg_ty:ty ),* $(,)? ) $body:block
251 + $vis unsafe fn $name ( $( $arg_pat : $arg_ty ),* ) $body
/external/python/cpython3/Python/
Dast_unparse.c203 append_ast_arg(_PyUnicodeWriter *writer, arg_ty arg) in append_ast_arg()
230 APPEND(arg, (arg_ty)asdl_seq_GET(args->posonlyargs, i)); in append_ast_args()
232 APPEND(arg, (arg_ty)asdl_seq_GET(args->args, i-posonlyarg_count)); in append_ast_args()
259 APPEND(arg, (arg_ty)asdl_seq_GET(args->kwonlyargs, i)); in append_ast_args()
Dast_opt.c410 static int astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
635 CALL_OPT(astfold_arg, arg_ty, node_->vararg); in astfold_arguments()
638 CALL_OPT(astfold_arg, arg_ty, node_->kwarg); in astfold_arguments()
644 astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) in astfold_arg()
Dsymtable.c1815 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in symtable_visit_params()
1850 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in symtable_visit_argannotations()
DPython-ast.c366 GENERATE_ASDL_SEQ_CONSTRUCTOR(arg, arg_ty)
1867 static int obj2ast_arg(struct ast_state *state, PyObject* obj, arg_ty* out,
3268 _PyAST_arguments(asdl_arg_seq * posonlyargs, asdl_arg_seq * args, arg_ty in _PyAST_arguments()
3270 kw_defaults, arg_ty kwarg, asdl_expr_seq * defaults, PyArena in _PyAST_arguments()
3287 arg_ty
3291 arg_ty p; in _PyAST_arg()
3297 p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p)); in _PyAST_arg()
4929 arg_ty o = (arg_ty)_o; in ast2obj_arg()
10196 arg_ty vararg; in obj2ast_arguments()
10199 arg_ty kwarg; in obj2ast_arguments()
[all …]
Dast.c77 arg_ty arg = asdl_seq_GET(args, i); in validate_args()
Dcompile.c2097 arg_ty arg = asdl_seq_GET(kwonlyargs, i); in compiler_visit_kwonlydefaults()
2180 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in compiler_visit_argannotations()
2281 compiler_check_debug_one_arg(struct compiler *c, arg_ty arg) in compiler_check_debug_one_arg()
/external/rust/crates/indexmap/tests/
Dquick.rs47 fn $fn_name:ident($($arg_name:ident : $arg_ty:ty),*) -> $ret:ty {
58 fn prop($($arg_name: $arg_ty),*) -> $ret {
69 quickcheck.quickcheck(prop as fn($($arg_ty),*) -> $ret);
/external/rust/crates/bindgen/ir/
Dfunction.rs384 .map(|(arg_cur, arg_ty)| { in args_from_ty_and_cursor()
394 let ty = arg_ty.unwrap_or_else(|| cursor.cur_type()); in args_from_ty_and_cursor()
/external/python/cpython3/Grammar/
Dpython.gram454 kwds[arg_ty]: '**' a=param_no_default { a }
468 param_no_default[arg_ty]:
477 param[arg_ty]: a=NAME b=annotation? { _PyAST_arg(a->v.Name.id, b, NULL, EXTRA) }
574 lambda_kwds[arg_ty]: '**' a=lambda_param_no_default { a }
576 lambda_param_no_default[arg_ty]:
585 lambda_param[arg_ty]: a=NAME { _PyAST_arg(a->v.Name.id, NULL, NULL, EXTRA) }
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_n_z.cc306 auto arg_ty = tensor.getType().dyn_cast<ShapedType>(); in fold() local
307 if (!arg_ty || !arg_ty.hasRank() || arg_ty.getNumDynamicDims() != 1 || in fold()
308 !arg_ty.isDynamicDim(0)) in fold()
312 if (arg_ty.getRank() != values().size()) return {}; in fold()
315 auto arg_dims = llvm::drop_begin(arg_ty.getShape(), 1); in fold()
/external/rust/crates/bindgen/codegen/
Dmod.rs4971 let arg_ty = arg_item.kind().expect_type(); in fnsig_arguments() localVariable
4981 let arg_ty = match *arg_ty.canonical_type(ctx).kind() { in fnsig_arguments() localVariable
4985 arg_ty.to_rust_ty_or_opaque(ctx, arg_item) in fnsig_arguments()
5020 #arg_name : #arg_ty in fnsig_arguments()
/external/python/cpython3/Doc/data/
Dpython3.10.abi13967 …<typedef-decl name='arg_ty' type-id='type-id-634' filepath='./Include/internal/pycore_ast.h' line=…