Searched refs:IOBSIZE (Results 1 - 14 of 14) sorted by relevance
/ast/src/cmd/ie/ |
H A D | history.h | 30 #ifndef IOBSIZE 31 # define IOBSIZE 1024 macro 35 #define HISMAX (sizeof(int)*IOBSIZE)
|
H A D | editlib.c | 53 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 D | io.h | 94 #ifndef IOBSIZE 95 # define IOBSIZE 1024 macro 96 #endif /* IOBSIZE */
|
H A D | history.c | 591 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 D | vi.c | 390 #if KSHELL && (2*CHARSIZE*MAXLINE)<IOBSIZE 396 #if KSHELL && (3*CHARSIZE*MAXLINE)<IOBSIZE
|
H A D | edit.c | 653 editb.e_outlast = editb.e_outptr + IOBSIZE-3;
|
H A D | emacs.c | 193 #if KSHELL && (2*CHARSIZE*MAXLINE)<IOBSIZE
|
/ast/src/cmd/ksh93/include/ |
H A D | io.h | 30 #ifndef IOBSIZE 31 # define IOBSIZE (SF_BUFSIZE*sizeof(char*)) macro 32 #endif /* IOBSIZE */
|
/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); 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 D | path.c | 588 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 D | hist.c | 195 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 D | misc.c | 292 buffer = malloc(IOBSIZE+1); 293 iop = sfnew(NIL(Sfio_t*),buffer,IOBSIZE,fd,SF_READ);
|
H A D | print.c | 305 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n);
|
Completed in 63 milliseconds