Home
last modified time | relevance | path

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

12345

/titanic_52/usr/src/contrib/ast/src/cmd/ksh93/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, 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()
222 sfputc(outfile,'\n'); in p_tree()
226 sfputr(outfile,c in p_tree()
[all...]
H A Dnvtree.c817 register Sfio_t *outfile = wp->out; in genvalue() local
826 if(outfile && !wp->array) in genvalue()
828 sfputc(outfile,'('); in genvalue()
832 sfputc(outfile,'\n'); in genvalue()
852 if(outfile) in genvalue()
863 sfnputc(outfile,'\t',wp->indent); in genvalue()
871 sfputr(outfile,sp,' '); in genvalue()
873 nv_outname(outfile,cp,nextcp-cp); in genvalue()
874 sfputc(outfile,'='); in genvalue()
884 sfputc(outfile,'\ in genvalue()
969 Sfio_t *outfile; walk_tree() local
[all...]
/titanic_52/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()
743 setcurrentfont(char * newfont,FILE * outfile) setcurrentfont() argument
781 restore_format_state(struct format_state * fs,FILE * outfile) restore_format_state() argument
800 FILE *outfile; printfile() local
852 process_elide(FILE * outfile) process_elide() argument
882 printpage(FILE * infile,FILE * outfile) printpage() argument
970 startpage(FILE * outfile) startpage() argument
1021 setuppage(FILE * outfile) setuppage() argument
1052 endpage(FILE * outfile) endpage() argument
1067 flushpage(FILE * outfile) flushpage() argument
1087 reversepages(FILE * outfile) reversepages() argument
1103 copypage(FILE * outfile,long off_beg,long off_end) copypage() argument
1145 proc(char * in,FILE * outfile) proc() argument
[all...]
/titanic_52/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,"
[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_52/usr/src/cmd/rpcgen/
H A Drpc_main.c159 * so in that case only, check if the outfile exists, and if so, in main()
163 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
401 c_output(char * infile,char * define,int extend,char * outfile) c_output() argument
510 h_output(char * infile,char * define,int extend,char * outfile) h_output() argument
629 s_output(int argc,char * argv[],char * infile,char * define,int extend,char * outfile,int nomain,int netflag) s_output() argument
716 l_output(char * infile,char * define,int extend,char * outfile) l_output() argument
753 t_output(char * infile,char * define,int extend,char * outfile) t_output() argument
775 svc_output(char * infile,char * define,int extend,char * outfile) svc_output() argument
811 clnt_output(char * infile,char * define,int extend,char * outfile) clnt_output() argument
1010 checkfiles(char * infile,char * outfile) checkfiles() argument
[all...]
/titanic_52/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")) {
[all...]
/titanic_52/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_52/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dexport.c44 char *outfile = NULL; in kc_export() local
52 "d:(dbfile)p:(policy)o:(outfile)")) != EOF) { in kc_export()
69 outfile = get_string(optarg_av, &rv); in kc_export()
70 if (outfile == NULL) { in kc_export()
72 gettext("Error outfile input.\n")); 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()
[all...]
/titanic_52/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()
321 // outfile will get re-assigned to a tmp file in main()
341 ofp = create_output_file(outfile, ohdr, ofmt, in main()
362 // if in place, finish up by renaming the outfile t in main()
[all...]
/titanic_52/usr/src/cmd/ctfconvert/
H A Dctfconvert.c73 "-L labelenv] [-o outfile] input\n" in ctfconvert_usage()
78 "\t-o copy input to outfile and add CTF\n" in ctfconvert_usage()
253 const char *outfile = NULL; in main() local
289 outfile = optarg; in main()
330 if (outfile != NULL && strcmp(infile, outfile) != 0) in main()
356 if (outfile == NULL || strcmp(infile, outfile) == 0) { in main()
363 outfile = tmpfile; in main()
365 err = ctf_elfwrite(ofp, infile, outfile, CTF_ELFWRITE_F_COMPRES in main()
[all...]
/titanic_52/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) <
[all...]
/titanic_52/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, "\\\ 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), s in mf_fgets()
[all...]
/titanic_52/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()
/titanic_52/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_52/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()
524 profile_flush_file_data_to_file(prf_data_t data,const char * outfile) profile_flush_file_data_to_file() argument
[all...]
/titanic_52/usr/src/tools/ctf/cvt/
H A Dctfconvert.c48 static const char *outfile = NULL; variable
55 "Usage: %s [-is] -l label | -L labelenv [-o outfile] object_file\n" in usage()
65 if (!outfile) { in terminate_cleanup()
184 outfile = optarg; in main()
243 if (outfile && strcmp(infile, outfile) != 0) { in main()
244 write_ctf(mstrtd, infile, outfile, dynsym); in main()
/titanic_52/usr/src/cmd/svr4pkg/pkgadm/
H A Dlistcert.c50 * [-n name] [-o outfile] [-P passarg] [-R altroot]
66 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_52/usr/src/cmd/bnu/
H A Duudecode.c31 * uudecode [-o outfile | -p] [input]
107 static char outfile[PATH_MAX]; variable
128 outfile[0] = '\0'; in main()
142 (void) strncpy(outfile, optarg, sizeof (outfile)); in main()
174 gettext("Usage: %s [-o outfile | -p] [infile]\n"), prog); 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, sizeo in main()
[all...]
/titanic_52/usr/src/boot/lib/libz/test/
H A Dminigzip.c461 local char outfile[MAX_NAME_LEN]; local
465 if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) {
471 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX);
473 strcpy(outfile, file);
474 strcat(outfile, GZ_SUFFIX);
482 out = gzopen(outfile, mode);
484 fprintf(stderr, "%s: can't gzopen %s\n", prog, outfile);
500 char *infile, *outfile; local
518 outfile
[all...]
/titanic_52/usr/src/cmd/cmd-crypto/pktool/
H A Ddownload.c47 char *outfile = NULL; in pk_download() local
58 "t:(objtype)u:(url)h:(http_proxy)o:(outfile)d:(dir)")) != EOF) { in pk_download()
81 if (outfile) in pk_download()
83 outfile = optarg_av; in pk_download()
105 /* Check the dir and outfile options */ in pk_download()
106 if (outfile == NULL) { in pk_download()
107 /* If outfile is not specified, use the basename of URI */ in pk_download()
108 outfile = basename(url); in pk_download()
111 fullpath = get_fullpath(dir, outfile); in pk_download()
113 cryptoerror(LOG_STDERR, gettext("Incorrect dir or outfile " in pk_download()
[all...]
/titanic_52/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()
327 * Flush uses fputs to put lines on the output file stream(outfile)
336 (void) fputs(linbuf, outfile); in flush()
565 outfile in to_line()
[all...]

12345