Lines Matching refs:args

222     return (not args.long_registers) and (argtype in types64)
231 def wrapper_defs(func_name, func_type, args, fn, userspace_only): argument
235 decl_arglist = ", ".join([" ".join(argrec) for argrec in args]) or "void"
254 for argnum, (argtype, argname) in enumerate(args):
307 impl_arglist = ", ".join([argrec[1] for argrec in args])
316 argnames = ", ".join([f"{argname}" for _, argname in args])
318 if len(args) > 0:
342 def marshall_defs(func_name, func_type, args): argument
347 for (argtype, _) in args:
356 decl_arglist = ", ".join([" ".join(argrec) for argrec in args])
386 out_args = ", ".join(["parm%d.val" % i for i in range(len(args))])
411 func, args = match_group
414 if args == "void":
415 args = []
417 args = [typename_split(a) for a in args.split(",")]
427 marshaller, handler = marshall_defs(func_name, func_type, args)
428 invocation = wrapper_defs(func_name, func_type, args, fn, userspace_only)
436 global args
461 args = parser.parse_args()
467 if args.split_type is not None:
468 for t in args.split_type:
471 with open(args.json_file, 'r') as fd:
485 handler, inv, mrsh, sys_id, entry = analyze_fn(match_group, fn, args.userspace_only)
506 with open(args.syscall_dispatch, "w") as fp:
522 if args.syscall_weakdefs_llext:
523 with open(args.syscall_weakdefs_llext, "w") as fp:
529 if args.syscall_exports_llext:
530 with open(args.syscall_exports_llext, "w") as fp:
556 with open(args.syscall_list, "w") as fp:
559 os.makedirs(args.base_output, exist_ok=True)
561 out_fn = os.path.join(args.base_output, fn)
574 if args.gen_mrsh_files:
576 mrsh_fn = os.path.join(args.base_output, fn + "_mrsh.c")