Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/vi/port/
H A Dex_re.c622 casecnt = LBSIZE; in dosub()
632 casecnt = LBSIZE; in dosub()
650 if ((sp + len) >= &genbuf[LBSIZE]) in dosub()
660 if (sp >= &genbuf[LBSIZE]) in dosub()
668 if (sp >= &genbuf[LBSIZE]) in dosub()
696 if (sp >= &genbuf[LBSIZE])
746 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()
837 if ((gp + len) >= &genbuf[LBSIZE - 3]) 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()
1489 if (gcursor + length - 1 > &genbuf[LBSIZE - 2])
1551 if (cnt > LBSIZE - 2) in vmaxrep()
1552 cnt = LBSIZE - 2; in vmaxrep()
1581 if (len + cnt * replen <= LBSIZE - 2) in vmaxrep()
1583 cnt = (LBSIZE - 2 - len) / replen; in vmaxrep()
H A Dex_io.c200 if ((cp + len) > &genbuf[LBSIZE - 2]) in getargs()
220 if (cp > &genbuf[LBSIZE - 2]) in getargs()
242 if (cp > &genbuf[LBSIZE - 2]) in getargs()
707 ninbuf = read(io, genbuf, LBSIZE) - 1; in getfile()
730 if (lp >= &linebuf[LBSIZE]) { in getfile()
H A Dex_tune.h60 #define LBSIZE BUFSIZE /* Line buffer size */ macro
H A Dex_subr.c98 cp = &linebuf[LBSIZE - 2]; in column()
111 cp = &linebuf[LBSIZE - 2]; in lcolumn()
573 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2]) in qcolumn()
619 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_v.c473 static unsigned char vlinebuf[LBSIZE];
H A Dex_vadj.c644 unsigned char temp[LBSIZE]; in vredraw()
860 unsigned char temp[LBSIZE]; in vsync1()
H A Dex_cmdsub.c299 if (cp > &genbuf[LBSIZE-2]) in join()
601 if (cp + strlen(dp = vpastwh(linebuf)) >= &genbuf[LBSIZE - 2]) in shift()
H A Dex_temp.c669 unsigned char savelb[LBSIZE]; in YANKreg()
H A Dex_vmain.c1386 unsigned char temp[LBSIZE];
/titanic_41/usr/src/cmd/ed/
H A Ded.c152 #define LBSIZE LINE_MAX macro
186 static char linebuf[LBSIZE];
207 static char genbuf[LBSIZE];
230 static char crbuf[LBSIZE];
241 static char ibuff[LBSIZE];
243 static char obuff[LBSIZE];
1343 if (p > &linebuf[LBSIZE-1]) in gettty()
1378 if ((ninbuf = read(io, genbuf, LBSIZE)-1) < 0) in getfile()
1396 if (lp >= &linebuf[LBSIZE]) { in getfile()
1435 nib = LBSIZE; in putfile()
[all …]
/titanic_41/usr/src/ucbcmd/sed/
H A Dsed1.c45 char genbuf[LBSIZE+1];
52 char holdsp[LBSIZE+1];
290 if (sp == &genbuf[LBSIZE+1]) { in dosub()
299 if (sp == &genbuf[LBSIZE+1]) { in dosub()
321 if (sp == &genbuf[LBSIZE+1])
390 if (p1 == &linebuf[LBSIZE+1]) { in command()
410 if (p1 == &holdsp[LBSIZE+1]) { in command()
646 if(p1 < &linebuf[LBSIZE])
H A Dsed.h62 #define LBSIZE 4000 macro
H A Dsed0.c41 char linebuf[LBSIZE+1];
186 if(rline(linebuf, &linebuf[LBSIZE+1]) < 0) return; in fcomp()
197 if(rline(linebuf, &linebuf[LBSIZE+1]) < 0) break; in fcomp()