Home
last modified time | relevance | path

Searched refs:sfwrite (Results 1 – 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Doptesc.c59 sfwrite(sp, m, s - m); in optesc()
61 sfwrite(sp, s, 3); in optesc()
65 sfwrite(sp, m, s - m); in optesc()
79 sfwrite(sp, m, s - m); in optesc()
83 sfwrite(sp, m, s - m); in optesc()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dfold.c107 sfwrite(out,cp,n); in fold()
122 sfwrite(out,first,col); in fold()
127 sfwrite(out, cont, contsize); in fold()
147 sfwrite(out,first,(--cp)-first); in fold()
148 sfwrite(out, cont, contsize); in fold()
165 sfwrite(out,first,cp-first); in fold()
H A Dpaste.c108 sfwrite(out,delim,dsiz); in paste()
116 sfwrite(out,delim,z); in paste()
121 if(sfwrite(out,cp,sfvalue(fp)-((n+1)<nstream)) < 0) in paste()
133 sfwrite(out,mp[d].chr,mp[d].len); in paste()
152 if((cp = sfgetr(in,'\n',0)) && sfwrite(out,cp,sfvalue(in)-1) < 0) in spaste()
162 sfwrite(out,mp[d].chr,mp[d].len); in spaste()
167 if(sfwrite(out,cp,sfvalue(in)-1) < 0) in spaste()
H A Dcomm.c87 if(sfwrite(out,cp1,n) < 0) in comm()
101 if(sfwrite(out,cp2,n2) < 0) in comm()
109 if((mode&C_FILE1) && sfwrite(out,cp1,n1) < 0) in comm()
138 if(sfwrite(out,cp1,n1) < 0) in comm()
H A Duniq.c164 sfwrite(fdout,outp,0); in uniq()
198 sfwrite(fdout,outp,0); in uniq()
206 if(sfwrite(fdout,outp,outsize) != outsize) in uniq()
215 if(sfwrite(fdout,outp,outsize) != outsize) in uniq()
230 sfwrite(fdout,outp,0); in uniq()
H A Dcut.c337 if (sfwrite(fdout, (char*)bp, c) < 0) in cutcols()
351 sfwrite(fdout, cut->ldelim.str, cut->ldelim.len); in cutcols()
433 if ((c = cp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) in cutfields()
462 if (sfwrite(fdout, (char*)mb, c) < 0) in cutfields()
520 if ((c = wp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) in cutfields()
550 if (copy && (c=cp-copy)>0 && (!nodelim || !cut->sflag) && sfwrite(fdout,(char*)copy,c)< 0) in cutfields()
559 sfwrite(fdtmp,(char*)first,c); in cutfields()
H A Dcat.c184 sfwrite(op, cur, m); in vcat()
221 sfwrite(op, tmp, m); in vcat()
248 sfwrite(op, cur, m); in vcat()
325 sfwrite(op, (char*)meta, 3); in vcat()
333 sfwrite(op, (char*)meta, 3); in vcat()
H A Drev.c90 if (sfwrite(out, bp, cp - bp) < 0) in rev_char()
110 if(sfwrite(out,cp,n)<0) in rev_char()
H A Ddirname.c94 sfwrite(outfile,pathname,last+1-pathname); in l_dirname()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dsfstr.h45 #undef sfwrite
58 extern int sfwrite(Sfio_t*, void*, int);
H A Dsfstr.c77 r = sfwrite(f, buf, r); in sfprintf()
232 sfwrite(Sfio_t* f, void* buf, int n) in sfwrite() function
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregdecomp.c56 sfwrite(sp, b, p - b); in detrie()
64 sfwrite(sp, b, p - b); in detrie()
238 sfwrite(sp, ic, t - ic); in decomp()
254 sfwrite(sp, nc + 1, s - nc - 1); in decomp()
258 sfwrite(sp, nc, s - nc); in decomp()
H A Dregsub.c256 sfwrite(dp, op, match->rm_eo); in regsub()
259 sfwrite(dp, op, match->rm_so); in regsub()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dmacro.c323 sfwrite(outfile,fcseek(0),c); in sh_machere()
388 sfwrite(outfile,(char*)stkptr(stkp,offset2),c); in sh_machere()
501 sfwrite(stkp,first,c); in copyto()
563 sfwrite(stkp,first,c+1); in copyto()
571 sfwrite(stkp,first,c+1); in copyto()
582 sfwrite(stkp,first,c); in copyto()
596 sfwrite(stkp,first,c); in copyto()
618 sfwrite(stkp,first,n); in copyto()
662 sfwrite(stkp,first,c); in copyto()
695 sfwrite(stkp,first,c); in copyto()
[all …]
H A Dlex.c164 sfwrite(stkp,fcfirst()+type,off-offset); in refvar()
198 sfwrite(log, (void*)buff, size); in lex_advance()
200 sfwrite(sfstderr, buff, size); in lex_advance()
208 sfwrite(shp->strbuf,lp->lexd.docend,n); in lex_advance()
227 sfwrite(stkp,buff,size); in lex_advance()
1338 sfwrite(stkp,state,n); in sh_lex()
1753 sfwrite(stkp,lp->lexd.docend,n); in nested_here()
1792 sfwrite(lp->sh->stk,cp,copy); in sh_lexskip()
1808 if((k=sfwrite(sp,cp,k)) < 0) in _sfwrite()
1814 if((k=sfwrite(sp,cp,ep-cp)) < 0) in _sfwrite()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dputw.c31 return sfwrite(f, &v, sizeof(v)) == sizeof(v) ? 0 : -1; in putw()
H A Dfputwc.c32 return (sfwrite(f, &c, sizeof(c)) == sizeof(c)) ? c : WEOF; in fputwc()
H A Dfputws.c35 return (sfwrite(f, s, n) == n) ? 0 : -1; in fputws()
H A Dfwrite.c33 return ((v = sfwrite(f, p, s * n)) <= 0) ? 0 : (v / s); in fwrite()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfwrite.c30 ssize_t sfwrite(Sfio_t* f, const Void_t* buf, size_t n) in sfwrite() function
32 ssize_t sfwrite(f,buf,n) in sfwrite()
/illumos-gate/usr/src/contrib/ast/src/cmd/msgcc/
H A Dmsggen.c199 n = sfwrite(sp, s, n); in ccsfprintf()
427 sfwrite(tp, s, t - s); in main()
434 sfwrite(tp, s, t - s); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcseekable.c92 if((p = sfwrite(sf,buf,w)) != w)
147 else if((w = sfwrite(sf,buf,r)) > 0)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dstak.h43 #define stakwrite(b,n) sfwrite(stkstd,(b),(n))
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dmini.sym79 sfwrite
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dprint.c341 sfwrite(outfile,stakptr(staktell()),pdata.argsize); in b_print()
395 sfwrite(outfile,stakptr(staktell()),n); in sh_echolist()
582 return(sfwrite(iop, (void*)&number, size)); in fmtbase64()
613 size = sfwrite(iop, cp, size); in fmtbase64()
635 return(sfwrite(iop,cp,size)); in fmtbase64()

123