Searched refs:IOBSIZE (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | fcin.c | 154 #if defined(IOBSIZE) && (IOBSIZE < 2*MB_LEN_MAX) 156 # define MB_LEN_MAX (IOBSIZE/2)
|
H A D | io.c | 458 shp->outbuff = (char*)malloc(IOBSIZE+4); in sh_ioinit() 459 shp->errbuff = (char*)malloc(IOBSIZE/4); in sh_ioinit() 460 sfsetbuf(sfstderr,shp->errbuff,IOBSIZE/4); in sh_ioinit() 461 sfsetbuf(sfstdout,shp->outbuff,IOBSIZE); in sh_ioinit() 539 if(!(bp = (char *)malloc(IOBSIZE+1))) in sh_iostream() 553 sfsetbuf(iop, bp, IOBSIZE); in sh_iostream() 555 else if(!(iop=sfnew((fd<=2?iop:0),bp,IOBSIZE,fd,flags))) in sh_iostream() 1622 tmp = sftmp(iop->iosize<IOBSIZE?iop->iosize:0); in io_heredoc() 1630 sfsetbuf(tmp,malloc(IOBSIZE+1),IOBSIZE); in io_heredoc() 2411 if(!(disp = (struct subfile*)malloc(sizeof(struct subfile)+IOBSIZE+1))) in subopen() [all …]
|
H A D | macro.c | 2143 sp = sfnew(NIL(Sfio_t*),(char*)malloc(IOBSIZE+1),IOBSIZE,fd,SF_READ|SF_MALLOC); in comsubst() 2631 iop = sftmp((IOBSIZE>PATH_MAX?IOBSIZE:PATH_MAX)+1); in tilde_expand2()
|
H A D | path.c | 592 char *pname,*oldname=shp->st.filename, buff[IOBSIZE+1]; in funload() 628 sh_eval(sfnew(NIL(Sfio_t*),buff,IOBSIZE,fno,SF_READ),SH_FUNEVAL); in funload()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | io.h | 33 #ifndef IOBSIZE 34 # define IOBSIZE (SF_BUFSIZE*sizeof(char*)) macro
|
/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() 267 char buff[IOBSIZE+1]; in b_hist() 268 Sfio_t *iop = sfnew(NIL(Sfio_t*),buff,IOBSIZE,fdo,SF_READ); in b_hist()
|
H A D | misc.c | 292 buffer = malloc(IOBSIZE+1); in b_dot_cmd() 293 iop = sfnew(NIL(Sfio_t*),buffer,IOBSIZE,fd,SF_READ); in b_dot_cmd()
|
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/cmd/truss/ |
H A D | ramdata.h | 78 #define IOBSIZE 12 /* number of bytes shown by prt_iob() */ macro 119 char iob_buf[2*IOBSIZE+8]; /* where prt_iob() leaves its stuff */
|
H A D | print.c | 613 char buffer[IOBSIZE]; in prt_iob() 617 if (Lsp->pr_why == PR_SYSEXIT && nbyte > IOBSIZE) { in prt_iob() 627 int nb = nbyte > IOBSIZE? IOBSIZE : (int)nbyte; in prt_iob()
|
H A D | actions.c | 838 if (nb > IOBSIZE) { in sysexit()
|