Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dtdump.c43 static Sfio_t *outfile; variable
47 outfile = out; in sh_tdump()
101 if(sfputl(outfile,-1)<0) in p_tree()
170 sfputu(outfile,n+1); in p_arg()
173 sfputc(outfile,0); in p_arg()
188 return(sfputu(outfile,0)); in p_arg()
208 sfputu(outfile,0); in p_redirect()
221 sfputl(outfile,-1); in p_comarg()
237 sfputl(outfile,n); in p_comlist()
241 return(sfputu(outfile,0)); in p_comlist()
[all …]
H A Ddeparse.c62 static Sfio_t *outfile; variable
69 outfile = out; in sh_deparse()
222 sfputc(outfile,'\n'); in p_tree()
270 sfputc(outfile,'\n'); in p_tree()
378 sfputr(outfile,word,sep); in p_keyword()
407 sfputc(outfile,c); in p_arg()
408 sfputc(outfile,'('); in p_arg()
410 sfputc(outfile,')'); in p_arg()
421 sfputc(outfile,')'); in p_arg()
489 sfputr(outfile,cp,' '); in p_redirect()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dgendeliv.c43 FILE *outfile; local
93 outfile = fp;
155 fprintf(outfile,"%s\n", buf);
193 mta_ercode(outfile);
205 fprintf(outfile,
212 fprintf(outfile,
220 fprintf(outfile,"\n");
222 fprintf(outfile,
225 fprintf(outfile,
228 fprintf(outfile,")\n");
[all …]
/illumos-gate/usr/src/cmd/etdump/
H A Doutput_text.c35 output_image(FILE *outfile, const char *filename, in output_image() argument
39 fprintf(outfile, "Image in %s\n", filename); in output_image()
47 fprintf(outfile, "\nSection header: %s", in output_section()
51 fprintf(outfile, ", final\n"); in output_section()
53 fprintf(outfile, "\n"); in output_section()
57 output_entry(FILE *outfile, const char *filename __unused, in output_entry() argument
72 fprintf(outfile, "Default entry\n"); in output_entry()
75 fprintf(outfile, "\tSection entry\n"); in output_entry()
79 fprintf(outfile, "%sSystem %s\n", indent, in output_entry()
81 fprintf(outfile, "%sStart LBA %" PRIu32 " (0x%" PRIx32 in output_entry()
[all …]
H A Detdump.c143 outputter->output_section(outfile, filename, sh); in dump_section()
153 outputter->output_entry(outfile, filename, entry, in dump_section()
162 dump_eltorito(FILE *iso, const char *filename, FILE *outfile, in dump_eltorito() argument
194 outputter->output_image(outfile, filename, bvd); in dump_eltorito()
199 outputter->output_entry(outfile, filename, in dump_eltorito()
211 entry_count = dump_section(buffer, offset, outfile, filename, in dump_eltorito()
235 FILE *outfile, *iso; in main() local
238 outfile = stdout; in main()
259 outfile = stdout; in main()
260 } else if ((outfile = fopen(optarg, "w")) == NULL) { in main()
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dgen_no_return_funcs.sh11 outfile="${project}.no_return_funcs"
13 add_file=$(echo ${bin_dir}/../smatch_data/${outfile}.add)
14 remove=$(echo ${bin_dir}/../smatch_data/${outfile}.remove)
18 echo "// list of functions which don't return." > $outfile
19 echo '// generated by `gen_no_return_funcs.sh`' >> $outfile
20 cat $(echo ${bin_dir}/../smatch_data/no_return_funcs) >> $outfile
21 cat $add_file >> $outfile 2> /dev/null
27 cat $tmp $remove $remove 2> /dev/null | sort | uniq -u >> $outfile
29 echo "Done. List saved as '$outfile'"
H A Dgen_expects_err_ptr.sh15 outfile="kernel.expects_err_ptr"
17 remove=$(echo ${bin_dir}/../smatch_data/${outfile}.remove)
20 echo "// list of functions which expect an ERR_PTR." > $outfile
21 echo '// generated by `gen_expects_err_ptr.sh`' >> $outfile
24 cat $tmp $remove $remove 2> /dev/null | sort | uniq -u >> $outfile
26 echo "Done. List saved as '$outfile'"
H A Dgen_unwind_functions.sh15 outfile="kernel.unwind_functions"
17 remove=$(echo ${bin_dir}/../smatch_data/${outfile}.remove)
21 echo "// list of unwind functions." > $outfile
22 echo '// generated by `gen_unwind_functions.sh`' >> $outfile
26 cat $tmp $remove $remove 2> /dev/null | sort | uniq -u >> $outfile
28 echo "Done. List saved as '$outfile'"
H A Dgen_sizeof_param.sh11 outfile="${project}.sizeof_param"
13 remove=$(echo ${bin_dir}/../smatch_data/${outfile}.remove)
18 echo "// list of function parameters that are the size of a buffer." > $outfile
19 echo '// generated by `gen_sizeof_param.sh`' >> $outfile
26 cat $tmp $tmp2 2> /dev/null | sort | uniq -u >> $outfile
30 echo "Done. List saved as '$outfile'"
H A Dgen_dma_funcs.sh15 outfile="kernel.dma_funcs"
17 remove=$(echo ${bin_dir}/../smatch_data/${outfile}.remove)
21 echo "// list of DMA function and buffer parameters." > $outfile
22 echo '// generated by `gen_dma_funcs.sh`' >> $outfile
28 cat $tmp $remove $remove 2> /dev/null | sort | uniq -u >> $outfile
30 echo "Done. List saved as '$outfile'"
H A Dgen_gfp_flags.sh15 outfile="kernel.gfp_flags"
17 remove=$(echo ${bin_dir}/../smatch_data/${outfile}.remove)
21 echo "// list of GFP flag parameters." > $outfile
22 echo '// generated by `gen_gfp_flags.sh`' >> $outfile
28 cat $tmp $remove $remove 2> /dev/null | sort | uniq -u >> $outfile
30 echo "Done. List saved as '$outfile'"
H A Dgen_rosenberg_funcs.sh15 outfile="kernel.rosenberg_funcs"
17 remove=$(echo ${bin_dir}/../smatch_data/${outfile}.remove)
21 echo "// list of copy_to_user function and buffer parameters." > $outfile
22 echo '// generated by `gen_rosenberg_funcs.sh`' >> $outfile
32 cat $tmp $remove $remove 2> /dev/null | sort | uniq -u >> $outfile
34 echo "Done. List saved as '$outfile'"
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_main.c180 cmd.outfile); in main()
265 perror(outfile); in open_output()
410 outfilename = extend ? extendfile(infile, outfile) : outfile; in c_output()
521 outfilename = extend ? extendfile(infile, outfile) : outfile; in h_output()
637 outfilename = extend ? extendfile(infile, outfile) : outfile; in s_output()
724 outfilename = extend ? extendfile(infile, outfile) : outfile; in l_output()
760 outfilename = extend ? extendfile(infile, outfile) : outfile; in t_output()
782 outfilename = extend ? extendfile(infile, outfile) : outfile; in svc_output()
820 outfilename = extend ? extendfile(infile, outfile) : outfile; in clnt_output()
1020 if (outfile) { in checkfiles()
[all …]
/illumos-gate/usr/src/cmd/fm/mcdecode/
H A Dmcdecode.c159 mcdecode_dump(const char *device, const char *outfile) in mcdecode_dump() argument
195 warn("failed to write to output file %s", outfile); in mcdecode_dump()
196 (void) unlink(outfile); in mcdecode_dump()
205 warn("failed to sync output file %s", outfile); in mcdecode_dump()
206 (void) unlink(outfile); in mcdecode_dump()
218 const char *outfile = NULL; in main() local
239 outfile = optarg; in main()
255 if (outfile != NULL && infile != NULL) { in main()
259 if (pa != UINT64_MAX && outfile != NULL) { in main()
263 if (pa == UINT64_MAX && outfile == NULL) { in main()
[all …]
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dsymprof.pl203 exiter(nofile($outfile, $!));
222 exiter(nofile($outfile, $!));
282 exiter(nofile($outfile, $!));
336 open($profile_fh, ">$outfile") ||
337 exiter(nofile($outfile, $!));
559 if ($outfile =~ /'/) {
705 open($objects_fh, ">$outfile") || exiter(nofile($outfile, $!));
725 open($ldd_prof_fh, ">$outfile") || exiter(nofile($outfile, $!));
1391 my ($tmpdir, $outfile, $errfile);
1412 $outfile = "$tmpdir/stdout";
[all …]
H A DAppcertUtil.pm316 $outfile = "$working_dir/$outfile/info.file";
320 if (-f $outfile) {
360 $outfile = "$working_dir/$outfile/info.dump";
364 if (-f $outfile) {
414 $outfile = "$working_dir/$outfile/profile.dynamic.ldd";
416 if (-f $outfile) {
498 $outfile = "$working_dir/$outfile/profile.dynamic";
501 if (! open($prof_fh, "<$outfile")) {
502 exiter(nofile($outfile, $!));
1223 $outfile = "$working_dir/$outfile/info.arch";
[all …]
/illumos-gate/usr/src/lib/libsecdb/common/
H A Di.rbac491 outfile=""
505 outfile=$tmp_dir/rbac_${PKGINST}_${fname}_merge.$$
511 $rm_cmd -f $outfile $outfile.old $outfile.new $outfile.unsorted
546 dbmerge $type $oldfile $newfile $outfile
554 commit $outfile $oldfile
556 echo "$0 : failed to mv $outfile to $2"
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dexport.c44 char *outfile = NULL; in kc_export() local
69 outfile = get_string(optarg_av, &rv); in kc_export()
70 if (outfile == NULL) { in kc_export()
110 if (outfile == NULL) { in kc_export()
117 if (strcmp(outfile, KMF_DEFAULT_POLICY_FILE) == 0 && in kc_export()
142 rv = kmf_add_policy_to_db(&pnode->plc, outfile, in kc_export()
162 if (outfile != NULL) in kc_export()
163 free(outfile); in kc_export()
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dmain.cc69 char *outfile = NULL; in main() local
138 if (outfile != NULL) { in main()
164 outfile = optarg; in main()
280 ofp = create_output_file(outfile, ohdr, ofmt, in main()
311 outfile = (char *)malloc((unsigned)i); in main()
312 if (outfile == NULL) { in main()
316 (void) sprintf(outfile, "%s%s", realfile, Suffix); in main()
338 ofp = create_output_file(outfile, ohdr, ofmt, in main()
364 if (rename(outfile, realfile) < 0) { in main()
365 perror(outfile); in main()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dpsignal.ksh40 typeset outfile=$ps_out.test
42 $prog >/dev/null 2>$outfile || fatal "$prog unexpectedly failed"
43 diff $ps_out $outfile || fatal "$ps_out and $outfile differ " \
45 rm -f $outfile
/illumos-gate/usr/src/cmd/sed/
H A Dprocess.c87 (void) fputc('\n', outfile); \
551 appends[i].len, outfile); in flush_appends()
567 outfile); in flush_appends()
571 if (ferror(outfile)) in flush_appends()
588 if (outfile != stdout) in lputs()
616 (void) fputc('$', outfile); in lputs()
617 (void) fputc('\n', outfile); in lputs()
633 (void) fprintf(outfile, "\\%c", in lputs()
651 (void) fputc('$', outfile); in lputs()
652 (void) fputc('\n', outfile); in lputs()
[all …]
H A Dmain.c91 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()
423 if ((outfile = fopen(tmpfname, "w")) == NULL) in mf_fgets()
431 if (fstat(fileno(outfile), &nsb) != 0) { in mf_fgets()
436 (fchown(fileno(outfile), sb.st_uid, sb.st_gid) in mf_fgets()
440 (fchmod(fileno(outfile), sb.st_mode & 07777) != 0)) in mf_fgets()
448 outfile = stdout; in mf_fgets()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmakedbm.c122 char *infile, *outfile; local
207 else if (outfile == NULL)
208 outfile = argv[0];
214 if (infile == NULL || outfile == NULL)
220 last_slash = strrchr(outfile, '/');
223 next_to_last_slash = strrchr(outfile, '/');
280 if ((int)strlen(outfile) <= NAME_MAX)
281 strcpy(outaliasdomain, outfile);
291 strcpy(outalias, outfile);
295 outfile);
[all …]
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dtruss.c42 static FILE *outfile = stderr; variable
134 outfile = fp; in la_version()
255 (void) fprintf(outfile, "%5d:", (int)getpid()); in la_sparcv9_pltenter()
262 (void) fprintf(outfile, "%-15s -> %15s:%-*s%s(0x%lx, 0x%lx, 0x%lx)\n", in la_sparcv9_pltenter()
267 (void) fflush(outfile); in la_sparcv9_pltenter()
296 (void) fprintf(outfile, "%5d:", (int)pid); in la_pltexit64()
299 (void) fprintf(outfile, "%-15s -> %15s:%*s%s - 0x%lx\n", refname, in la_pltexit64()
301 (void) fflush(outfile); in la_pltexit64()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c417 new_file = malloc(strlen(outfile) + 5); in write_data_to_file()
420 old_file = malloc(strlen(outfile) + 5); in write_data_to_file()
424 sprintf(new_file, "%s.$$$", outfile); in write_data_to_file()
425 sprintf(old_file, "%s.bak", outfile); in write_data_to_file()
445 if (make_hard_link(outfile, old_file) == 0) { in write_data_to_file()
449 if (rename(new_file, outfile)) { in write_data_to_file()
457 if (rename(new_file, outfile)) { in write_data_to_file()
468 if (rename(outfile, old_file)) { in write_data_to_file()
472 if (rename(new_file, outfile)) { in write_data_to_file()
474 rename(old_file, outfile); /* back out... */ in write_data_to_file()
[all …]

12345