/freebsd-13-stable/usr.bin/tail/tests/ |
H A D | tail_test.sh | 35 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 D | rpc_main.c | 146 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 D | ctfconvert.c | 49 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 D | head_test.sh | 32 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 D | extern.h | 47 extern FILE *infile, *outfile;
|
H A D | main.c | 100 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 D | uudecode.c | 70 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 D | dearmor.c | 103 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 D | nseq.c | 37 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 D | sess_id.c | 48 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 D | pkeyparam.c | 44 char *infile = NULL, *outfile = NULL, *prog; local 59 infile = opt_arg(); 82 in = bio_open_default(infile, 'r', FORMAT_PEM);
|
H A D | pkey.c | 56 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 D | ec.c | 75 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 D | pkcs7.c | 52 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 D | xopo.c | 202 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 D | MAca-bundle.pl | 45 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 D | rpc.tlscommon.c | 168 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 D | acpi_user.c | 200 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 D | main.c | 68 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 D | cvmx-sysinfo.c | 197 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 D | vop_table.pl | 20 $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 D | yp_mkdb.c | 105 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 D | lib.c | 35 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 D | filtertest.c | 200 char *infile; local 219 infile = NULL; 245 infile = optarg; 303 if (infile) 304 cmdbuf = read_infile(infile);
|
H A D | valgrindtest.c | 235 char *infile; local 253 infile = NULL; 269 infile = optarg; 300 if (infile != NULL) { 305 cmdbuf = read_infile(infile);
|