Home
last modified time | relevance | path

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

/external/python/cpython3/Parser/pegen/
Dpegen.h90 arg_ty arg;
100 arg_ty vararg;
102 arg_ty kwarg;
224 arg_ty _PyPegen_add_type_comment_to_arg(Parser *, arg_ty, Token *);
249 NameDefaultPair *_PyPegen_name_default_pair(Parser *, arg_ty, expr_ty, Token *);
251 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()
1650 _PyPegen_name_default_pair(Parser *p, arg_ty arg, expr_ty value, Token *tc) in _PyPegen_name_default_pair()
1676 _PyPegen_star_etc(Parser *p, arg_ty vararg, asdl_seq *kwonlyargs, arg_ty kwarg) in _PyPegen_star_etc()
1829 arg_ty vararg = NULL; in _PyPegen_make_arguments()
1862 arg_ty kwarg = NULL; in _PyPegen_make_arguments()
Dparse.c442 static arg_ty kwds_rule(Parser *p);
443 static arg_ty param_no_default_rule(Parser *p);
446 static arg_ty param_rule(Parser *p);
467 static arg_ty lambda_kwds_rule(Parser *p);
468 static arg_ty lambda_param_no_default_rule(Parser *p);
471 static arg_ty lambda_param_rule(Parser *p);
5518 arg_ty a; in star_etc_rule()
5583 arg_ty a; in star_etc_rule()
5627 static arg_ty
5635 arg_ty _res = NULL; in kwds_rule()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_trigonometric_to_approximation.cc53 Type arg_ty = arg.getType(); in matchAndRewrite() local
54 if (arg_ty.isF64()) return failure(); in matchAndRewrite()
56 if (arg_ty.isF16()) in matchAndRewrite()
/external/python/cpython3/Python/
Dast_opt.c395 static int astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
598 CALL_SEQ(astfold_arg, arg_ty, node_->posonlyargs); in astfold_arguments()
599 CALL_SEQ(astfold_arg, arg_ty, node_->args); in astfold_arguments()
600 CALL_OPT(astfold_arg, arg_ty, node_->vararg); in astfold_arguments()
601 CALL_SEQ(astfold_arg, arg_ty, node_->kwonlyargs); in astfold_arguments()
603 CALL_OPT(astfold_arg, arg_ty, node_->kwarg); in astfold_arguments()
609 astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state) in astfold_arg()
Dast_unparse.c198 append_ast_arg(_PyUnicodeWriter *writer, arg_ty arg) in append_ast_arg()
225 APPEND(arg, (arg_ty)asdl_seq_GET(args->posonlyargs, i)); in append_ast_args()
227 APPEND(arg, (arg_ty)asdl_seq_GET(args->args, i-posonlyarg_count)); in append_ast_args()
254 APPEND(arg, (arg_ty)asdl_seq_GET(args->kwonlyargs, i)); in append_ast_args()
Dsymtable.c1694 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in symtable_visit_params()
1711 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in symtable_visit_argannotations()
DPython-ast.c1903 static int obj2ast_arg(astmodulestate *state, PyObject* obj, arg_ty* out,
3259 arguments(asdl_seq * posonlyargs, asdl_seq * args, arg_ty vararg, asdl_seq * in arguments()
3260 kwonlyargs, asdl_seq * kw_defaults, arg_ty kwarg, asdl_seq * in arguments()
3277 arg_ty
3281 arg_ty p; in arg()
3287 p = (arg_ty)PyArena_Malloc(arena, sizeof(*p)); in arg()
4692 arg_ty o = (arg_ty)_o; in ast2obj_arg()
9076 arg_ty vararg; in obj2ast_arguments()
9079 arg_ty kwarg; in obj2ast_arguments()
9101 arg_ty val; in obj2ast_arguments()
[all …]
Dast.c76 arg_ty arg = asdl_seq_GET(args, i); in validate_args()
1304 static arg_ty
1310 arg_ty ret; in ast_for_arg()
1346 arg_ty arg = NULL; in handle_keywordonly_args()
1483 arg_ty vararg = NULL, kwarg = NULL; in ast_for_arguments()
1484 arg_ty arg = NULL; in ast_for_arguments()
Dcompile.c1973 arg_ty arg = asdl_seq_GET(kwonlyargs, i); in compiler_visit_kwonlydefaults()
2055 arg_ty arg = (arg_ty)asdl_seq_GET(args, i); in compiler_visit_argannotations()
2166 compiler_check_debug_one_arg(struct compiler *c, arg_ty arg) in compiler_check_debug_one_arg()
/external/python/cpython3/Include/
DPython-ast.h39 typedef struct _arg *arg_ty; typedef
410 arg_ty vararg;
413 arg_ty kwarg;
669 arguments_ty _Py_arguments(asdl_seq * posonlyargs, asdl_seq * args, arg_ty
671 kw_defaults, arg_ty kwarg, asdl_seq * defaults,
674 arg_ty _Py_arg(identifier arg, expr_ty annotation, string type_comment, int
/external/rust/crates/bindgen/src/ir/
Dfunction.rs331 .map(|(arg_cur, arg_ty)| { in args_from_ty_and_cursor()
341 let ty = arg_ty.unwrap_or(cursor.cur_type()); in args_from_ty_and_cursor()
/external/python/cpython3/Grammar/
Dpython.gram259 kwds[arg_ty]: '**' a=param_no_default { a }
273 param_no_default[arg_ty]:
282 param[arg_ty]: a=NAME b=annotation? { _Py_arg(a->v.Name.id, b, NULL, EXTRA) }
370 lambda_kwds[arg_ty]: '**' a=lambda_param_no_default { a }
372 lambda_param_no_default[arg_ty]:
381 lambda_param[arg_ty]: a=NAME { _Py_arg(a->v.Name.id, NULL, NULL, EXTRA) }
/external/llvm-project/lldb/source/Expression/
DIRInterpreter.cpp1416 llvm::Type *arg_ty = arg_op->getType(); in Interpret() local
1419 if (!arg_ty->isIntegerTy() && !arg_ty->isPointerTy()) { in Interpret()
1434 if (arg_ty->isPointerTy()) { in Interpret()
1459 rawArgs[i].size = arg_ty->getIntegerBitWidth() / 8; in Interpret()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_n_z.cc288 auto arg_ty = tensor.getType().dyn_cast<ShapedType>(); in fold() local
289 if (!arg_ty || !arg_ty.hasRank() || arg_ty.getNumDynamicDims() != 1 || in fold()
290 !arg_ty.isDynamicDim(0)) in fold()
294 if (arg_ty.getRank() != values().size()) return {}; in fold()
297 auto arg_dims = llvm::drop_begin(arg_ty.getShape(), 1); in fold()
/external/rust/crates/bindgen/src/codegen/
Dmod.rs4562 let arg_ty = arg_item.kind().expect_type(); in fnsig_arguments() localVariable
4572 let arg_ty = match *arg_ty.canonical_type(ctx).kind() { in fnsig_arguments() localVariable
4576 arg_ty.to_rust_ty_or_opaque(ctx, &arg_item) in fnsig_arguments()
4611 #arg_name : #arg_ty in fnsig_arguments()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc1041 auto arg_ty = operands.front().getType().cast<TensorType>(); in inferReturnTypes() local
1043 inferredReturnTypes.push_back(getSameShapeTensorType(arg_ty, b.getI1Type())); in inferReturnTypes()