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

1234

/freebsd-13-stable/usr.bin/tail/tests/
H A Dtail_test.sh35 touch infile expectfile
36 tail -r infile > outfile
37 tail -r < infile > outpipe
49 cat > infile <<HERE
59 tail -r infile > outfile
60 tail -r < infile > outpipe
72 cat > infile <<HERE
81 tail -rn2 infile > outfile
82 tail -rn2 < infile > outpipe
115 cat > infile <<HER
[all...]
/freebsd-13-stable/usr.bin/rpcgen/
H A Drpc_main.c146 checkfiles(cmd.infile, cmd.outfile);
149 checkfiles(cmd.infile, NULL);
152 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile);
154 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile,
157 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile);
159 s_output(argc, argv, cmd.infile, "-DRPC_SVC", DONT_EXTEND,
162 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile);
164 svc_output(cmd.infile, "-DRPC_SERVER", DONT_EXTEND,
167 clnt_output(cmd.infile, "-DRPC_CLIENT", DONT_EXTEND,
173 c_output(cmd.infile, "
238 open_output(const char *infile, const char *outfile) argument
298 open_input(const char *infile, const char *define) argument
378 c_output(const char *infile, const char *define, int extend, const char *outfile) argument
482 h_output(const char *infile, const char *define, int extend, const char *outfile, int headeronly) argument
570 s_output(int argc, const char *argv[], const char *infile, const char *define, int extend, const char *outfile, int nomain, int netflag) argument
657 l_output(const char *infile, const char *define, int extend, const char *outfile) argument
688 t_output(const char *infile, const char *define, int extend, const char *outfile) argument
710 svc_output(const char *infile, const char *define, int extend, const char *outfile) argument
743 clnt_output(const char *infile, const char *define, int extend, const char *outfile) argument
973 checkfiles(const char *infile, const char *outfile) argument
[all...]
/freebsd-13-stable/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);
209 infile = argv[optind];
210 if (access(infile, R_OK) != 0)
211 terminate("Can't access %s", infile);
236 if (!file_read(filetd, infile, ignore_non_c))
237 terminate("%s doesn't have type data to convert\n", infile);
252 if (outfile && strcmp(infile, outfile) != 0) {
253 write_ctf(mstrtd, infile, outfil
[all...]
/freebsd-13-stable/usr.bin/head/tests/
H A Dhead_test.sh32 touch infile expectfile
33 head infile > outfile
34 head < infile > outpipe
46 jot -b test 100 > infile
47 head infile > outfile
87 truncate -s +1K infile
88 echo test >> infile
89 head -c 4096 < infile > outpipe
90 atf_check cmp infile outpipe
/freebsd-13-stable/usr.bin/sed/
H A Dextern.h47 extern FILE *infile, *outfile;
H A Dmain.c100 FILE *infile; /* Current input file */ variable
338 if (infile == NULL) {
343 infile = stdin;
352 if (infile != NULL && (c = getc(infile)) != EOF && !quit) {
353 (void)ungetc(c, infile);
357 if (infile == stdin) {
361 if (infile != NULL) {
362 fclose(infile);
447 if ((infile
[all...]
/freebsd-13-stable/usr.bin/uudecode/
H A Duudecode.c70 static const char *infile, *outfile; variable
133 infp = fopen(infile = *argv, "r");
143 infile = "stdin";
166 warnx("%s: missing or bad \"begin\" line", infile);
217 warnx("%s: unable to parse file mode", infile);
241 infile);
264 warnc(EEXIST, "%s: %s", infile, outfile);
273 warn("%s: unlink %s", infile, outfile);
276 warnc(EISDIR, "%s: %s", infile, outfile);
284 warnc(EEXIST, "%s: %s", infile, outfil
[all...]
/freebsd-13-stable/lib/libsecureboot/openpgp/
H A Ddearmor.c103 const char *infile, *outfile; local
109 infile = outfile = NULL;
113 infile = optarg;
122 if (!infile)
123 errx(1, "need -i infile");
130 data = read_file(infile, &n);
/freebsd-13-stable/crypto/openssl/apps/
H A Dnseq.c37 char *infile = NULL, *outfile = NULL, *prog; local
55 infile = opt_arg();
66 in = bio_open_default(infile, 'r', FORMAT_PEM);
85 prog, infile);
97 prog, infile);
H A Dsess_id.c48 char *infile = NULL, *outfile = NULL, *context = NULL, *prog; local
75 infile = opt_arg();
98 x = load_sess_id(infile, informat);
170 static SSL_SESSION *load_sess_id(char *infile, int format) argument
175 in = bio_open_default(infile, 'r', format);
H A Dpkeyparam.c44 char *infile = NULL, *outfile = NULL, *prog; local
59 infile = opt_arg();
82 in = bio_open_default(infile, 'r', FORMAT_PEM);
H A Dpkey.c56 char *infile = NULL, *outfile = NULL, *passin = NULL, *passout = NULL; local
93 infile = opt_arg();
145 pkey = load_pubkey(infile, informat, 1, passin, e, "Public Key");
147 pkey = load_key(infile, informat, 1, passin, e, "key");
H A Dec.c75 char *infile = NULL, *outfile = NULL, *prog; local
100 infile = opt_arg();
171 in = bio_open_default(infile, 'r', informat);
185 pkey = load_pubkey(infile, informat, 1, passin, e, "Public Key");
187 pkey = load_key(infile, informat, 1, passin, e, "Private Key");
H A Dpkcs7.c52 char *infile = NULL, *outfile = NULL, *prog; local
77 infile = opt_arg();
103 in = bio_open_default(infile, 'r', informat);
/freebsd-13-stable/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-13-stable/secure/caroot/
H A DMAca-bundle.pl45 my $infile;
57 "infile:s" => \$infile,
61 if ($infile) {
62 open($inputfh, "<", $infile) or die "Failed to open $infile";
/freebsd-13-stable/usr.sbin/rpc.tlsservd/
H A Drpc.tlscommon.c168 BIO *infile; local
177 infile = BIO_new(BIO_s_file());
178 if (infile == NULL) {
182 ret = BIO_read_filename(infile, rpctls_crlfile);
185 BIO_free(infile);
190 for (crl = PEM_read_bio_X509_CRL(infile, NULL, NULL, nullstr);
191 crl != NULL; crl = PEM_read_bio_X509_CRL(infile, NULL, NULL,
234 BIO_free(infile);
/freebsd-13-stable/usr.sbin/acpi/acpidump/
H A Dacpi_user.c200 dsdt_load_file(char *infile) argument
206 if ((acpi_mem_fd = open(infile, O_RDONLY)) == -1)
207 errx(1, "opening %s", infile);
212 errx(1, "fstat %s", infile);
216 errx(1, "mmap %s", infile);
/freebsd-13-stable/usr.bin/m4/
H A Dmain.c68 struct input_file infile[MAXINP];/* input file stack (0=stdin) */ variable in typeref:struct:input_file
248 set_input(infile+0, stdin, "stdin");
255 set_input(infile, stdin, "stdin");
256 else if (fopen_trypath(infile, p) == NULL)
261 release_input(infile);
433 release_input(infile+ilevel--);
525 infile[ilevel].synch_lineno++;
526 if (infile[ilevel].synch_lineno !=
527 infile[ilevel].lineno)
540 infile[ileve
[all...]
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-sysinfo.c197 FILE *infile = fopen("/proc/octeon_info", "r"); local
198 if (infile == NULL)
204 while (!feof(infile))
207 if (fgets(buffer, sizeof(buffer), infile))
/freebsd-13-stable/tools/tools/vop_table/
H A Dvop_table.pl20 $infile = "/tmp/vt.$$";
74 #Generate $infile; sketchy
75 `find /usr/src/sys -type f -iname *.c -print | xargs grep 'vnodeops =' > $infile`;
78 open VT, $infile;
98 `rm -f $infile`;
/freebsd-13-stable/usr.sbin/yp_mkdb/
H A Dyp_mkdb.c105 char *infile = NULL; local
168 infile = argv[0];
171 if (infile == NULL || map == NULL) {
188 if (!strcmp(infile, "-")) {
191 if ((ifp = fopen(infile, "r")) == NULL)
192 err(1, "failed to open %s", infile);
/freebsd-13-stable/contrib/one-true-awk/
H A Dlib.c35 FILE *infile = NULL; variable
105 infile = stdin; /* no filenames, so use stdin */
129 while (argno < *ARGC || infile == stdin) {
131 if (infile == NULL) { /* have to open a new file */
145 infile = stdin;
146 else if ((infile = fopen(file, "r")) == NULL)
150 c = readrec(&buf, &bufsize, infile);
169 if (infile != stdin)
170 fclose(infile);
171 infile
[all...]
/freebsd-13-stable/contrib/libpcap/testprogs/
H A Dfiltertest.c200 char *infile; local
219 infile = NULL;
245 infile = optarg;
303 if (infile)
304 cmdbuf = read_infile(infile);
H A Dvalgrindtest.c235 char *infile; local
253 infile = NULL;
269 infile = optarg;
300 if (infile != NULL) {
305 cmdbuf = read_infile(infile);

Completed in 182 milliseconds

1234