Home
last modified time | relevance | path

Searched refs:outfile (Results 26 – 50 of 114) sorted by relevance

12345

/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c236 char *model = NULL, *objfile = NULL, *outfile = NULL, *tmplfile = NULL; in main() local
259 outfile = optarg; in main()
288 if (outfile == NULL || strcmp(outfile, "-") == 0) in main()
290 else if ((out = fopen(outfile, "w")) == NULL) in main()
291 die("Couldn't open output file %s for writing", outfile); in main()
297 (void) unlink(outfile); in main()
/illumos-gate/usr/src/cmd/ctfconvert/
H A Dctfconvert.c251 const char *outfile = NULL; in main() local
312 outfile = optarg; in main()
353 if (outfile != NULL && strcmp(infile, outfile) != 0) in main()
464 if (outfile == NULL || strcmp(infile, outfile) == 0) { in main()
471 outfile = tmpfile; in main()
473 err = ctf_elfwrite(ofp, infile, outfile, CTF_ELFWRITE_F_COMPRESS); in main()
475 (void) unlink(outfile); in main()
486 (void) unlink(outfile); in main()
/illumos-gate/usr/src/cmd/bnu/
H A Duudecode.c105 static char outfile[PATH_MAX]; variable
126 outfile[0] = '\0'; in main()
140 (void) strncpy(outfile, optarg, sizeof (outfile)); in main()
228 if (outfile[0] != '\0') in main()
229 (void) strncpy(dest, outfile, sizeof (dest)); in main()
232 (dest[0] == '-' && dest[1] == '\0' && outfile[0] == '\0')) { in main()
234 bzero(outfile, sizeof (outfile)); in main()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtree.c828 sfputc(outfile,'('); in genvalue()
832 sfputc(outfile,'\n'); in genvalue()
852 if(outfile) in genvalue()
946 if(outfile) in genvalue()
957 sfputc(outfile,')'); in genvalue()
969 Sfio_t *outfile; in walk_tree() local
1060 outfile = 0; in walk_tree()
1061 else if(!(outfile=out)) in walk_tree()
1064 off = sftell(outfile); in walk_tree()
1067 walk.out = outfile; in walk_tree()
[all …]
/illumos-gate/usr/src/cmd/csplit/
H A Dcsplit.c66 FILE *infile, *outfile; /* I/O file streams */ variable
248 (void) fseeko(outfile, (offset_t)0, SEEK_END); in closefile()
249 (void) fprintf(stdout, "%lld\n", (offset_t)ftello(outfile)); in closefile()
252 (void) fclose(outfile); in closefile()
276 if (outfile) { in fatal()
277 (void) fclose(outfile); in fatal()
287 if (outfile) in fatal()
340 (void) fputs(linbuf, outfile); in flush()
569 outfile = getfile(); in to_line()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/etdump/
H A Detdump.h33 void (*output_image)(FILE *outfile, const char *filename,
35 void (*output_section)(FILE *outfile, const char *filename,
37 void (*output_entry)(FILE *outfile, const char *filename,
H A Doutput_shell.c36 output_entry(FILE *outfile, const char *filename __unused, in output_entry() argument
54 fprintf(outfile, in output_entry()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dprint.c173 register Sfio_t *outfile; in b_print() local
311 if(!(outfile=shp->sftable[fd])) in b_print()
317 sfpool(outfile,shp->outpool,SF_WRITE); in b_print()
338 sfprintf(outfile,"%!",&pdata); in b_print()
343 sfsync(outfile); in b_print()
353 sfputc(outfile,'\n'); in b_print()
362 sfputc(outfile,'\n'); in b_print()
371 sfset(outfile,SF_SHARE|SF_PUBLIC,1); in b_print()
372 sfsync(outfile); in b_print()
398 sfputr(outfile,cp,-1); in sh_echolist()
[all …]
H A Dhist.c48 Sfio_t *outfile; in b_hist() local
187 outfile = sfstdout; in b_hist()
196 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE); in b_hist()
203 sfprintf(outfile,"%d\t",range[flag]); in b_hist()
205 sfputc(outfile,'\t'); in b_hist()
206 hist_list(shp->gd->hist_ptr,outfile,hist_tell(shp->gd->hist_ptr,range[flag]),0,arg); in b_hist()
215 sfclose(outfile); in b_hist()
/illumos-gate/usr/src/cmd/mail/
H A Dmta_ercode.c49 void mta_ercode(outfile) in mta_ercode() argument
50 FILE *outfile; in mta_ercode()
107 fprintf(outfile, "%.2d %s\n", mtacode, MTAerrors[mtacode]);
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dsotruss.ksh46 outfile=""
70 outfile="$OPTARG"
99 TRUSS_OUTPUT="$outfile" \
/illumos-gate/usr/src/cmd/fm/eversholt/esc/common/
H A Descmain.c101 const char *outfile = NULL; in main() local
169 outfile = optarg; in main()
217 if (outfile) in main()
218 eftwrite(outfile); in main()
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv_pcap.c115 smbsrv_pcap_open(char *outfile) in smbsrv_pcap_open() argument
119 fd = open(outfile, O_RDWR | O_CREAT | O_NOFOLLOW, 0644); in smbsrv_pcap_open()
121 mdb_warn("Can't open pcap output file: %s\n", outfile); in smbsrv_pcap_open()
124 if (pcap_file_header(outfile, fd) < 0) { in smbsrv_pcap_open()
139 pcap_file_header(char *outfile, int fd) in pcap_file_header() argument
146 mdb_warn("Can't stat pcap output file: %s\n", outfile); in pcap_file_header()
166 mdb_warn("Existing file not pcap: %s\n", outfile); in pcap_file_header()
186 mdb_warn("Can't write output file: %s\n", outfile); in pcap_file_header()
/illumos-gate/usr/src/cmd/unpack/
H A Dunpack.c62 static short outfile; variable
205 if (write(outfile, &outbuff[0], c) in decode()
221 if (write(outfile, outp = &outbuff[0], in decode()
355 outfile = 1; /* standard output */ in main()
388 if ((outfile = creat(argvk, status.st_mode)) == -1) { in main()
457 if (aclp && (facl_set(outfile, aclp) < 0)) { in main()
470 (void) close(outfile); in main()
558 (void) write(outfile, outbuff, outp - outbuff); in expand()
623 n = write(outfile, outp = outbuff, BUFSIZ); in putch()
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dwritefile.c44 writefile(int fi, int fo, char *infile, char *outfile, char *asfile, in writefile() argument
80 targ_size = strlen(outfile) + strlen(atfile) + in writefile()
83 targ_size = strlen(outfile) + 1; in writefile()
94 outfile, dgettext(TEXT_DOMAIN, " attribute "), atfile); in writefile()
96 (void) snprintf(targbuf, targ_size, "%s", outfile); in writefile()
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_msgfmt.c35 char *outfile = NULL; variable
72 outfile = flag.ofile; in main()
73 catalog_init(outfile); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Ddirname.c66 static void l_dirname(register Sfio_t *outfile, register const char *pathname) in l_dirname() argument
94 sfwrite(outfile,pathname,last+1-pathname); in l_dirname()
95 sfputc(outfile,'\n'); in l_dirname()
H A Dbasename.c69 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix) in namebase() argument
97 sfwrite(outfile,first,last-first); in namebase()
98 sfputc(outfile,'\n'); in namebase()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c72 static FILE *outfile, *fpost; variable
117 if ((outfile = vpfopen(invname, FWRITEP)) == NULL) { in invmake()
122 (void) fseek(outfile, (long)BUFSIZ, 0); in invmake()
269 outfile) == 0 || in invmake()
283 fflush(outfile) == EOF) { in invmake()
288 rewind(outfile); in invmake()
301 1, outfile) == 0) { in invmake()
306 if (fflush(outfile) == EOF) { in invmake()
311 (void) fseek(outfile, (long)BUFSIZ + 8, 0); in invmake()
314 fclose(outfile) == EOF) { in invmake()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/resilver/
H A Dsysevent.c116 const char *outfile = NULL; in main() local
125 outfile = optarg; in main()
133 if (outfile != NULL) { in main()
/illumos-gate/usr/src/cmd/dtrace/demo/
H A Dmkdemo.pl148 my $outfile = $_[0];
151 open HTML, ">$outfile" or die "Can't open $outfile.";
/illumos-gate/usr/src/cmd/datadm/
H A Ddatadm.c1436 retval = fprintf(outfile, in datadm_generate_conf_entry()
1463 datadm_generate_conf_header(FILE *outfile) in datadm_generate_conf_header() argument
1494 retval = fprintf(outfile, "\n"); in datadm_generate_conf_header()
1515 FILE *outfile = NULL; in datadm_generate_dat_conf() local
1521 outfile = stdout; in datadm_generate_dat_conf()
1523 outfile = fopen(dat_conf, "w+"); in datadm_generate_dat_conf()
1524 if (outfile == NULL) { in datadm_generate_dat_conf()
1531 if (outfile != stdout) { in datadm_generate_dat_conf()
1567 retval = fflush(outfile); in datadm_generate_dat_conf()
1569 if (outfile != stdout) { in datadm_generate_dat_conf()
[all …]
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c100 char *outfile = NULL; in main() local
129 outfile = optarg; in main()
197 if (outfile != NULL) in main()
198 stuffenv(APPTRACE_OUTPUT, outfile); in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/
H A Dacl_common.kshlib576 typeset outfile=$2
578 [[ ! -d ${outfile%/*} ]] && usr_exec mkdir -p ${outfile%/*}
581 sort > $outfile
583 cksum attribute* \\\; | sort >> $outfile

12345