Searched refs:LBSIZE (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/vi/port/
H A Dex_tune.h56 * The definitions of LBSIZE and CRSIZE should be the same as BUFSIZE
60 #define LBSIZE BUFSIZE /* Line buffer size */ macro
H A Dex_re.c622 casecnt = LBSIZE;
632 casecnt = LBSIZE;
650 if ((sp + len) >= &genbuf[LBSIZE])
660 if (sp >= &genbuf[LBSIZE])
668 if (sp >= &genbuf[LBSIZE])
696 if (sp >= &genbuf[LBSIZE])
746 unsigned char rebuf[LBSIZE];
811 if (gp >= &genbuf[LBSIZE - 3])
821 if ((gp + len) >= &genbuf[LBSIZE - 3])
837 if ((gp + len) >= &genbuf[LBSIZE
[all...]
H A Dex_io.c200 if ((cp + len) > &genbuf[LBSIZE - 2])
220 if (cp > &genbuf[LBSIZE - 2])
242 if (cp > &genbuf[LBSIZE - 2])
707 ninbuf = read(io, genbuf, LBSIZE) - 1;
730 if (lp >= &linebuf[LBSIZE]) {
H A Dex_vops2.c589 if (gcursor + strlen(linebuf) > &genbuf[LBSIZE - 2])
761 size_t destsize = LBSIZE - endsrccol - 1;
1489 if (gcursor + length - 1 > &genbuf[LBSIZE - 2])
1543 * LBSIZE characters and also does hacks for the R command.
1551 if (cnt > LBSIZE - 2)
1552 cnt = LBSIZE - 2;
1581 if (len + cnt * replen <= LBSIZE - 2)
1583 cnt = (LBSIZE - 2 - len) / replen;
H A Dex_get.c225 if (cp > &genbuf[LBSIZE - 2])
H A Dex_subr.c98 cp = &linebuf[LBSIZE - 2];
111 cp = &linebuf[LBSIZE - 2];
573 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2])
619 if(lim == linebuf - 1 || lim == &linebuf[LBSIZE-2])
H A Dex_vops3.c76 unsigned char save[LBSIZE];
409 unsigned char save[LBSIZE];
H A Dex_vops.c101 unsigned char temp[LBSIZE];
234 unsigned char savelb[LBSIZE];
528 if (strlen(genbuf) + strlen(wcursor) > LBSIZE - 2) {
H A Dex.h175 * Warning: do not change BUFSIZ without also changing LBSIZE in ex_tune.h
226 var unsigned char genbuf[LBSIZE]; /* Working buffer when manipulating linebuf */
242 var unsigned char linebuf[LBSIZE]; /* The primary line buffer */
H A Dex_v.c473 static unsigned char vlinebuf[LBSIZE];
H A Dex_cmdsub.c299 if (cp > &genbuf[LBSIZE-2])
601 if (cp + strlen(dp = vpastwh(linebuf)) >= &genbuf[LBSIZE - 2])
H A Dex_vadj.c644 unsigned char temp[LBSIZE];
860 unsigned char temp[LBSIZE];
H A Dex_temp.c669 unsigned char savelb[LBSIZE];
H A Dex_vmain.c1386 unsigned char temp[LBSIZE];
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed1.c45 char genbuf[LBSIZE+1];
52 char holdsp[LBSIZE+1];
290 if (sp == &genbuf[LBSIZE+1]) {
299 if (sp == &genbuf[LBSIZE+1]) {
321 if (sp == &genbuf[LBSIZE+1])
390 if (p1 == &linebuf[LBSIZE+1]) {
410 if (p1 == &holdsp[LBSIZE+1]) {
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;
197 if(rline(linebuf, &linebuf[LBSIZE+1]) < 0) break;
/illumos-gate/usr/src/cmd/ed/
H A Ded.c152 #define LBSIZE LINE_MAX macro
186 static char linebuf[LBSIZE];
207 static char genbuf[LBSIZE];
210 static int gsubf; /* Occurrence value. LBSIZE-1=all. */
230 static char crbuf[LBSIZE];
241 static char ibuff[LBSIZE];
243 static char obuff[LBSIZE];
1343 if (p > &linebuf[LBSIZE-1])
1378 if ((ninbuf = read(io, genbuf, LBSIZE)-1) < 0)
1396 if (lp >= &linebuf[LBSIZE]) {
[all...]

Completed in 94 milliseconds