HomeSort by: relevance | last modified time | path
    Searched refs:outfile (Results 1 - 25 of 62) sorted by relevancy

1 2 3

  /src/usr.bin/sdiff/
extern.h 9 extern FILE *outfile; /* file to save changes to */
  /src/sys/sys/
gennameih.awk 37 function printheader(outfile) {
38 print "Generating", outfile
40 print "/*\t$NetBSD: gennameih.awk,v 1.5 2009/12/23 14:17:19 pooka Exp $\t*/\n\n" > outfile
42 print "/*" > outfile
43 print " * WARNING: GENERATED FILE. DO NOT EDIT" > outfile
44 print " * (edit namei.src and run make namei in src/sys/sys)" > outfile
45 printf " * by: %s\n", getrcsid(myvers) > outfile
46 printf " * from: %s\n", getrcsid(fileheader) > outfile
47 print " */" > outfile
  /src/tests/dev/audio/
t_audio.awk 36 print " local outfile=/tmp/t_audio_$testname.$$"
37 print " $(atf_get_srcdir)/audiotest -ARe $testname > $outfile"
40 print " outmsg=`cat $outfile | grep -v '^\\['`"
41 print " rm -f $outfile"
  /src/sys/arch/alpha/stand/mkbootimage/
mkbootimage.c 60 const char *infile, *outfile; local in function:main
90 outfile = argv[1]; /* NULL if argc == 1 */
95 outfile != NULL ? outfile : "<stdout>");
151 if (outfile == NULL) {
153 outfile = "<stdout>";
154 } else if ((outfd = open(outfile, O_WRONLY|O_CREAT, 0666)) == -1)
155 err(EXIT_FAILURE, "open %s", outfile);
160 err(EXIT_FAILURE, "write %s", outfile);
162 errx(EXIT_FAILURE, "write %s: short write", outfile);
    [all...]
  /src/tests/net/ipsec/
t_ipsec_sockopt.sh 36 local outfile=$1
42 atf_check -s exit:0 -o match:"$src > $dst: $pktproto_out" cat $outfile
43 atf_check -s exit:0 -o match:"$dst > $src: $pktproto_in" cat $outfile
53 local outfile=./out
72 extract_new_packets $BUS > $outfile
77 extract_new_packets $BUS > $outfile
78 check_packets $outfile $ip_local $ip_peer ICMP
114 extract_new_packets $BUS > $outfile
115 check_packets $outfile $ip_local $ip_peer $pktproto "ICMP"
123 extract_new_packets $BUS > $outfile
    [all...]
t_ipsec_transport.sh 36 local outfile=$1
41 atf_check -s exit:0 -o match:"$src > $dst: $pktproto" cat $outfile
42 atf_check -s exit:0 -o match:"$dst > $src: $pktproto" cat $outfile
52 local outfile=./out
70 extract_new_packets $BUS > $outfile
75 extract_new_packets $BUS > $outfile
77 cat $outfile
79 cat $outfile
113 extract_new_packets $BUS > $outfile
114 check_packets $outfile $ip_local $ip_peer ICM
    [all...]
t_ipsec_tcp.sh 120 local outfile=./out
139 extract_new_packets $BUS > $outfile
143 extract_new_packets $BUS > $outfile
144 $DEBUG && cat $outfile
149 cat $outfile
152 cat $outfile
164 local outfile=./out
183 extract_new_packets $BUS > $outfile
187 extract_new_packets $BUS > $outfile
188 $DEBUG && cat $outfile
    [all...]
t_ipsec_misc.sh 130 local outfile=./out
151 extract_new_packets $BUS > $outfile
156 extract_new_packets $BUS > $outfile
158 cat $outfile
160 cat $outfile
181 extract_new_packets $BUS > $outfile
183 cat $outfile
185 cat $outfile
204 local outfile=./out
223 extract_new_packets $BUS > $outfile
    [all...]
t_ipsec_natt.sh 142 local outfile=$1
145 cat > $outfile <<-EOF
223 local outfile=./out
250 extract_new_packets $BUS_NAT > $outfile
256 extract_new_packets $BUS_NAT > $outfile
257 $DEBUG && cat $outfile
260 cat $outfile
263 cat $outfile
277 extract_new_packets $BUS_NAT > $outfile
278 $DEBUG && cat $outfile
    [all...]
