Home
last modified time | relevance | path

Searched refs:outbuff (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dcompletion.c103 bp = outbuff; in find_begin()
244 *eol = ed_external((genchar*)outbuff,outbuff); in ed_expand()
387 if(outbuff+size >= &outbuff[MAXLINE]) in ed_expand()
479 *cur = (out-outbuff); in ed_expand()
483 *eol = (out-outbuff); in ed_expand()
495 c = outbuff[*cur]; in ed_expand()
496 outbuff[*cur] = 0; in ed_expand()
497 for(out=outbuff; *out;n++) in ed_expand()
499 outbuff[*cur] = c; in ed_expand()
501 outbuff[*eol+1] = 0; in ed_expand()
[all …]
/illumos-gate/usr/src/cmd/unpack/
H A Dunpack.c68 static char outbuff[BUFSIZ]; variable
174 outp = &outbuff[0]; in decode()
204 c = outp - &outbuff[0]; in decode()
205 if (write(outfile, &outbuff[0], c) in decode()
220 if (outp == &outbuff[BUFSIZ]) { in decode()
221 if (write(outfile, outp = &outbuff[0], in decode()
496 outp = outbuff; in expand()
558 (void) write(outfile, outbuff, outp - outbuff); in expand()
622 if (outp == &outbuff[BUFSIZ]) { in putch()
623 n = write(outfile, outp = outbuff, BUFSIZ); in putch()
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c77 char outbuff [BUFSIZ+4]; variable
150 outbuff[0] = 037; /* ascii US */ in output()
151 outbuff[1] = 036; /* ascii RS */ in output()
155 outbuff[i] = (char)(temp & 0377); in output()
158 outp = &outbuff[6]; in output()
167 dictsize = outp-&outbuff[0]; in output()
197 if (outp >= &outbuff[BUFSIZ]) { in output()
205 ((union FOUR *)outbuff)->lint.lng = in output()
206 ((union FOUR *)&outbuff[BUFSIZ])->lint.lng; in output()
213 c = outp-outbuff; in output()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Duniq.c89 char *orecp, *sbufp=0, *outbuff; in uniq() local
224 if (!(outbuff = sfreserve(fdout, 0, 0)) || (outsize = sfvalue(fdout)) < 0) in uniq()
226 outp = outbuff; in uniq()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dhist.c196 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE); in b_hist()
H A Dprint.c315 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n); in b_print()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h173 char *outbuff; /* pointer to output buffer */ \
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dio.c458 shp->outbuff = (char*)malloc(IOBSIZE+4); in sh_ioinit()
461 sfsetbuf(sfstdout,shp->outbuff,IOBSIZE); in sh_ioinit()
546 bp = shp->outbuff; in sh_iostream()
H A Dinit.c2135 free((char*)sh.outbuff); in sh_term()