Home
last modified time | relevance | path

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

123

/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/usr/src/lib/libcmd/common/
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.c341 if (sfwrite(fdout, (char*)bp, c) < 0) in cutcols()
355 sfwrite(fdout, cut->ldelim.str, cut->ldelim.len); in cutcols()
437 if ((c = cp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) in cutfields()
466 if (sfwrite(fdout, (char*)mb, c) < 0) in cutfields()
524 if ((c = wp - copy) > 0 && sfwrite(fdout, (char*)copy, c) < 0) in cutfields()
554 if (copy && (c=cp-copy)>0 && (!nodelim || !cut->sflag) && sfwrite(fdout,(char*)copy,c)< 0) in cutfields()
563 sfwrite(fdtmp,(char*)first,c); in cutfields()
H A Dcat.c185 sfwrite(op, cur, m); in vcat()
222 sfwrite(op, tmp, m); in vcat()
249 sfwrite(op, cur, m); in vcat()
326 sfwrite(op, (char*)meta, 4); in vcat()
333 sfwrite(op, (char*)meta, 3); in vcat()
H A Drev.c90 if (sfwrite(out, bp, cp - bp) < 0) in rev_char()
106 if(sfwrite(out,cp,n)<0) in rev_char()
H A Dgrep.c308 sfwrite(sp, s, so); in highlight()
309 sfwrite(sp, bold, sizeof(bold)); in highlight()
310 sfwrite(sp, s + so, eo - so); in highlight()
311 sfwrite(sp, normal, sizeof(normal)); in highlight()
312 sfwrite(sp, s + eo, n - eo); in highlight()
340 sfwrite(sfstdout, s, len + 1); in record()
408 sfwrite(sfstdout, s, len + 1); in execute()
428 sfwrite(sfstdout, s, len + 1); in execute()
/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dmacro.c312 sfwrite(outfile,fcseek(0),c); in sh_machere()
376 sfwrite(outfile,(char*)stkptr(stkp,offset2),c); in sh_machere()
487 sfwrite(stkp,first,c); in copyto()
548 sfwrite(stkp,first,c+1); in copyto()
556 sfwrite(stkp,first,c+1); in copyto()
567 sfwrite(stkp,first,c); in copyto()
581 sfwrite(stkp,first,c); in copyto()
609 sfwrite(stkp,first,c); in copyto()
633 sfwrite(stkp,first,c); in copyto()
655 sfwrite(stkp,first,++c); in copyto()
[all …]
H A Dlex.c159 sfwrite(stkp,fcfirst()+type,off-offset); in refvar()
193 sfwrite(log, (void*)buff, size); in lex_advance()
195 sfwrite(sfstderr, buff, size); in lex_advance()
203 sfwrite(shp->strbuf,lp->lexd.docend,n); in lex_advance()
218 sfwrite(stkp,buff,size); in lex_advance()
1253 sfwrite(stkp,state,n); in sh_lex()
1620 sfwrite(stkp,lp->lexd.docend,n); in nested_here()
1659 sfwrite(lp->sh->stk,cp,copy); in sh_lexskip()
1675 if((k=sfwrite(sp,cp,k)) < 0) in _sfwrite()
1681 if((k=sfwrite(sp,cp,ep-cp)) < 0) in _sfwrite()
[all …]
/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/usr/src/lib/libast/common/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()
/titanic_41/usr/src/cmd/ast/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()
/titanic_41/usr/src/lib/libast/common/disc/
H A Dsfdcseekable.c92 if((p = sfwrite(sf,buf,w)) != w)
147 else if((w = sfwrite(sf,buf,r)) > 0)
/titanic_41/usr/src/lib/libast/amd64/include/ast/
H A Dstak.h52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n))
/titanic_41/usr/src/lib/libast/common/include/
H A Dstak.h43 #define stakwrite(b,n) sfwrite(stkstd,(b),(n))
/titanic_41/usr/src/lib/libast/i386/include/ast/
H A Dstak.h52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n))
/titanic_41/usr/src/lib/libast/sparcv9/include/ast/
H A Dstak.h52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n))
/titanic_41/usr/src/lib/libast/sparc/include/ast/
H A Dstak.h52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n))

123