t_ipsec_tunnel_ipcomp.sh 56 local outfile=$1
64 $DEBUG && cat $outfile
69 cat $outfile
72 cat $outfile
81 cat $outfile
84 cat $outfile
88 cat $outfile
91 cat $outfile
109 local outfile=./out
144 extract_new_packets $BUS_TUNNEL > $outfile
    [all...]
t_ipsec_tunnel.sh 56 local outfile=$1
61 atf_check -s exit:0 -o match:"$src > $dst: $proto" cat $outfile
62 atf_check -s exit:0 -o match:"$dst > $src: $proto" cat $outfile
78 local outfile=./out
112 extract_new_packets $BUS_TUNNEL > $outfile
117 extract_new_packets $BUS_TUNNEL > $outfile
120 cat $outfile
123 cat $outfile
157 extract_new_packets $BUS_TUNNEL > $outfile
158 check_tunnel_packets $outfile $ip_gw_local_tunnel $ip_gw_remote_tunnel
    [all...]
t_ipsec_tunnel_odd.sh 56 local outfile=$1
61 atf_check -s exit:0 -o match:"$src > $dst: $proto" cat $outfile
62 atf_check -s exit:0 -o match:"$dst > $src: $proto" cat $outfile
80 local outfile=./out
118 extract_new_packets $BUS_TUNNEL > $outfile
123 extract_new_packets $BUS_TUNNEL > $outfile
126 cat $outfile
129 cat $outfile
163 extract_new_packets $BUS_TUNNEL > $outfile
164 check_tunnel_packets $outfile $ip6_gw_local_tunnel $ip6_gw_remote_tunnel
    [all...]
  /src/tests/net/if_wg/
t_misc.sh 150 local outfile=./out
191 extract_new_packets $BUS > $outfile
199 extract_new_packets $BUS > $outfile
200 $DEBUG && cat $outfile
202 n=$(grep "$ip_local.$port > $ip_peer.$port" $outfile |wc -l)
239 local outfile=./out
266 extract_new_packets $BUS > $outfile
267 $DEBUG && cat $outfile
273 extract_new_packets $BUS > $outfile
274 $DEBUG && cat $outfile
    [all...]
  /src/usr.bin/ktrace/
ktrace.c 85 const char *outfile; local in function:main
100 outfile = infile = NULL;
103 outfile = DEF_TRACEFILE;
131 outfile = optarg;
149 outfile = optarg;
201 if (clear == CLEAR && outfile == NULL && pid == 0)
227 (void)do_ktrace(outfile, vers, ops, trpoints, pid, block);
231 if (outfile && strcmp(outfile, "-")) {
232 if ((fd = open(outfile, O_CREAT | O_WRONLY
    [all...]
  /src/usr.bin/sort/
sort.c 121 char *outfile, *outpath = 0; local in function:main
320 outfile = outpath = toutpath;
342 outfile = toutpath;
346 outfile = outpath;
348 if ((outfp = fopen(outfile, "w")) == NULL)
349 err(2, "output file %s", outfile);
357 if (outfile != outpath) {
358 if (access(outfile, F_OK))
359 err(2, "%s", outfile);
366 if (lchmod(outfile, st.st_mode & ALLPERMS) != 0)
    [all...]
  /src/common/dist/zlib/examples/
gun.c 120 int outfile; member in struct:outd
140 if (me->outfile != -1)
145 ret = (int)write(me->outfile, buf, ret);
191 /* Decompress a compress (LZW) file from indp to outfile. The compress magic
201 int outfile, z_stream *strm)
222 outd.outfile = outfile;
371 /* Decompress a gzip file from infile to outfile. strm is assumed to have been
374 to the output file. If outfile is -1, then the gzip stream(s) integrity is
383 local int gunpipe(z_stream *strm, int infile, int outfile)
551 int infile, outfile; local in function:gunzip
    [all...]
  /src/usr.bin/ctags/
ctags.c 89 static const char *outfile = "tags"; /* output file */ local in function:main
115 outfile = optarg;
144 if ((sz = shquote(outfile, tname, sizeof tname)) >= sizeof tname) {
148 outfile);
151 outfile);
206 argv[step], outfile);
211 "Cmd:\n %s", outfile, cmd);
217 if (!(outf = fopen(outfile, aflag ? "a" : "w")))
218 err(EXIT_FAILURE, "%s", outfile);
222 err(EXIT_FAILURE, "output error (%s)", outfile);
    [all...]
  /src/usr.bin/rpcgen/
rpc_main.c 80 char *outfile; /* output module name */ member in struct:commandline
197 checkfiles(cmd.infile, cmd.outfile);
202 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile);
205 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile);
208 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile);
212 cmd.outfile, cmd.mflag, cmd.nflag);
215 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile);
218 svc_output(cmd.infile, "-DRPC_SERVER", DONT_EXTEND, cmd.outfile);
221 clnt_output(cmd.infile, "-DRPC_CLIENT", DONT_EXTEND, cmd.outfile);
295 open_output(const char *infile, const char *outfile)
    [all...]
  /src/tests/net/if_ipsec/
