Home
last modified time | relevance | path

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

1234

/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dprint-rtl.c49 static FILE *outfile; variable
85 print_mem_expr (FILE *outfile, const_tree expr) in print_mem_expr() argument
87 fputc (' ', outfile); in print_mem_expr()
88 print_generic_expr (outfile, CONST_CAST_TREE (expr), dump_flags); in print_mem_expr()
105 fputc (' ', outfile); in print_rtx()
107 fprintf (outfile, "\n%s%*s", print_rtx_head, indent * 2, ""); in print_rtx()
113 fputs ("(nil)", outfile); in print_rtx()
119 fprintf (outfile, "(??? bad code %d\n%s%*s)", GET_CODE (in_rtx), in print_rtx()
140 fputc ('(', outfile); in print_rtx()
142 fprintf (outfile, "(%s", GET_RTX_NAME (GET_CODE (in_rtx))); in print_rtx()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/
H A Dsymmisc.c78 struct ui_file *outfile; member
205 dump_msymbols (struct objfile *objfile, struct ui_file *outfile) in dump_msymbols() argument
212 fprintf_filtered (outfile, "\nObject file %s:\n\n", objfile->name); in dump_msymbols()
215 fprintf_filtered (outfile, "No minimal symbols found.\n"); in dump_msymbols()
259 fprintf_filtered (outfile, "[%2d] %c ", index, ms_type); in dump_msymbols()
261 outfile); in dump_msymbols()
262 fprintf_filtered (outfile, " %s", SYMBOL_LINKAGE_NAME (msymbol)); in dump_msymbols()
264 fprintf_filtered (outfile, " section %s", in dump_msymbols()
269 fprintf_filtered (outfile, " %s", SYMBOL_DEMANGLED_NAME (msymbol)); in dump_msymbols()
272 fprintf_filtered (outfile, " %s", msymbol->filename); in dump_msymbols()
[all …]
H A Dpsymtab.c860 struct ui_file *outfile) in print_partial_symbols() argument
862 fprintf_filtered (outfile, " %s partial symbols:\n", what); in print_partial_symbols()
866 fprintf_filtered (outfile, " `%s'", SYMBOL_LINKAGE_NAME (*p)); in print_partial_symbols()
869 fprintf_filtered (outfile, " `%s'", SYMBOL_DEMANGLED_NAME (*p)); in print_partial_symbols()
871 fputs_filtered (", ", outfile); in print_partial_symbols()
875 fputs_filtered ("undefined domain, ", outfile); in print_partial_symbols()
881 fputs_filtered ("struct domain, ", outfile); in print_partial_symbols()
884 fputs_filtered ("label domain, ", outfile); in print_partial_symbols()
887 fputs_filtered ("<invalid domain>, ", outfile); in print_partial_symbols()
893 fputs_filtered ("undefined", outfile); in print_partial_symbols()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dprint-rtl-function.c41 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 …]
/dflybsd-src/usr.bin/rpcgen/
H A Drpc_main.c149 checkfiles(cmd.infile, cmd.outfile); in main()
154 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile); in main()
156 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile, in main()
159 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile); in main()
162 cmd.outfile, cmd.mflag, cmd.nflag); in main()
164 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile); in main()
167 cmd.outfile); in main()
170 cmd.outfile); in main()
239 open_output(const char *infile, const char *outfile) in open_output() argument
241 if (outfile == NULL) { in open_output()
[all …]
/dflybsd-src/usr.bin/uudecode/
H A Duudecode.c57 static const char *infile, *outfile; variable
93 outfile = optarg; /* set the output filename */ in main()
144 outfile = "/dev/stdout"; in decode()
248 outfile = q; in decode2()
251 if (pflag || strcmp(outfile, "/dev/stdout") == 0) in decode2()
255 if (lstat(outfile, &st) == 0) { in decode2()
257 warnc(EEXIST, "%s: %s", infile, outfile); in decode2()
264 if (unlink(outfile) == 0 || errno == ENOENT) in decode2()
266 warn("%s: unlink %s", infile, outfile); in decode2()
269 warnc(EISDIR, "%s: %s", infile, outfile); in decode2()
[all …]
/dflybsd-src/contrib/less/
H A Dlesskey.c107 constant char *outfile = NULL; variable
183 outfile = NULL; in parse_args()
206 outfile = &arg[8]; in parse_args()
208 outfile = &arg[9]; in parse_args()
220 outfile = &argv[0][2]; in parse_args()
222 if (*outfile == '\0') in parse_args()
226 outfile = *(++argv); in parse_args()
328 if (outfile == NULL) in main()
329 outfile = getenv("LESSKEY"); in main()
330 if (outfile == NULL) in main()
[all …]
/dflybsd-src/usr.bin/ctags/
H A Dctags.c79 static const char *outfile = "tags"; /* output file */ in main() local
108 outfile = optarg; in main()
158 if ((oldf = fopen(outfile, "r")) == NULL) in main()
159 err(1, "opening %s", outfile); in main()
160 if (unlink(outfile)) in main()
161 err(1, "unlinking %s", outfile); in main()
162 if ((outf = fopen(outfile, "w")) == NULL) in main()
163 err(1, "recreating %s", outfile); in main()
189 if (!(outf = fopen(outfile, aflag ? "a" : "w"))) in main()
190 err(1, "%s", outfile); in main()
[all …]
/dflybsd-src/usr.bin/gzip/
H A Dgzip.c212 static int check_outfile(const char *outfile);
1103 check_outfile(const char *outfile) in check_outfile() argument
1108 if (lflag == 0 && stat(outfile, &sb) == 0) { in check_outfile()
1110 unlink(outfile); in check_outfile()
1115 "overwrite (y or n)? " , outfile); in check_outfile()
1121 unlink(outfile); in check_outfile()
1123 maybe_warnx("%s already exists -- skipping", outfile); in check_outfile()
1173 file_compress(char *file, char *outfile, size_t outsize) in file_compress() argument
1211 if ((size_t)snprintf(outfile, outsize, "%s%s", in file_compress()
1216 if (check_outfile(outfile) == 0) { in file_compress()
[all …]
/dflybsd-src/usr.bin/sed/
H A Dmain.c94 FILE *outfile; /* Current output file */ variable
338 outfile = stdout; in mf_fgets()
373 if (outfile != NULL && outfile != stdout) in mf_fgets()
374 if (fclose(outfile) != 0) { in mf_fgets()
379 outfile = NULL; in mf_fgets()
425 if (outfile != NULL && outfile != stdout) in mf_fgets()
426 fclose(outfile); in mf_fgets()
427 if ((outfile = fopen(tmpfname, "w")) == NULL) in mf_fgets()
429 fchown(fileno(outfile), sb.st_uid, sb.st_gid); in mf_fgets()
430 fchmod(fileno(outfile), sb.st_mode & ALLPERMS); in mf_fgets()
[all …]
H A Dprocess.c91 fwrite(ps, 1, psl, outfile); \
92 if (psanl) fputc('\n', outfile); \
139 (void)fprintf(outfile, "%s", cp->t); in process()
171 (void)fprintf(outfile, "%s", cp->t); in process()
274 (void)fprintf(outfile, "%lu\n", linenum); in process()
562 outfile); in flush_appends()
576 (void)fwrite(buf, sizeof(char), count, outfile); in flush_appends()
580 if (ferror(outfile)) in flush_appends()
597 if (outfile != stdout) in lputs()
624 fprintf(outfile, "\\\n"); in lputs()
[all …]
/dflybsd-src/usr.bin/m4/
H A Dmisc.c232 if (active == outfile[n]) in getdiv()
234 rewind(outfile[n]); in getdiv()
235 while ((c = getc(outfile[n])) != EOF) in getdiv()
237 fclose(outfile[n]); in getdiv()
238 outfile[n] = NULL; in getdiv()
258 if (outfile[n] != NULL) { in killdiv()
259 fclose(outfile[n]); in killdiv()
288 outfile = (FILE **)xrealloc(outfile, sizeof(FILE *) * n, in resizedivs()
291 outfile[i] = NULL; in resizedivs()
/dflybsd-src/tools/multimedia/cxm/extract_fw/
H A Dcxm_extract_fw.c69 char outfile[MAXPATHLEN]; in save_firmware() local
75 if ((size_t)snprintf(outfile, sizeof(outfile), "%s.c", name) >= in save_firmware()
76 sizeof(outfile)) in save_firmware()
79 if (!(ofp = fopen(outfile, "w"))) in save_firmware()
81 outfile); in save_firmware()
/dflybsd-src/usr.bin/uuencode/
H A Duuencode.c67 char *outfile; in main() local
70 outfile = NULL; in main()
81 outfile = optarg; in main()
110 if (outfile != NULL) { in main()
111 output = fopen(outfile, "w+"); in main()
113 err(1, "unable to open %s for output", outfile); in main()
/dflybsd-src/usr.bin/sort/
H A Dsort.c1049 char *outfile, *real_outfile; in main() local
1055 outfile = sort_strdup("-"); in main()
1117 outfile = sort_realloc(outfile, (strlen(optarg) + 1)); in main()
1118 strcpy(outfile, optarg); in main()
1318 if (strcmp(outfile, "-")) { in main()
1321 if (strcmp(argv[i], outfile) == 0) { in main()
1322 real_outfile = sort_strdup(outfile); in main()
1324 char* tmp = sort_malloc(strlen(outfile) + in main()
1327 strcpy(tmp, outfile); in main()
1329 sort_free(outfile); in main()
[all …]
/dflybsd-src/contrib/cvs-1.12/diff/
H A Dutil.c244 outfile = fdopen (pipes[1], "w"); in begin_output()
245 if (!outfile) in begin_output()
256 outfile = popen (command, "w"); in begin_output()
257 if (!outfile) in begin_output()
300 if (paginate_flag && outfile != 0 && outfile != stdout) in finish_output()
304 if (ferror (outfile)) in finish_output()
307 wstatus = pclose (outfile); in finish_output()
309 if (fclose (outfile) != 0) in finish_output()
336 putc (*text, outfile);
338 fwrite (text, sizeof (char), len, outfile);
[all …]
/dflybsd-src/crypto/libressl/apps/openssl/
H A Dpkeyparam.c72 char *outfile; member
101 .opt.arg = &pkeyparam_config.outfile,
151 if (pkeyparam_config.outfile) { in pkeyparam_main()
152 if (!(out = BIO_new_file(pkeyparam_config.outfile, "w"))) { in pkeyparam_main()
154 pkeyparam_config.outfile); in pkeyparam_main()
H A Dgendh.c91 char *outfile; member
115 .opt.arg = &gendh_config.outfile,
174 if (gendh_config.outfile == NULL) { in gendh_main()
177 if (BIO_write_filename(out, gendh_config.outfile) <= 0) { in gendh_main()
178 perror(gendh_config.outfile); in gendh_main()
H A Dnseq.c69 char *outfile; member
86 .opt.arg = &nseq_config.outfile,
135 if (nseq_config.outfile) { in nseq_main()
136 if (!(out = BIO_new_file(nseq_config.outfile, "w"))) { in nseq_main()
138 "Can't open output file %s\n", nseq_config.outfile); in nseq_main()
H A Dspkac.c81 char *outfile; member
122 .opt.arg = &spkac_config.outfile,
226 if (spkac_config.outfile) in spkac_main()
227 out = BIO_new_file(spkac_config.outfile, "w"); in spkac_main()
275 if (spkac_config.outfile) in spkac_main()
276 out = BIO_new_file(spkac_config.outfile, "w"); in spkac_main()
/dflybsd-src/usr.bin/truss/
H A Dmain.c143 trussinfo->outfile = stderr; in main()
186 if ((trussinfo->outfile = fopen(fname, "w")) == NULL) in main()
255 fprintf(trussinfo->outfile, "SIGNAL %lu\n", pfs.val); in main()
259 fprintf (trussinfo->outfile, "process exit, rval = %lu\n", pfs.val); in main()
266 fprintf (trussinfo->outfile, "Process stopped because of: %d\n", i); in main()
277 fflush(trussinfo->outfile); in main()
H A Dsyscalls.c352 len += fprintf(trussinfo->outfile, "%s(", name); in print_syscall()
355 len += fprintf(trussinfo->outfile, "%s", s_args[i]); in print_syscall()
357 len += fprintf(trussinfo->outfile, "<missing argument>"); in print_syscall()
358 len += fprintf(trussinfo->outfile, "%s", i < (nargs - 1) ? "," : ""); in print_syscall()
360 len += fprintf(trussinfo->outfile, ")"); in print_syscall()
362 fprintf(trussinfo->outfile, "\t"); in print_syscall()
369 fprintf(trussinfo->outfile, " ERR#%d '%s'\n", retval, strerror(retval)); in print_syscall_ret()
371 fprintf(trussinfo->outfile, " = %d (0x%x)\n", retval, retval); in print_syscall_ret()
/dflybsd-src/contrib/binutils-2.27/binutils/
H A Darsup.c45 static FILE *outfile; variable
99 print_arelt_descr(outfile, abfd, verbose); in ar_directory_doer()
110 outfile = fopen(output,"w"); in ar_directory()
111 if (outfile == 0) in ar_directory()
113 outfile = stdout; in ar_directory()
119 outfile = stdout; in ar_directory()
126 fclose (outfile); in ar_directory()
426 outfile = stdout; in ar_list()
/dflybsd-src/contrib/binutils-2.34/binutils/
H A Darsup.c45 static FILE *outfile; variable
99 print_arelt_descr(outfile, abfd, verbose, FALSE); in ar_directory_doer()
110 outfile = fopen(output,"w"); in ar_directory()
111 if (outfile == 0) in ar_directory()
113 outfile = stdout; in ar_directory()
119 outfile = stdout; in ar_directory()
126 fclose (outfile); in ar_directory()
438 outfile = stdout; in ar_list()
/dflybsd-src/sys/kern/
H A Dgenassym.sh12 outfile=/dev/stdout
16 o) outfile="$OPTARG";;
54 ' 3>"$outfile" >&3 3>&-

1234