Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libshell/common/edit/
H A Dcompletion.c92 static char *find_begin(char outbuff[], char *last, int endchar, int *type) in find_begin() argument
94 register char *cp=outbuff, *bp, *xp; in find_begin()
97 bp = outbuff; in find_begin()
196 int ed_expand(Edit_t *ep, char outbuff[],int *cur,int *eol,int mode, int count) in ed_expand() argument
228 cp = (genchar *)outbuff + *cur; in ed_expand()
231 *cur = ed_external((genchar*)outbuff,(char*)stakptr(0)); in ed_expand()
233 *eol = ed_external((genchar*)outbuff,outbuff); in ed_expand()
236 out = outbuff + *cur + (sh_isoption(SH_VI)!=0); in ed_expand()
247 begin = out = find_begin(outbuff,last,0,&var); in ed_expand()
290 while(cp>outbuff && ((size=cp[-1])==' ' || size=='\t')) in ed_expand()
[all …]
/titanic_41/usr/src/cmd/unpack/
H A Dunpack.c70 static char outbuff[BUFSIZ]; variable
176 outp = &outbuff[0]; in decode()
206 c = outp - &outbuff[0]; in decode()
207 if (write(outfile, &outbuff[0], c) in decode()
222 if (outp == &outbuff[BUFSIZ]) { in decode()
223 if (write(outfile, outp = &outbuff[0], in decode()
498 outp = outbuff; in expand()
560 (void) write(outfile, outbuff, outp - outbuff); in expand()
624 if (outp == &outbuff[BUFSIZ]) { in putch()
625 n = write(outfile, outp = outbuff, BUFSIZ); in putch()
/titanic_41/usr/src/cmd/pack/
H A Dpack.c79 char outbuff [BUFSIZ+4]; variable
152 outbuff[0] = 037; /* ascii US */ in output()
153 outbuff[1] = 036; /* ascii RS */ in output()
157 outbuff[i] = (char)(temp & 0377); in output()
160 outp = &outbuff[6]; in output()
169 dictsize = outp-&outbuff[0]; in output()
199 if (outp >= &outbuff[BUFSIZ]) { in output()
200 if (write(outfile, outbuff, BUFSIZ) != BUFSIZ) { in output()
207 ((union FOUR *)outbuff)->lint.lng = in output()
208 ((union FOUR *)&outbuff[BUFSIZ])->lint.lng; in output()
[all …]
/titanic_41/usr/src/lib/libcmd/common/
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()
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dhist.c195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE); in b_hist()
H A Dprint.c271 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n); in b_print()
/titanic_41/usr/src/lib/libshell/common/include/
H A Ddefs.h140 char *outbuff; /* pointer to output buffer */ \
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dio.c408 shp->outbuff = (char*)malloc(IOBSIZE+4); in sh_ioinit()
411 sfsetbuf(sfstdout,shp->outbuff,IOBSIZE); in sh_ioinit()
501 bp = shp->outbuff; in sh_iostream()
H A Dinit.c1806 free((char*)sh.outbuff); in sh_term()