Home
last modified time | relevance | path

Searched refs:LBSIZE (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_re.c623 casecnt = LBSIZE; in dosub()
633 casecnt = LBSIZE; in dosub()
651 if ((sp + len) >= &genbuf[LBSIZE]) in dosub()
661 if (sp >= &genbuf[LBSIZE]) in dosub()
669 if (sp >= &genbuf[LBSIZE]) in dosub()
697 if (sp >= &genbuf[LBSIZE])
747 unsigned char rebuf[LBSIZE]; in vi_compile()
811 if (gp >= &genbuf[LBSIZE - 3]) in vi_compile()
821 if ((gp + len) >= &genbuf[LBSIZE - 3]) in vi_compile()
910 if ((gp + len) >= &genbuf[LBSIZE-2]) in vi_compile()
[all …]
H A Dex_vops2.c589 if (gcursor + strlen(linebuf) > &genbuf[LBSIZE - 2]) in vappend()
761 size_t destsize = LBSIZE - endsrccol - 1; in imultlinerep()
1490 if (gcursor + length - 1 > &genbuf[LBSIZE - 2])
1552 if (cnt > LBSIZE - 2) in vmaxrep()
1553 cnt = LBSIZE - 2; in vmaxrep()
1582 if (len + cnt * replen <= LBSIZE - 2) in vmaxrep()
1584 cnt = (LBSIZE - 2 - len) / replen; in vmaxrep()
H A Dex_io.c201 if ((cp + len) > &genbuf[LBSIZE - 2]) in getargs()
221 if (cp > &genbuf[LBSIZE - 2]) in getargs()
243 if (cp > &genbuf[LBSIZE - 2]) in getargs()
710 ninbuf = read(io, genbuf, LBSIZE) - 1; in getfile()
733 if (lp >= &linebuf[LBSIZE]) { in getfile()
H A Dex_tune.h60 #define LBSIZE BUFSIZE /* Line buffer size */ macro
H A Dex_subr.c105 cp = &linebuf[LBSIZE - 2]; in column()
118 cp = &linebuf[LBSIZE - 2]; in lcolumn()
580 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2]) in qcolumn()
626 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2]) in nqcolumn()
H A Dex_vops3.c76 unsigned char save[LBSIZE];
409 unsigned char save[LBSIZE]; in lsmatch()
H A Dex_vops.c101 unsigned char temp[LBSIZE];
234 unsigned char savelb[LBSIZE];
528 if (strlen(genbuf) + strlen(wcursor) > LBSIZE - 2) { in vchange()
H A Dex.h226 var unsigned char genbuf[LBSIZE]; /* Working buffer when manipulating linebuf */
242 var unsigned char linebuf[LBSIZE]; /* The primary line buffer */
H A Dex_get.c225 if (cp > &genbuf[LBSIZE - 2]) in gettty()
H A Dex_addr.c331 inputline = &linebuf[LBSIZE];
H A Dex_vadj.c644 unsigned char temp[LBSIZE]; in vredraw()
860 unsigned char temp[LBSIZE]; in vsync1()
H A Dex_v.c471 static unsigned char vlinebuf[LBSIZE];
H A Dex_cmdsub.c300 if (cp > &genbuf[LBSIZE-2]) in join()
602 if (cp + strlen(dp = vpastwh(linebuf)) >= &genbuf[LBSIZE - 2]) in shift()
H A Dex_temp.c668 unsigned char savelb[LBSIZE]; in YANKreg()
H A Dex_vmain.c1383 unsigned char temp[LBSIZE];
/illumos-gate/usr/src/cmd/ed/
H A Ded.c152 #define LBSIZE LINE_MAX macro
206 static char genbuf[LBSIZE];
229 static char crbuf[LBSIZE];
240 static char ibuff[LBSIZE];
242 static char obuff[LBSIZE];
1448 nib = LBSIZE; in putfile()
1470 nib = LBSIZE - 1; in putfile()
1848 char globuf[LBSIZE]; in global()
2046 c = LBSIZE; peekc = 0; in compsub()
2056 if (c > LBSIZE-1) in compsub()
[all …]
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed1.c43 char genbuf[LBSIZE+1];
50 char holdsp[LBSIZE+1];
288 if (sp == &genbuf[LBSIZE+1]) { in dosub()
297 if (sp == &genbuf[LBSIZE+1]) { in dosub()
319 if (sp == &genbuf[LBSIZE+1])
388 if (p1 == &linebuf[LBSIZE+1]) { in command()
408 if (p1 == &holdsp[LBSIZE+1]) { in command()
644 if(p1 < &linebuf[LBSIZE])
H A Dsed.h59 #define LBSIZE 4000 macro
H A Dsed0.c42 char linebuf[LBSIZE+1];
185 if(rline(linebuf, &linebuf[LBSIZE+1]) < 0) return; in fcomp()
196 if(rline(linebuf, &linebuf[LBSIZE+1]) < 0) break; in fcomp()