t_ipsec_natt.sh 109 local outfile=$1
112 cat > $outfile <<-EOF
182 local outfile=./out.ping
184 extract_new_packets $bus > $outfile
189 extract_new_packets $bus > $outfile
190 $DEBUG && cat $outfile
193 cat $outfile
196 cat $outfile
209 local outfile=./out.ping_over_ipsecif
211 extract_new_packets $bus > $outfile
    [all...]
  /src/usr.bin/m4/
misc.c 234 if (active == outfile[n])
236 rewind(outfile[n]);
237 while ((c = getc(outfile[n])) != EOF)
239 (void) fclose(outfile[n]);
240 outfile[n] = NULL;
252 if (outfile[n] != NULL) {
253 (void) fclose(outfile[n]);
280 outfile = (FILE **)xrealloc(outfile, sizeof(FILE *) * n,
283 outfile[i] = NULL
    [all...]
  /src/usr.bin/sed/
main.c 108 FILE *outfile; /* Current output file */ variable in typeref:typename:FILE *
357 outfile = stdout;
392 if (outfile != NULL && outfile != stdout)
393 if (fclose(outfile) != 0) {
398 outfile = NULL;
442 if (outfile != NULL && outfile != stdout)
443 fclose(outfile);
444 if ((outfile = fopen(tmpfname, "w")) == NULL
    [all...]
process.c 99 fwrite(ps, 1, psl, outfile); \
100 if (psanl) fputc('\n', outfile); \
145 (void)fprintf(outfile, "%s", cp->t);
177 (void)fprintf(outfile, "%s", cp->t);
275 (void)fprintf(outfile, "%lu\n", linenum);
563 outfile);
577 (void)fwrite(buf, sizeof(char), count, outfile);
581 if (ferror(outfile))
602 if (outfile != stdout)
631 fprintf(outfile, "\\\n")
    [all...]
extern.h 47 extern FILE *infile, *outfile;
  /src/tests/net/if_gif/
t_gif_unnumbered.sh 74 local outfile=./out
116 extract_new_packets $BUS_GLOBAL > $outfile
120 extract_new_packets $BUS_GLOBAL > $outfile
121 $DEBUG && cat $outfile
124 cat $outfile
127 cat $outfile
138 local outfile=./out
182 extract_new_packets $BUS_GLOBAL > $outfile
186 extract_new_packets $BUS_GLOBAL > $outfile
187 $DEBUG && cat $outfile
    [all...]
  /src/usr.bin/cap_mkdb/
cap_mkdb.c 66 static char *capname, outfile[MAXPATHLEN]; variable in typeref:typename:char * []
129 (void)snprintf(outfile, sizeof(outfile), "%s.db.tmp",
131 if ((capname = strdup(outfile)) == NULL)
133 p = strrchr(outfile, '.');
136 (void)unlink(outfile);
139 err(1, "%s", outfile);
148 if (rename(capname, outfile) == -1)
283 "Usage: %s [-b|-l] [-v] [-f outfile] file1 [file2 ...]\n",

Completed in 22 milliseconds

1 2 3