Home
last modified time | relevance | path

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

1234

/titanic_41/usr/src/lib/libshell/common/sh/
H A Dtdump.c43 static Sfio_t *outfile; variable
47 outfile = out; in sh_tdump()
70 return(sfputl(outfile,-1)); in p_tree()
71 if(sfputl(outfile,t->tre.tretyp)<0) in p_tree()
82 if(sfputu(outfile,t->fork.forkline)<0) in p_tree()
101 if(sfputl(outfile,-1)<0) in p_tree()
115 if(sfputu(outfile,t->ar.arline)<0) in p_tree()
119 if(sfputu(outfile,t->for_.forline)<0) in p_tree()
127 if(sfputu(outfile,t->sw.swline)<0) in p_tree()
133 if(sfputu(outfile,t->funct.functline)<0) in p_tree()
[all …]
H A Ddeparse.c62 static Sfio_t *outfile; variable
69 outfile = out; in sh_deparse()
99 sfnputc(outfile,'\t',level); in p_tree()
128 sfputr(outfile,"|&",'\n'); in p_tree()
133 sfputr(outfile,"&",'\n'); in p_tree()
162 sfprintf(outfile,"(( %s; ",forinit); in p_tree()
164 sfputr(outfile,arg->argval,';'); in p_tree()
166 sfprintf(outfile," %s))\n",arg->argval); in p_tree()
217 sfputr(outfile,cp,here_doc?'\n':' '); in p_tree()
241 sfnputc(outfile,'\t',level); in p_tree()
[all …]
H A Dnvtree.c758 register Sfio_t *outfile = wp->out; in genvalue() local
767 if(outfile && !wp->array) in genvalue()
769 sfputc(outfile,'('); in genvalue()
773 sfputc(outfile,'\n'); in genvalue()
791 if(outfile) in genvalue()
802 sfnputc(outfile,'\t',wp->indent); in genvalue()
810 sfputr(outfile,sp,' '); in genvalue()
812 nv_outname(outfile,cp,nextcp-cp); in genvalue()
813 sfputc(outfile,'='); in genvalue()
823 sfputc(outfile,'\n'); in genvalue()
[all …]
/titanic_41/usr/src/tools/codereview/
H A Dlwlp.c669 printbanner(char *filename, FILE *outfile) in printbanner() argument
682 setcurrentfont(DEFAULT_FONT_BOLD_ITALIC, outfile); in printbanner()
685 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row, MOVETO); in printbanner()
686 proc(banner, outfile); in printbanner()
690 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row, MOVETO); in printbanner()
693 proc(buffer, outfile); in printbanner()
698 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row, in printbanner()
701 proc(buffer, outfile); in printbanner()
712 (void) fprintf(outfile, "%d %.2f %s\n", start_x, in printbanner()
724 proc(buffer, outfile); in printbanner()
[all …]
/titanic_41/usr/src/cmd/mail/
H A Dgendeliv.c43 FILE *outfile; local
87 if ((outfile = popenvp(pargs[0], pargs, "w", 1)) == (FILE *)NULL) {
93 outfile = fp;
107 fprintf(outfile,"%s 2\n", header[H_RVERS].tag);
108 fprintf(outfile,"%s %s\n", header[H_TCOPY].tag,
110 fprintf(outfile,"%s %s\n", header[H_DATE].tag, buf);
111 dumprcv(ORDINARY, -1,&didrcvlines,&suppress,outfile);
112 dumpaff(ORDINARY, -1,&didafflines,&suppress,outfile);
113 fprintf(outfile,"Original-%s ", header[H_DATE].tag);
116 fprintf(outfile,"%s\n", hptr->value);
[all …]
H A Dmta_ercode.c52 void mta_ercode(outfile) in mta_ercode() argument
53 FILE *outfile; in mta_ercode()
110 fprintf(outfile, "%.2d %s\n", mtacode, MTAerrors[mtacode]);
/titanic_41/usr/src/cmd/rpcgen/
H A Drpc_main.c163 checkfiles(cmd.infile, cmd.outfile); in main()
168 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile); in main()
170 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile); in main()
172 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile); in main()
175 cmd.outfile, cmd.mflag, cmd.nflag); in main()
177 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile); in main()
180 cmd.outfile); in main()
183 cmd.outfile); in main()
248 open_output(char *infile, char *outfile) in open_output() argument
251 if (outfile == NULL) { in open_output()
[all …]
/titanic_41/usr/src/cmd/abi/appcert/scripts/
H A Dsymprof.pl184 my $outfile = "$output_dir/profile.static";
202 open($static_prof_fh, ">$outfile") ||
203 exiter(nofile($outfile, $!));
217 system("$appcert_lib_dir/static_prof", '-p', '-s', '-o', $outfile,
221 open($static_prof_fh, ">$outfile") ||
222 exiter(nofile($outfile, $!));
281 open($static_prof_fh, "<$outfile") ||
282 exiter(nofile($outfile, $!));
316 my $outfile = "$output_dir/profile.dynamic";
336 open($profile_fh, ">$outfile") ||
[all …]
H A DAppcertUtil.pm315 my $outfile = object_to_dir_name($filename);
316 $outfile = "$working_dir/$outfile/info.file";
320 if (-f $outfile) {
322 if (open($file_cmd_fh, "<$outfile")) {
359 my $outfile = object_to_dir_name($filename);
360 $outfile = "$working_dir/$outfile/info.dump";
364 if (-f $outfile) {
366 if (open($dump_cmd_fh, "<$outfile")) {
413 my $outfile = object_to_dir_name($filename);
414 $outfile = "$working_dir/$outfile/profile.dynamic.ldd";
[all …]
/titanic_41/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"
/titanic_41/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()
/titanic_41/usr/src/cmd/audio/audioconvert/
H A Dmain.cc72 char *outfile = NULL; in main() local
141 if (outfile != NULL) { in main()
167 outfile = optarg; in main()
283 ofp = create_output_file(outfile, ohdr, ofmt, in main()
314 outfile = (char *)malloc((unsigned)i); in main()
315 if (outfile == NULL) { in main()
319 (void) sprintf(outfile, "%s%s", realfile, Suffix); in main()
341 ofp = create_output_file(outfile, ohdr, ofmt, in main()
367 if (rename(outfile, realfile) < 0) { in main()
368 perror(outfile); in main()
[all …]
/titanic_41/usr/src/cmd/ypcmd/
H A Dmakedbm.c122 char *infile, *outfile; local
141 infile = outfile = NULL; /* where to get files */
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, '/');
264 sprintf(outalias, "%s/%s/%s", outfile, outaliasdomain,
279 if (yp_getalias(outfile, outaliasdomain, NAME_MAX) < 0) {
280 if ((int)strlen(outfile) <= NAME_MAX)
[all …]
/titanic_41/usr/src/cmd/sed/
H A Dprocess.c84 (void) fwrite(ps, 1, psl, outfile); \
85 (void) fputc('\n', outfile); \
131 (void) fprintf(outfile, "%s", cp->t); in process()
164 (void) fprintf(outfile, "%s", cp->t); in process()
259 (void) fprintf(outfile, "%lu\n", linenum); in process()
537 appends[i].len, outfile); in flush_appends()
553 outfile); in flush_appends()
557 if (ferror(outfile)) in flush_appends()
574 if (outfile != stdout) in lputs()
601 (void) fprintf(outfile, "\\\n"); in lputs()
[all …]
H A Dmain.c90 FILE *outfile; /* Current output file */ variable
335 outfile = stdout; in mf_fgets()
370 if (outfile != NULL && outfile != stdout) in mf_fgets()
371 if (fclose(outfile) != 0) { in mf_fgets()
376 outfile = NULL; in mf_fgets()
420 if ((outfile = fopen(tmpfname, "w")) == NULL) in mf_fgets()
428 if (fstat(fileno(outfile), &nsb) != 0) { in mf_fgets()
433 (fchown(fileno(outfile), sb.st_uid, sb.st_gid) in mf_fgets()
437 (fchmod(fileno(outfile), sb.st_mode & 07777) != 0)) in mf_fgets()
445 outfile = stdout; in mf_fgets()
/titanic_41/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()
H A Dsotruss.ksh46 outfile=""
70 outfile="$OPTARG"
99 TRUSS_OUTPUT="$outfile" \
/titanic_41/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c238 char *model = NULL, *objfile = NULL, *outfile = NULL, *tmplfile = NULL; in main() local
261 outfile = optarg; in main()
290 if (outfile == NULL || strcmp(outfile, "-") == 0) in main()
292 else if ((out = fopen(outfile, "w")) == NULL) in main()
293 die("Couldn't open output file %s for writing", outfile); in main()
299 (void) unlink(outfile); in main()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c406 static errcode_t write_data_to_file(prf_data_t data, const char *outfile, in write_data_to_file() argument
417 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()
[all …]
/titanic_41/usr/src/tools/ctf/cvt/
H A Dctfconvert.c48 static const char *outfile = NULL; variable
65 if (!outfile) { in terminate_cleanup()
174 outfile = optarg; in main()
233 if (outfile && strcmp(infile, outfile) != 0) { in main()
234 write_ctf(mstrtd, infile, outfile, dynsym); in main()
/titanic_41/usr/src/cmd/svr4pkg/pkgadm/
H A Dlistcert.c66 FILE *outfile = NULL; in listcert() local
128 outfile = stdout; in listcert()
131 if ((outfile = fopen(outfile_str, "w+")) == NULL) { in listcert()
217 if (print_certs(err, keystore, alias, format, outfile) != 0) { in listcert()
238 if (outfile != NULL) in listcert()
239 (void) fclose(outfile); in listcert()
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dprint.c143 register Sfio_t *outfile; in b_print() local
267 if(!(outfile=shp->sftable[fd])) in b_print()
271 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n); in b_print()
273 sfpool(outfile,shp->outpool,SF_WRITE); in b_print()
276 n = sfset(outfile,SF_SHARE|SF_PUBLIC,0); in b_print()
294 sfprintf(outfile,"%!",&pdata); in b_print()
297 sfwrite(outfile,stakptr(staktell()),pdata.argsize); in b_print()
298 if(sffileno(outfile)!=sffileno(sfstderr)) in b_print()
299 sfsync(outfile); in b_print()
307 fmtbase64(outfile,*argv++,vflag=='C'); in b_print()
[all …]
/titanic_41/usr/src/cmd/bnu/
H A Duudecode.c107 static char outfile[PATH_MAX]; variable
128 outfile[0] = '\0'; in main()
142 (void) strncpy(outfile, optarg, sizeof (outfile)); in main()
230 if (outfile[0] != '\0') in main()
231 (void) strncpy(dest, outfile, sizeof (dest)); in main()
234 (dest[0] == '-' && dest[1] == '\0' && outfile[0] == '\0')) { in main()
236 bzero(outfile, sizeof (outfile)); in main()
/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A Ddownload.c47 char *outfile = NULL; in pk_download() local
81 if (outfile) in pk_download()
83 outfile = optarg_av; in pk_download()
106 if (outfile == NULL) { in pk_download()
108 outfile = basename(url); in pk_download()
111 fullpath = get_fullpath(dir, outfile); in pk_download()
/titanic_41/usr/src/cmd/csplit/
H A Dcsplit.c62 FILE *infile, *outfile; /* I/O file streams */ variable
244 (void) fseeko(outfile, (offset_t)0, SEEK_END); in closefile()
245 (void) fprintf(stdout, "%lld\n", (offset_t)ftello(outfile)); in closefile()
248 (void) fclose(outfile); in closefile()
272 if (outfile) { in fatal()
273 (void) fclose(outfile); in fatal()
283 if (outfile) in fatal()
336 (void) fputs(linbuf, outfile); in flush()
565 outfile = getfile(); in to_line()

1234