Searched refs:outbuff (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | completion.c | 98 static char *find_begin(char outbuff[], char *last, int endchar, int *type) in find_begin() argument 100 register char *cp=outbuff, *bp, *xp; in find_begin() 103 bp = outbuff; in find_begin() 207 int ed_expand(Edit_t *ep, char outbuff[],int *cur,int *eol,int mode, int count) in ed_expand() argument 239 cp = (genchar *)outbuff + *cur; in ed_expand() 242 *cur = ed_external((genchar*)outbuff,(char*)stakptr(0)); in ed_expand() 244 *eol = ed_external((genchar*)outbuff,outbuff); in ed_expand() 247 out = outbuff + *cur + (sh_isoption(SH_VI)!=0); in ed_expand() 263 begin = out = find_begin(outbuff,last,0,&var); in ed_expand() 306 while(cp>outbuff && ((size=cp[-1])==' ' || size=='\t')) in ed_expand() [all …]
|
/illumos-gate/usr/src/cmd/unpack/ |
H A D | unpack.c | 68 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 D | pack.c | 77 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() 198 if (write(outfile, outbuff, BUFSIZ) != BUFSIZ) { in output() 205 ((union FOUR *)outbuff)->lint.lng = in output() 206 ((union FOUR *)&outbuff[BUFSIZ])->lint.lng; in output() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | uniq.c | 89 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 D | hist.c | 196 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE); in b_hist()
|
H A D | print.c | 315 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 D | defs.h | 173 char *outbuff; /* pointer to output buffer */ \
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | io.c | 458 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 D | init.c | 2135 free((char*)sh.outbuff); in sh_term()
|