Lines Matching refs:args
340 def gen_test_args_res(descr_args, descr_res, args, res_rm): argument
343 all_args_res = list(args)
357 args_disp.append(complex_beautify(args[arg_pos],
358 args[arg_pos + 1]))
359 args_c.append(apply_lit(args[arg_pos], 'LIT'))
360 args_c.append(apply_lit(args[arg_pos + 1], 'LIT'))
362 args_disp.append(beautify(args[arg_pos]))
364 args_c.append(apply_lit(args[arg_pos], 'LIT'))
366 args_c.append(apply_lit(args[arg_pos], 'ARG_LIT'))
368 args_c.append(args[arg_pos])
467 args = fmt_args[1:]
534 test_list.append(gen_test_args_res(descr_args, descr_res, args,
547 args = test_args[:num_args]
567 return gen_test_args_res(descr_args, descr_res, args, res_rm)
668 args = parser.parse_args()
670 if args.ulps_file is not None:
671 ulps.read(args.ulps_file)
672 auto_tests = read_auto_tests(args.auto_input)
673 if args.srcdir is not None:
674 all_ulps = read_all_ulps(args.srcdir)
675 if args.ulps_output is not None:
676 ulps.write(args.ulps_output)
677 if args.ulps_header is not None:
678 ulps.write_header(args.ulps_header)
679 if args.c_output is not None:
680 generate_testfile(args.inc_input, auto_tests, args.c_output)
681 if args.err_table is not None:
682 generate_err_table(all_ulps, args.err_table)