Home
last modified time | relevance | path

Searched refs:sfmove (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Drevlib.c47 if(start>0 && sfmove(in, (Sfio_t*)0, start, -1) != start) in rev_line()
49 if(sfmove(in, tmp, SF_UNBOUND, -1) < 0 || !sfeof(in) || sferror(tmp)) in rev_line()
96 else if(sfmove(in,out,nleft,-1) != nleft) in rev_line()
108 if(sfmove(in,out,nleft,-1) != nleft) in rev_line()
H A Dhead.c143 if ((moved = sfmove(fp, NiL, skip, delim)) < 0 && !ERROR_PIPE(errno) && errno != EINTR) in b_head()
148 if ((moved = sfmove(fp, sfstdout, keep, delim)) < 0 && !ERROR_PIPE(errno) && errno != EINTR || in b_head()
149 …delim >= 0 && moved < keep && sfmove(fp, sfstdout, SF_UNBOUND, -1) < 0 && !ERROR_PIPE(errno) && er… in b_head()
H A Dtail.c228 while ((n = sfmove(infile, out, number, delim)) > 0) in pipetail()
253 sfmove(tmp[!fno], NiL, n, delim); in pipetail()
255 sfmove(tmp[!fno], outfile, n, -1); in pipetail()
259 sfmove(tmp[fno], outfile, offset[fno], -1); in pipetail()
303 sfmove(tp->sp, NiL, -number - 1, delim); in init()
765 …if (number < -1 && (moved = sfmove(ip, NiL, -(number + 1), delim)) >= 0 && delim >= 0 && moved < -… in b_tail()
770 sfmove(ip, sfstdout, SF_UNBOUND, -1); in b_tail()
782 sfmove(ip, sfstdout, SF_UNBOUND, -1); in b_tail()
H A Dtee.c198 …if ((sfmove(sfstdin, sfstdout, SF_UNBOUND, -1) < 0 || !sfeof(sfstdin)) && !ERROR_PIPE(errno) && er… in b_tee()
H A Dcat.c536 else if (sfmove(fp, sfstdout, SF_UNBOUND, -1) >= 0 && sfeof(fp)) in b_cat()
H A Dcut.c539 sfmove(fdtmp,fdout,offset,-1); in cutfields()
H A DRELEASE293 98-03-11 cat,cp,rev,tee: fix sfmove() error checks
295 cp: fix sfmove() error check
H A Dcp.c622 if (sfmove(ip, op, (Sfoff_t)SF_UNBOUND, -1) < 0) in visit()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dmini.sym36 sfmove
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfmove.c34 Sfoff_t sfmove(Sfio_t* fr, Sfio_t* fw, Sfoff_t n, reg int rc) in sfmove() function
36 Sfoff_t sfmove(fr,fw,n,rc) in sfmove()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dshcomp.c171 sfmove(in,out,SF_UNBOUND,-1); in main()
H A Dtdump.c205 sfmove(sh.heredocs,outfile, iop->iosize,-1); in p_redirect()
H A Dtrestore.c255 sfmove(infile,shp->heredocs, iop->iosize, -1); in r_redirect()
H A Ddeparse.c598 sfmove(infile,outfile,iop->iosize,-1); in here_body()
H A Dnvtype.c1684 sfmove(iop,out, nv_size(mp), -1); in sh_outtype()
H A Dlex.c1750 sfmove(lp->sh->strbuf,stkp,lp->lexd.docextra,-1); in nested_here()
H A Dparse.c2081 sfmove(lexp->kiatmp,lexp->kiafile,SF_UNBOUND,-1); in kiaclose()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dsfio.h252 extern Sfoff_t sfmove _ARG_((Sfio_t*, Sfio_t*, Sfoff_t, int));
/illumos-gate/usr/src/cmd/ast/libast/
H A Dmapfile-vers786 sfmove;
H A DMakefile.defs344 sfio/sfmove.o \
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DMakefile154 sfgetr.c sfllen.c sfmode.c sfmove.c sfnew.c \
H A DMamfile4167 make sfmove.o
4168 make sfio/sfmove.c
4170 done sfio/sfmove.c
4171 meta sfmove.o %.c>%.o sfio/sfmove.c sfmove
4172 prev sfio/sfmove.c
4173 …} -I. -Icomp -Iport -Isfio -Iinclude -Istd -I${INSTALLROOT}/include -D_PACKAGE_ast -c sfio/sfmove.c
4174 done sfmove.o generated
6104 …n.o sffilbuf.o sfflsbuf.o sfprints.o sfgetd.o sfgetr.o sfllen.o sfmode.o sfmove.o sfnew.o sfpkrd.o…
H A DRELEASE579 05-01-11 sfio/sfmove.c: try to seek(fr) when fw==0
661 sfio/sfhdr.h,sfio/sfsetbuf.c: lower sfmove() default buf size 4x
1790 95-02-14 sfmove() buffer size overflow fix
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dfastfind.c1225 if (sfmove(fp->fp, sp, SF_UNBOUND, -1) < 0 || !sfeof(fp->fp)) in findsync()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c1355 sfmove(iop,file, nv_size(np), -1); in print_namval()

12