Searched refs:infile (Results 1 - 25 of 92) sorted by relevance

1234

/freebsd-current/crypto/openssl/test/
H A Dpem_read_depr_test.c29 BIO *infile = NULL; local
33 infile = BIO_new_file(paramsfile, "r");
37 return infile;
44 BIO *infile = getfile("dhparams.pem"); local
47 if (!TEST_ptr(infile))
50 dh = PEM_read_bio_DHparams(infile, NULL, NULL, NULL);
57 BIO_free(infile);
65 BIO *infile = getfile("x942params.pem"); local
68 if (!TEST_ptr(infile))
71 dh = PEM_read_bio_DHparams(infile, NUL
88 BIO *infile = getfile("dsaparams.pem"); local
109 BIO *infile = getfile("dsaprivatekey.pem"); local
130 BIO *infile = getfile("dsapublickey.pem"); local
152 BIO *infile = getfile("rsaprivatekey.pem"); local
173 BIO *infile = getfile("rsapublickey.pem"); local
[all...]
H A Dbntests.pl129 my $infile = shift || 'bntests.txt';
130 die "No such file, $infile" unless -f $infile;
131 open my $IN, $infile || die "Can't read $infile, $!\n";
155 if $infile eq 'bntests.txt' and $failures != $EXPECTED_FAILURES;
H A Dossl_store_test.c35 static const char *infile = NULL; variable
45 char *input = test_mk_file_path(inputdir, infile);
206 infile = opt_arg();
231 if (infile != NULL)
/freebsd-current/crypto/openssl/test/recipes/
H A D03-test_fipsinstall.t29 my $infile = bldtop_file('providers', platform->dso('fips'));
33 # Read in a text $infile and replace the regular expression in $srch with the
37 my ($infile, $srch, $repl, $outfile) = @_;
40 open(my $in, "<", $infile) or return 0;
91 ok(!run(app(['openssl', 'fipsinstall', '-in', 'dummy.tmp', '-module', $infile,
99 ok(run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', $infile,
106 ok(run(app(['openssl', 'fipsinstall', '-in', 'fips.cnf', '-module', $infile,
115 '-module', $infile,
124 '-module', $infile,
134 '-module', $infile,
[all...]
H A D25-test_crl.t65 my ($cmdarray, $infile, $str) = @_;
66 my @lines = run(app($cmdarray, stdin => $infile), capture => 1);
/freebsd-current/usr.bin/asa/tests/
H A Dasa_test.sh21 printf " %s\n %s\n" "$a" "$b" >infile
23 atf_check_asa infile outfile
31 printf " %s\n0%s\n" "$a" "$b" >infile
33 atf_check_asa infile outfile
41 printf "1%s\n1%s\n" "$a" "$b" >infile
43 atf_check_asa infile outfile
51 printf " %s\n+%s\n" "$a" "$b" >infile
53 atf_check_asa infile outfile
61 printf "+%s\n+%s\n" "$a" "$b" >infile
63 atf_check_asa infile outfil
[all...]
/freebsd-current/usr.bin/tail/tests/
H A Dtail_test.sh34 touch infile expectfile
35 tail -r infile > outfile
36 tail -r < infile > outpipe
48 cat > infile <<HERE
58 tail -r infile > outfile
59 tail -r < infile > outpipe
71 cat > infile <<HERE
80 tail -rn2 infile > outfile
81 tail -rn2 < infile > outpipe
114 cat > infile <<HER
[all...]
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfconvert.c49 static char *infile = NULL; variable
69 fprintf(stderr, "Removing %s\n", infile);
70 unlink(infile);
206 infile = argv[optind];
207 if (access(infile, R_OK) != 0)
208 terminate("Can't access %s", infile);
233 if (!file_read(filetd, infile, ignore_non_c))
234 terminate("%s doesn't have type data to convert\n", infile);
249 if (outfile && strcmp(infile, outfile) != 0) {
250 write_ctf(mstrtd, infile, outfil
[all...]
/freebsd-current/usr.bin/rpcgen/
H A Drpc_main.c137 checkfiles(cmd.infile, cmd.outfile);
140 checkfiles(cmd.infile, NULL);
143 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile);
145 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile,
148 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile);
150 s_output(argc, argv, cmd.infile, "-DRPC_SVC", DONT_EXTEND,
153 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile);
155 svc_output(cmd.infile, "-DRPC_SERVER", DONT_EXTEND,
158 clnt_output(cmd.infile, "-DRPC_CLIENT", DONT_EXTEND,
164 c_output(cmd.infile, "
229 open_output(const char *infile, const char *outfile) argument
383 open_input(const char *infile, const char *define) argument
463 c_output(const char *infile, const char *define, int extend, const char *outfile) argument
567 h_output(const char *infile, const char *define, int extend, const char *outfile, int headeronly) argument
655 s_output(int argc, const char *argv[], const char *infile, const char *define, int extend, const char *outfile, int nomain, int netflag) argument
742 l_output(const char *infile, const char *define, int extend, const char *outfile) argument
773 t_output(const char *infile, const char *define, int extend, const char *outfile) argument
795 svc_output(const char *infile, const char *define, int extend, const char *outfile) argument
828 clnt_output(const char *infile, const char *define, int extend, const char *outfile) argument
1057 checkfiles(const char *infile, const char *outfile) argument
[all...]
/freebsd-current/usr.bin/bintrans/
H A Duudecode.c60 static const char *infile, *outfile; variable
76 infile = in;
77 infp = fopen(infile, "r");
81 infile = "stdin";
140 infp = fopen(infile = *argv, "r");
150 infile = "stdin";
173 warnx("%s: missing or bad \"begin\" line", infile);
224 warnx("%s: unable to parse file mode", infile);
248 infile);
271 warnc(EEXIST, "%s: %s", infile, outfil
[all...]
/freebsd-current/usr.bin/head/tests/
H A Dhead_test.sh31 touch infile expectfile
32 head infile > outfile
33 head < infile > outpipe
45 jot -b test 100 > infile
46 head infile > outfile
86 truncate -s +1K infile
87 echo test >> infile
88 head -c 4096 < infile > outpipe
89 atf_check cmp infile outpipe
/freebsd-current/usr.bin/sed/
H A Dextern.h44 extern FILE *infile, *outfile;
H A Dmain.c87 FILE *infile; /* Current input file */ variable
325 if (infile == NULL) {
330 infile = stdin;
339 if (infile != NULL && (c = getc(infile)) != EOF && !quit) {
340 (void)ungetc(c, infile);
344 if (infile == stdin) {
348 if (infile != NULL) {
349 fclose(infile);
434 if ((infile
[all...]
/freebsd-current/contrib/less/
H A Dlesskey.h63 extern int parse_lesskey(char *infile, struct lesskey_tables *tables);
/freebsd-current/crypto/openssl/apps/
H A Dnseq.c45 char *infile = NULL, *outfile = NULL, *prog; local
63 infile = opt_arg();
80 in = bio_open_default(infile, 'r', FORMAT_PEM);
101 prog, infile);
113 prog, infile);
H A Dsess_id.c53 char *infile = NULL, *outfile = NULL, *context = NULL, *prog; local
80 infile = opt_arg();
105 x = load_sess_id(infile, informat);
177 static SSL_SESSION *load_sess_id(char *infile, int format) argument
182 in = bio_open_default(infile, 'r', format);
H A Dpkeyparam.c54 char *infile = NULL, *outfile = NULL, *prog; local
69 infile = opt_arg();
98 in = bio_open_default(infile, 'r', FORMAT_PEM);
/freebsd-current/lib/libsecureboot/openpgp/
H A Ddearmor.c101 const char *infile, *outfile; local
107 infile = outfile = NULL;
111 infile = optarg;
120 if (!infile)
121 errx(1, "need -i infile");
128 data = read_file(infile, &n);
/freebsd-current/contrib/libxo/xopo/
H A Dxopo.c202 FILE *infile; local
207 infile = fopen(opt_input, "r");
208 if (infile == NULL)
212 infile = stdin;
226 if (fgets(buf, sizeof(buf), infile) == NULL)
281 if (infile != stdin)
282 fclose(infile);
/freebsd-current/usr.sbin/rpc.tlsservd/
H A Drpc.tlscommon.c166 BIO *infile; local
175 infile = BIO_new(BIO_s_file());
176 if (infile == NULL) {
180 ret = BIO_read_filename(infile, rpctls_crlfile);
183 BIO_free(infile);
188 for (crl = PEM_read_bio_X509_CRL(infile, NULL, NULL, nullstr);
189 crl != NULL; crl = PEM_read_bio_X509_CRL(infile, NULL, NULL,
232 BIO_free(infile);
/freebsd-current/usr.sbin/acpi/acpidump/
H A Dacpi_user.c198 dsdt_load_file(char *infile) argument
204 if ((acpi_mem_fd = open(infile, O_RDONLY)) == -1)
205 errx(1, "opening %s", infile);
210 errx(1, "fstat %s", infile);
214 errx(1, "mmap %s", infile);
/freebsd-current/usr.bin/m4/
H A Dmain.c83 struct input_file infile[MAXINP];/* input file stack (0=stdin) */ variable in typeref:struct:input_file
266 set_input(infile+0, stdin, "stdin");
273 set_input(infile, stdin, "stdin");
274 else if (fopen_trypath(infile, p) == NULL)
279 release_input(infile);
451 release_input(infile+ilevel--);
543 infile[ilevel].synch_lineno++;
544 if (infile[ilevel].synch_lineno !=
545 infile[ilevel].lineno)
558 infile[ileve
[all...]
/freebsd-current/tools/tools/vop_table/
H A Dvop_table.pl19 $infile = "/tmp/vt.$$";
73 #Generate $infile; sketchy
74 `find /usr/src/sys -type f -iname *.c -print | xargs grep 'vnodeops =' > $infile`;
77 open VT, $infile;
97 `rm -f $infile`;
/freebsd-current/secure/caroot/
H A DMAca-bundle.pl44 my $infile;
56 "infile:s" => \$infile,
60 if ($infile) {
61 open($inputfh, "<", $infile) or die "Failed to open $infile";
/freebsd-current/contrib/libpcap/testprogs/
H A Dvisopts.py236 def render_on_html(infile):
244 for line in infile:

Completed in 133 milliseconds

1234