Searched refs:IOBSIZE (Results 1 - 14 of 14) sorted by relevance

/ast/src/cmd/ie/
H A Dhistory.h30 #ifndef IOBSIZE
31 # define IOBSIZE 1024 macro
35 #define HISMAX (sizeof(int)*IOBSIZE)
H A Deditlib.c53 char ed_errbuf[IOBSIZE+1] = { 0 };
55 static struct fileblk outfile = { ed_errbuf, ed_errbuf, ed_errbuf+IOBSIZE, 2, IOWRT};
278 fp->last = fp->base + IOBSIZE;
H A Dio.h94 #ifndef IOBSIZE
95 # define IOBSIZE 1024 macro
96 #endif /* IOBSIZE */
H A Dhistory.c591 if(fp->fixcnt > hist_marker+IOBSIZE/2)
953 char inbuff[IOBSIZE+1];
987 fp = new_of(struct fileblk,IOBSIZE+1);
1054 c = offset&(IOBSIZE-1);
1096 n = syscall(3, filenum(fp),fp->base, IOBSIZE);
1098 n = rEAd(filenum(fp),fp->base, IOBSIZE);
H A Dvi.c390 #if KSHELL && (2*CHARSIZE*MAXLINE)<IOBSIZE
396 #if KSHELL && (3*CHARSIZE*MAXLINE)<IOBSIZE
H A Dedit.c653 editb.e_outlast = editb.e_outptr + IOBSIZE-3;
H A Demacs.c193 #if KSHELL && (2*CHARSIZE*MAXLINE)<IOBSIZE
/ast/src/cmd/ksh93/include/
H A Dio.h30 #ifndef IOBSIZE
31 # define IOBSIZE (SF_BUFSIZE*sizeof(char*)) macro
32 #endif /* IOBSIZE */
/ast/src/cmd/ksh93/sh/
H A Dfcin.c154 #if defined(IOBSIZE) && (IOBSIZE < 2*MB_LEN_MAX)
156 # define MB_LEN_MAX (IOBSIZE/2)
H A Dio.c458 shp->outbuff = (char*)malloc(IOBSIZE+4);
459 shp->errbuff = (char*)malloc(IOBSIZE/4);
460 sfsetbuf(sfstderr,shp->errbuff,IOBSIZE/4);
461 sfsetbuf(sfstdout,shp->outbuff,IOBSIZE);
539 if(!(bp = (char *)malloc(IOBSIZE+1)))
553 sfsetbuf(iop, bp, IOBSIZE);
555 else if(!(iop=sfnew((fd<=2?iop:0),bp,IOBSIZE,fd,flags)))
1595 tmp = sftmp(iop->iosize<IOBSIZE?iop->iosize:0);
1603 sfsetbuf(tmp,malloc(IOBSIZE+1),IOBSIZE);
[all...]
H A Dpath.c588 char *pname,*oldname=shp->st.filename, buff[IOBSIZE+1];
624 sh_eval(sfnew(NIL(Sfio_t*),buff,IOBSIZE,fno,SF_READ),SH_FUNEVAL);
/ast/src/cmd/ksh93/bltins/
H A Dhist.c195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE);
266 char buff[IOBSIZE+1];
267 Sfio_t *iop = sfnew(NIL(Sfio_t*),buff,IOBSIZE,fdo,SF_READ);
H A Dmisc.c292 buffer = malloc(IOBSIZE+1);
293 iop = sfnew(NIL(Sfio_t*),buffer,IOBSIZE,fd,SF_READ);
H A Dprint.c305 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n);

Completed in 63 milliseconds