Home
last modified time | relevance | path

Searched refs:outfile (Results 1 – 25 of 198) sorted by relevance

12345678

/netbsd/src/external/gpl3/gcc/dist/gcc/
Dprint-rtl-function.cc41 print_edge (FILE *outfile, edge e, bool from) in print_edge() argument
43 fprintf (outfile, " (%s ", from ? "edge-from" : "edge-to"); in print_edge()
49 fprintf (outfile, "entry"); in print_edge()
52 fprintf (outfile, "exit"); in print_edge()
55 fprintf (outfile, "%i", bb->index); in print_edge()
63 fprintf (outfile, " (flags \""); in print_edge()
70 fprintf (outfile, " | "); \ in print_edge()
71 fprintf (outfile, "%s", (#NAME)); \ in print_edge()
78 fprintf (outfile, "\")"); in print_edge()
81 fprintf (outfile, ")\n"); in print_edge()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dalign.exp.tcl54 set outfile [open $filename w]
57 puts -nonewline $outfile "#define DEF(T,U) struct align_pair_ ## T ## _x_ ## U "
58 puts $outfile "{ T one; U two; }"
60 …puts -nonewline $outfile "#define DEF_WITH_1_STATIC(T,U) struct align_pair_static_ ## T ## _x_ ## …
61 puts $outfile "{ static T one; U two; }"
62 …puts -nonewline $outfile "#define DEF_WITH_2_STATIC(T,U) struct align_pair_static_ ## T ## _x_stat…
63 puts $outfile "{ static T one; static U two; }"
66 puts $outfile "unsigned a_void = ${align_func} (void);"
73 puts $outfile "typedef $type $utype;"
75 puts $outfile "$type item_$utype;"
[all …]
Dmany-completions.exp38 set outfile [open $filename w]
40 puts $outfile "
51 puts $outfile "MAKE_FUNC ([format {%03d} $i])"
54 puts $outfile "\nint\nmain ()\n{"
56 puts $outfile " CALL_FUNC ([format {%03d} $i]);"
59 puts $outfile " return 0;\n}"
60 close $outfile
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dsymmisc.c48 int depth, ui_file *outfile);
146 dump_msymbols (struct objfile *objfile, struct ui_file *outfile) in dump_msymbols() argument
152 gdb_printf (outfile, "\nObject file %s:\n\n", objfile_name (objfile)); in dump_msymbols()
155 gdb_printf (outfile, "No minimal symbols found.\n"); in dump_msymbols()
200 gdb_printf (outfile, "[%2d] %c ", index, ms_type); in dump_msymbols()
206 gdb_puts (paddress (gdbarch, addr), outfile); in dump_msymbols()
207 gdb_printf (outfile, " %s", msymbol->linkage_name ()); in dump_msymbols()
211 gdb_printf (outfile, " section %s", in dump_msymbols()
214 gdb_printf (outfile, " spurious section %ld", in dump_msymbols()
219 gdb_printf (outfile, " %s", msymbol->demangled_name ()); in dump_msymbols()
[all …]
Dpsymtab.c501 const char *what, struct ui_file *outfile) in print_partial_symbols() argument
503 gdb_printf (outfile, " %s partial symbols:\n", what); in print_partial_symbols()
507 gdb_printf (outfile, " `%s'", p->ginfo.linkage_name ()); in print_partial_symbols()
510 gdb_printf (outfile, " `%s'", in print_partial_symbols()
513 gdb_puts (", ", outfile); in print_partial_symbols()
517 gdb_puts ("undefined domain, ", outfile); in print_partial_symbols()
523 gdb_puts ("struct domain, ", outfile); in print_partial_symbols()
526 gdb_puts ("module domain, ", outfile); in print_partial_symbols()
529 gdb_puts ("label domain, ", outfile); in print_partial_symbols()
532 gdb_puts ("common block domain, ", outfile); in print_partial_symbols()
[all …]
/netbsd/src/crypto/external/bsd/heimdal/dist/po/
Dgen-po.in11 outfile=${outdir}/${domain}.pot
23 -o ${outfile}.new \
26 test -f ${outfile}.new && \
27 perl -pi -e "s@${top_srcdir}/@@" ${outfile}.new
29 grep -v "POT-Creation-Date:" ${outfile}.new > ${outfile}.new2
30 grep -v "POT-Creation-Date:" ${outfile} > ${outfile}.old
32 if ! diff ${outfile}.old ${outfile}.new2 >/dev/null; then
33 echo "${outfile} changed"
34 cp ${outfile}.new ${outfile}
36 rm ${outfile}.new* ${outfile}.old
/netbsd/src/external/gpl3/binutils/dist/gas/
Dconfigure.com44 $ open/write outfile targ-cpu.h
45 $ write outfile "#include ""tc-''arch'.h"""
46 $ close outfile
48 $ open/write outfile targ-cpu.c
49 $ write outfile "#include ""tc-''arch'.c"""
50 $ close outfile
54 $ open/write outfile targ-env.h
55 $ write outfile "#include ""te-''env'.h"""
56 $ close outfile
61 $ open/write outfile obj-format.h
[all …]
/netbsd/src/usr.bin/rpcgen/
Drpc_main.c80 char *outfile; /* output module name */ member
197 checkfiles(cmd.infile, cmd.outfile); in main()
202 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile); in main()
205 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile); in main()
208 … l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile); in main()
212 cmd.outfile, cmd.mflag, cmd.nflag); in main()
215 … t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile); in main()
218 … svc_output(cmd.infile, "-DRPC_SERVER", DONT_EXTEND, cmd.outfile); in main()
221 … clnt_output(cmd.infile, "-DRPC_CLIENT", DONT_EXTEND, cmd.outfile); in main()
295 open_output(const char *infile, const char *outfile) in open_output() argument
[all …]
/netbsd/src/sys/sys/
Dgennameih.awk37 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
/netbsd/src/external/bsd/less/dist/
Dlesskey.c109 char *outfile = NULL ; variable
185 outfile = NULL; in parse_args()
208 outfile = &arg[8]; in parse_args()
210 outfile = &arg[9]; in parse_args()
222 outfile = &argv[0][2]; in parse_args()
224 if (*outfile == '\0') in parse_args()
228 outfile = *(++argv); in parse_args()
323 if (outfile == NULL) in main()
324 outfile = getenv("LESSKEY"); in main()
325 if (outfile == NULL) in main()
[all …]
/netbsd/src/common/dist/zlib/examples/
Dgun.c120 int outfile; member
140 if (me->outfile != -1) in out()
145 ret = (int)write(me->outfile, buf, ret); in out()
201 int outfile, z_stream *strm) in lunpipe() argument
222 outd.outfile = outfile; in lunpipe()
383 local int gunpipe(z_stream *strm, int infile, int outfile) in gunpipe() argument
415 ret = lunpipe(have, next, indp, outfile, strm); in gunpipe()
467 outd.outfile = outfile; in gunpipe()
551 int infile, outfile; in gunzip() local
566 outfile = -1; in gunzip()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/
Dalign.exp53 set outfile [open $filename w]
56 puts $outfile {
108 puts $outfile "$type item_$utype;"
109 puts $outfile "unsigned a_$utype\n = alignof ($type);"
110 puts $outfile "typedef $type t_$utype;"
111 puts $outfile "t_$utype item_t_$utype;"
119 puts $outfile "align_pair<$type, $inner> item_${utype}_x_${uinner};"
120 puts $outfile "unsigned a_${utype}_x_${uinner}"
121 puts $outfile " = alignof (align_pair<$type, $inner>);"
123 puts $outfile "align_union<$type, $inner> item_${utype}_u_${uinner};"
[all …]
/netbsd/src/sys/arch/alpha/stand/mkbootimage/
Dmkbootimage.c60 const char *infile, *outfile; in main() local
90 outfile = argv[1]; /* NULL if argc == 1 */ in main()
95 outfile != NULL ? outfile : "<stdout>"); in main()
151 if (outfile == NULL) { in main()
153 outfile = "<stdout>"; in main()
154 } else if ((outfd = open(outfile, O_WRONLY|O_CREAT, 0666)) == -1) in main()
155 err(EXIT_FAILURE, "open %s", outfile); in main()
160 err(EXIT_FAILURE, "write %s", outfile); in main()
162 errx(EXIT_FAILURE, "write %s: short write", outfile); in main()
/netbsd/src/usr.bin/ktrace/
Dktrace.c85 const char *outfile; in main() local
100 outfile = infile = NULL; in main()
103 outfile = DEF_TRACEFILE; in main()
131 outfile = optarg; in main()
149 outfile = optarg; in main()
201 if (clear == CLEAR && outfile == NULL && pid == 0) in main()
227 (void)do_ktrace(outfile, vers, ops, trpoints, pid, block); in main()
231 if (outfile && strcmp(outfile, "-")) { in main()
232 if ((fd = open(outfile, O_CREAT | O_WRONLY | in main()
235 err(EXIT_FAILURE, "%s", outfile); in main()
[all …]
/netbsd/src/usr.bin/ctags/
Dctags.c89 static const char *outfile = "tags"; /* output file */ in main() local
115 outfile = optarg; in main()
144 if ((sz = shquote(outfile, tname, sizeof tname)) >= sizeof tname) { in main()
148 outfile); in main()
151 outfile); in main()
206 argv[step], outfile); in main()
211 "Cmd:\n %s", outfile, cmd); in main()
217 if (!(outf = fopen(outfile, aflag ? "a" : "w"))) in main()
218 err(EXIT_FAILURE, "%s", outfile); in main()
222 err(EXIT_FAILURE, "output error (%s)", outfile); in main()
[all …]
/netbsd/src/usr.bin/sort/
Dsort.c121 char *outfile, *outpath = 0; in main() local
320 outfile = outpath = toutpath; in main()
342 outfile = toutpath; in main()
346 outfile = outpath; in main()
348 if ((outfp = fopen(outfile, "w")) == NULL) in main()
349 err(2, "output file %s", outfile); in main()
357 if (outfile != outpath) { in main()
358 if (access(outfile, F_OK)) in main()
359 err(2, "%s", outfile); in main()
366 if (lchmod(outfile, st.st_mode & ALLPERMS) != 0) { in main()
[all …]
/netbsd/src/usr.bin/sed/
Dmain.c108 FILE *outfile; /* Current output file */ variable
357 outfile = stdout; in mf_fgets()
392 if (outfile != NULL && outfile != stdout) in mf_fgets()
393 if (fclose(outfile) != 0) { in mf_fgets()
398 outfile = NULL; in mf_fgets()
442 if (outfile != NULL && outfile != stdout) in mf_fgets()
443 fclose(outfile); in mf_fgets()
444 if ((outfile = fopen(tmpfname, "w")) == NULL) in mf_fgets()
446 fchown(fileno(outfile), sb.st_uid, sb.st_gid); in mf_fgets()
447 fchmod(fileno(outfile), sb.st_mode & ALLPERMS); in mf_fgets()
[all …]
Dprocess.c99 fwrite(ps, 1, psl, outfile); \
100 if (psanl) fputc('\n', outfile); \
145 (void)fprintf(outfile, "%s", cp->t); in process()
177 (void)fprintf(outfile, "%s", cp->t); in process()
275 (void)fprintf(outfile, "%lu\n", linenum); in process()
563 outfile); in flush_appends()
577 (void)fwrite(buf, sizeof(char), count, outfile); in flush_appends()
581 if (ferror(outfile)) in flush_appends()
602 if (outfile != stdout) in lputs()
631 fprintf(outfile, "\\\n"); in lputs()
[all …]
/netbsd/src/usr.bin/gzip/
Dgzip.c260 static int check_outfile(const char *outfile);
1183 check_outfile(const char *outfile) in check_outfile() argument
1188 if (lflag == 0 && stat(outfile, &sb) == 0) { in check_outfile()
1190 unlink(outfile); in check_outfile()
1195 "overwrite (y or n)? " , outfile); in check_outfile()
1201 unlink(outfile); in check_outfile()
1203 maybe_warnx("%s already exists -- skipping", outfile); in check_outfile()
1299 file_compress(char *file, char *outfile, size_t outsize) in file_compress() argument
1344 if ((size_t)snprintf(outfile, outsize, "%s%s", in file_compress()
1346 memcpy(outfile + outsize - suffixes[0].ziplen - 1, in file_compress()
[all …]
/netbsd/src/external/mit/expat/dist/tests/
Dxmltest.sh88 $XMLWF -p -N -d "$OUTPUT$reldir" "$file" > outfile || return $?
89 read outdata < outfile
92 $DIFF "$OUTPUT$reldir$file" "out/$file" > outfile
93 if [ -s outfile ] ; then
94 cp outfile "$OUTPUT$reldir$file.diff"
138 rm -f outfile
147 rm outfile
/netbsd/src/usr.bin/m4/
Dmisc.c234 if (active == outfile[n]) in getdiv()
236 rewind(outfile[n]); in getdiv()
237 while ((c = getc(outfile[n])) != EOF) in getdiv()
239 (void) fclose(outfile[n]); in getdiv()
240 outfile[n] = NULL; in getdiv()
252 if (outfile[n] != NULL) { in killdiv()
253 (void) fclose(outfile[n]); in killdiv()
280 outfile = (FILE **)xrealloc(outfile, sizeof(FILE *) * n, in resizedivs()
283 outfile[i] = NULL; in resizedivs()
/netbsd/src/usr.bin/cap_mkdb/
Dcap_mkdb.c66 static char *capname, outfile[MAXPATHLEN]; variable
129 (void)snprintf(outfile, sizeof(outfile), "%s.db.tmp", in main()
131 if ((capname = strdup(outfile)) == NULL) in main()
133 p = strrchr(outfile, '.'); in main()
136 (void)unlink(outfile); in main()
139 err(1, "%s", outfile); in main()
148 if (rename(capname, outfile) == -1) in main()
/netbsd/src/common/dist/zlib/contrib/untgz/
Duntgz.c392 FILE *outfile = NULL; in tar() local
481 outfile = fopen(fname,"wb"); in tar()
482 if (outfile == NULL) { in tar()
489 outfile = fopen(fname,"wb"); in tar()
492 if (outfile != NULL) in tar()
498 outfile = NULL; in tar()
530 if (outfile != NULL) in tar()
532 if (fwrite(&buffer,sizeof(char),bytes,outfile) != bytes) in tar()
536 fclose(outfile); in tar()
537 outfile = NULL; in tar()
[all …]
/netbsd/src/external/gpl3/gdb/dist/libiberty/
Dgather-docs46 $outfile = shift;
48 if ($outfile !~ /\S/ || ! -f "$srcdir/Makefile.in" ) {
102 if (!open (OUT, "> $outfile")) {
103 print STDERR "Cannot open $outfile for writing: $!\n";
107 print "Writing $outfile\n" if $verbose;
/netbsd/src/external/gpl3/gcc/dist/libiberty/
Dgather-docs46 $outfile = shift;
48 if ($outfile !~ /\S/ || ! -f "$srcdir/Makefile.in" ) {
102 if (!open (OUT, "> $outfile")) {
103 print STDERR "Cannot open $outfile for writing: $!\n";
107 print "Writing $outfile\n" if $verbose;

12345678