Searched defs:outfile (Results 1 - 25 of 28) sorted by relevance

12

/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 Dtail.c201 pipetail(Sfio_t* infile, Sfio_t* outfile, Sfoff_t number, int delim) argument
243 sfmove(tmp[!fno], outfile, n, -1);
247 sfmove(tmp[fno], outfile, offset[fno], -1);
H A Djoin.c149 Sfio_t* outfile; member in struct:Join_s
475 register Sfio_t* iop = jp->outfile;
982 jp->outfile = sfstdout;
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/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 Dnvtree.c795 register Sfio_t *outfile = wp->out; local
804 if(outfile && !wp->array)
806 sfputc(outfile,'(');
810 sfputc(outfile,'\n');
830 if(outfile)
841 sfnputc(outfile,'\t',wp->indent);
849 sfputr(outfile,sp,' ');
851 nv_outname(outfile,cp,nextcp-cp);
852 sfputc(outfile,'=');
862 sfputc(outfile,'\
947 Sfio_t *outfile; local
[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...]
H A Dio.c1545 register Sfio_t *infile = 0, *outfile; local
1551 if(!(outfile=sftmp(0)))
1557 sfputr(outfile,name,'\n');
1568 sfdisc(outfile,&tee_disc);
1573 sfmove(infile,outfile,SF_UNBOUND,-1);
1579 sh_machere(shp,infile,outfile,iop->ioname);
1586 /* close stream outfile, but save file descriptor */
1587 fd = sffileno(outfile);
1588 sfsetfd(outfile,-1);
1589 sfclose(outfile);
2408 sh_menu(Sfio_t *outfile,int argn,char *argv[]) argument
[all...]
H A Dmacro.c265 * The result is written to <outfile>
267 void sh_machere(Shell_t *shp,Sfio_t *infile, Sfio_t *outfile, char *string) argument
280 mp->sp = outfile;
321 sfwrite(outfile,fcseek(0),c);
343 sfputc(outfile,ESCAPE);
385 sfwrite(outfile,(char*)stkptr(stkp,offset2),c);
399 sfputc(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/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/libshell/common/bltins/
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 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 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)
H A Dtypeset.c50 Sfio_t *outfile; member in struct:tdata
1226 nv_attribute(np,tp->outfile,tp->prefix,tp->aflag);
1317 tp->outfile = file;
1327 nv_attribute(np,dp->outfile,dp->prefix,dp->aflag);
1345 tp->outfile = file;
/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...]
H A Dprof_init.c201 profile_flush_to_file(profile_t profile, const_profile_filespec_t outfile) argument
208 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...]
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dhistory.c912 * write the command starting at offset <offset> onto file <outfile>.
917 void hist_list(register History_t *hp,Sfio_t *outfile, off_t offset,int last, char *nl) argument
923 sfputr(outfile,sh_translate(e_unknown),'\n');
930 sfputr(outfile,nl,-1);
934 sfputc(outfile,oldc);
/osnet-11/usr/src/lib/libnisdb/
H A Dnis_db.cc202 db_copy_file(char *infile, char *outfile) argument
204 return (InUseDictionary->copyfile(infile, outfile));
/osnet-11/usr/src/lib/libpkg/common/
H A Dkeystore.c117 * outfile - Where to print certificates
125 keystore_encoding_format_t format, FILE *outfile)
156 fname, B_FALSE, outfile);
191 fname, B_TRUE, outfile);
231 * outfile - Where to print certificate
239 FILE *outfile)
307 (void) PEM_write_X509(outfile, x);
310 (void) i2d_X509_fp(outfile, x);
313 (void) fprintf(outfile, "%18s: %s\n",
316 (void) fprintf(outfile, "
124 print_certs(PKG_ERR *err, keystore_handle_t keystore_h, char *alias, keystore_encoding_format_t format, FILE *outfile) argument
237 print_cert(PKG_ERR *err, X509 *x, keystore_encoding_format_t format, char *alias, boolean_t is_trusted, FILE *outfile) argument
[all...]

Completed in 120 milliseconds

12