Searched refs:outfile (Results 1 - 25 of 59) sorted by relevance

123

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dsysio.t63 $outfile = 'sysio.out';
65 open(O, ">$outfile") || die "sysio.t: cannot write $outfile: $!";
78 # $outfile still intact
79 print 'not ' if (-s $outfile);
91 # $outfile still intact
93 close O; open(O, ">>$outfile") || die "sysio.t: cannot write $outfile: $!";
95 print 'not ' if (-s $outfile);
108 # $outfile stil
[all...]
H A Dclosure.t483 my $outfile = "tout$$"; $outfile++ while -e $outfile;
484 push @tmpfiles, $outfile;
485 system "$cmd >$outfile";
486 { local $/; open IN, $outfile; $output = <IN>; close IN }
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dtdump.c43 static Sfio_t *outfile; variable
47 outfile = out;
70 return(sfputl(outfile,-1));
71 if(sfputl(outfile,t->tre.tretyp)<0)
82 if(sfputu(outfile,t->fork.forkline)<0)
101 if(sfputl(outfile,-1)<0)
115 if(sfputu(outfile,t->ar.arline)<0)
119 if(sfputu(outfile,t->for_.forline)<0)
127 if(sfputu(outfile,t->sw.swline)<0)
133 if(sfputu(outfile,
[all...]
H A Ddeparse.c62 static Sfio_t *outfile; variable
69 outfile = out;
99 sfnputc(outfile,'\t',level);
128 sfputr(outfile,"|&",'\n');
133 sfputr(outfile,"&",'\n');
162 sfprintf(outfile,"(( %s; ",forinit);
164 sfputr(outfile,arg->argval,';');
166 sfprintf(outfile," %s))\n",arg->argval);
222 sfputc(outfile,'\n');
226 sfputr(outfile,c
[all...]
H A Djobs.c134 static Sfio_t *outfile; variable
554 outfile = sfstderr;
893 outfile = file;
995 sfprintf(outfile,"%s\n",sh_pid2str(shp,px->p_pgrp?px->p_pgrp:px->p_pid));
997 sfprintf(outfile,"%d\n",px->p_pgrp?px->p_pgrp:px->p_pid);
1012 sfputc(outfile,'\n');
1013 sfprintf(outfile,"[%d] %c ",n, msize);
1019 sfprintf(outfile,"%s\t",sh_pid2str(shp,px->p_pid));
1021 sfprintf(outfile,"%d\t",px->p_pid);
1033 sfputr(outfile,ms
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/pod/
H A Dtestpchk.pl48 my $outfile = $args{'-Out'} || croak "No output file given!";
63 for ($infile, $outfile, $cmpfile) {
67 podchecker($infile, $outfile);
68 if ( testcmp({'-cmplines' => \&msgcmp}, $outfile, $cmpfile) ) {
69 $different = "$outfile is different from $cmpfile";
72 unlink($outfile);
82 my ($outfile, $errfile) = ("", "");
94 $outfile = $testdir . $testname . '.OUT';
112 -Out => $outfile,
121 unlink($outfile);
[all...]
H A Dtestp2pt.pl103 my ($infile, $outfile) = @_;
106 $text_parser->parse_from_file($infile, $outfile);
112 my $outfile = $args{'-Out'} || croak "No output file given!";
126 podinc2plaintext($infile, $outfile);
127 if ( testcmp($outfile, $cmpfile) ) {
128 $different = "$outfile is different from $cmpfile";
131 unlink($outfile);
141 my ($outfile, $errfile) = ("", "");
153 $outfile = $testdir . $testname . '.OUT';
171 -Out => $outfile,
[all...]
/osnet-11/usr/src/grub/grub2/tests/
H A Dpartmap_test.in29 outfile=$1
33 if ! grep "($disk)" ${outfile} >/dev/null
46 outfile=$1
50 --modules=$mod | tr -d "\n\r" > ${outfile}
51 cat ${outfile}
56 outfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1
67 list_parts part_msdos ${imgfile} ${outfile}
68 check_output ${outfile} hd0
73 list_parts part_msdos ${imgfile} ${outfile}
74 check_output ${outfile} hd
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dimport_unicode.py51 outfile = open (sys.argv[4], "w") variable
52 outfile.write ("#include <grub/unicode.h>\n")
53 outfile.write ("\n")
54 outfile.write ("struct grub_unicode_compact_range grub_unicode_compact[] = {\n")
132 outfile.write (("{0x%x, 0x%x, GRUB_BIDI_TYPE_%s, %d, %d, GRUB_JOIN_TYPE_%s},\n" \
147 outfile.write (("{0x%x, 0x%x, GRUB_BIDI_TYPE_%s, %d, %d, GRUB_JOIN_TYPE_%s},\n" \
150 outfile.write ("{0, 0, 0, 0, 0, 0},\n")
152 outfile.write ("};\n")
158 outfile.write ("struct grub_unicode_bidi_pair grub_unicode_bidi_pairs[] = {\n")
169 outfile
[all...]
H A Dimport_gcry.py90 outfile = os.path.join (cipher_dir_out, cipher_file) variable
104 fw = codecs.open (outfile, "w", "utf-8")
342 outfile = os.path.join (cipher_dir_out, "types.h") variable
343 fw=codecs.open (outfile, "w", "utf-8")
349 outfile = os.path.join (cipher_dir_out, "memory.h") variable
350 fw=codecs.open (outfile, "w", "utf-8")
356 outfile = os.path.join (cipher_dir_out, "cipher.h") variable
357 fw=codecs.open (outfile, "w", "utf-8")
363 outfile = os.path.join (cipher_dir_out, "g10lib.h") variable
364 fw=codecs.open (outfile, "
370 outfile = os.path.join (cipher_dir_out, "ChangeLog") variable
[all...]
/osnet-11/usr/src/lib/libsecdb/common/
H A Di.rbac151 outfile=""
167 outfile=$tmp_dir/rbac_${PKGINST}_${fname}_merge.$$
173 rm -f $outfile
207 $dbmerge $oldfile $outfile
215 $commit $outfile $oldfile
217 echo "$0 : failed to mv $outfile to $2"
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/t/
H A Dpod2html-lib.pl13 my $outfile = catfile $new_dir, "$podfile.html";
20 "--outfile=$outfile"
35 open my $in, $outfile or die "cannot open $outfile: $!";
49 open my $diff, "diff -$diffopt $expectfile $outfile |" or die $!;
57 1 while unlink $outfile;
/osnet-11/usr/src/grub/grub2/grub-core/
H A Dgenmod.sh.in23 outfile=$3
25 tmpfile=${outfile}.tmp
36 rm -f $tmpfile $outfile
74 mv $tmpfile $outfile
/osnet-11/usr/src/lib/libcmd/common/
H A Dbasename.c69 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix) argument
97 sfwrite(outfile,first,last-first);
98 sfputc(outfile,'\n');
H A Ddirname.c66 static void l_dirname(register Sfio_t *outfile, register const char *pathname) argument
94 sfwrite(outfile,pathname,last+1-pathname);
95 sfputc(outfile,'\n');
H A Dpr.c106 Sfio_t *outfile; member in struct:_pr_
178 sfputc(pp->outfile,'\n');
179 sfputc(pp->outfile,'\n');
181 sfwrite(pp->outfile,pp->margin,pp->offlen);
182 if(sfprintf(pp->outfile,"%s %s Page %d\n\n\n",pp->date,header,pp->pageno)<0)
202 if(sfputc(pp->outfile,'\f') < 0)
207 if(sfnputc(pp->outfile, '\n',n+HDRSZ) < 0)
223 out = pp->outfile;
232 sfnputc(pp->outfile,'\n',HDRSZ);
253 if(sfputc(pp->outfile,p
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dprint.c143 register Sfio_t *outfile; local
267 if(!(outfile=shp->sftable[fd]))
271 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n);
273 sfpool(outfile,shp->outpool,SF_WRITE);
276 n = sfset(outfile,SF_SHARE|SF_PUBLIC,0);
294 sfprintf(outfile,"%!",&pdata);
297 sfwrite(outfile,stakptr(staktell()),pdata.argsize);
298 if(sffileno(outfile)!=sffileno(sfstderr))
299 sfsync(outfile);
307 fmtbase64(outfile,*arg
339 sh_echolist(Shell_t *shp,Sfio_t *outfile, int raw, char *argv[]) argument
[all...]
H A Dhist.c48 Sfio_t *outfile; local
186 outfile = sfstdout;
195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE);
202 sfprintf(outfile,"%d\t",range[flag]);
204 sfputc(outfile,'\t');
205 hist_list(shp->gd->hist_ptr,outfile,hist_tell(shp->gd->hist_ptr,range[flag]),0,arg);
214 sfclose(outfile);
H A Dshiocmd_solaris.c330 Sfio_t *outfile; local
334 outfile = 0;
335 else if(!(outfile=out))
336 outfile = out = sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING);
338 sfseek(outfile,0L,SEEK_SET);
339 genvalue(outfile,&dcp->sclass,0,np);
341 if(!outfile)
/osnet-11/usr/src/lib/libcmdutils/common/
H A Dwritefile.c46 writefile(int fi, int fo, char *infile, char *outfile, char *asfile, argument
82 targ_size = strlen(outfile) + strlen(atfile) +
85 targ_size = strlen(outfile) + 1;
96 outfile, dgettext(TEXT_DOMAIN, " attribute "), atfile);
98 (void) snprintf(targbuf, targ_size, "%s", outfile);
H A Dprocess_xattrs.c78 mv_xattrs(char *cmd, char *infile, char *outfile, int sattr, int silent) argument
107 if ((outdfd = attropen(outfile, ".", O_RDONLY)) == -1) {
150 if (writefile(sattrfd, tattrfd, infile, outfile, dp->d_name,
/osnet-11/usr/src/lib/libnisdb/
H A Ddb_c.x127 % bool_t dump(char *outfile) {return (internal_db.dump(outfile));};
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_file.c408 static errcode_t write_data_to_file(prf_data_t data, const char *outfile, argument
419 if (asprintf(&new_file, "%s.$$$", outfile) < 0) {
423 if (asprintf(&old_file, "%s.bak", outfile) < 0) {
447 if (make_hard_link(outfile, old_file) == 0) {
451 if (rename(new_file, outfile)) {
459 if (rename(new_file, outfile)) {
470 if (rename(outfile, old_file)) {
474 if (rename(new_file, outfile)) {
476 rename(old_file, outfile); /* back out... */
524 errcode_t profile_flush_file_data_to_file(prf_data_t data, const char *outfile) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/pod/
H A Dpod2html.PL45 pod2html --help --htmlroot=<name> --infile=<name> --outfile=<name>
80 =item outfile
82 --outfile=name
84 Specify the HTML file to create. Output goes to STDOUT if no outfile
/osnet-11/usr/src/lib/fm/libasr/common/
H A Dasr_audit.c698 FILE *outfile; local
700 if ((outfile = popen(PKG_INFO_CMD, "r")) == NULL) {
706 err = add_pkginfo_data(ah, out, outfile);
707 (void) pclose(outfile);
879 char *outfile = asr_tmpfile(ah); local
881 if (outfile == NULL)
885 free(outfile);
889 if (asr_buf_append(cmd, "%s > %s", payload, outfile) != 0) {
891 free(outfile);
900 (void) unlink(outfile);
[all...]

Completed in 70 milliseconds

123