Lines Matching refs:vcnt

64 		if (vcnt)  in vopen()
73 vcnt = vcline = 0; in vopen()
80 for (vp = &vlinfo[vcnt]; vp >= vpc; vp--) in vopen()
82 vcnt++; in vopen()
96 if (state == VISUAL && vcline == 0 && vcnt > 1 && p > ZERO) { in vopen()
108 if (vcline + 1 == vcnt) in vopen()
109 LINE(vcnt) = LINE(vcline) + cnt; in vopen()
217 if (l < vcnt - 1) { in vglitchup()
333 struct vlinfo *ve = &vlinfo[vcnt]; in vopenup()
488 for (from = 0; from <= vcnt; from++) in vscroll()
506 if (vcnt && WBOT != WECHO && LINE(0) < WTOP && LINE(0) >= ZERO) { in vscrap()
510 for (j = 0; j < vcnt; j++) in vscrap()
517 vcnt -= j, vcline -= j; in vscrap()
518 for (i = 0; i <= vcnt; i++) in vscrap()
525 if (vcnt) { in vscrap()
526 for (j = 0; j <= vcnt; j++) in vscrap()
528 vcnt = j; in vscrap()
531 if (vcnt == 0) in vscrap()
534 LASTLINE = LINE(vcnt-1) + DEPTH(vcnt-1); in vscrap()
563 if (vcnt == 0 || vcline < 0 || vcline > vcnt || holdupd && state != VISUAL) { in vrepaint()
566 vcnt = 0; in vrepaint()
607 if (vcline >= vcnt || LINE(vcline) > WBOT) { in vrepaint()
610 if (vcline >= vcnt) { in vrepaint()
611 int i = vcline - vcnt + 1; in vrepaint()
670 if (vcnt == 0) in vredraw()
672 while (l < vcnt && LINE(l) < p) in vredraw()
681 for (; l < vcnt && Peekkey != ATTN; l++) { in vredraw()
877 if (vcnt == 0) in vsync1()
880 while (l < vcnt && vp->vliny < p) in vsync1()
892 (l < vcnt && (vp->vliny <= p || vp[0].vliny == vp[1].vliny))) { in vsync1()
939 for (i = l + 1; i <= vcnt; i++) in vcloseup()
965 if (l >= vcnt) in vreplace()
973 vcnt = 0; in vreplace()
1011 if (cnt == newcnt || vcnt - l == newcnt && insert_line && delete_line) { in vreplace()
1012 if (cnt > 1 && l + cnt > vcnt) in vreplace()
1024 if (cnt > 1 && l + cnt > vcnt) in vreplace()
1026 if (l + cnt >= vcnt) in vreplace()
1027 cnt = vcnt - l; in vreplace()
1029 for (from = l + cnt, to = l; from <= vcnt; to++, from++) in vreplace()
1031 vcnt -= cnt; in vreplace()
1045 if (newcnt > 1 && l + newcnt > vcnt + 1) in vreplace()
1053 vcnt = l; in vreplace()
1056 from = vcnt, to = vcnt + newcnt; in vreplace()
1060 vcnt = to; in vreplace()
1118 for (l = base; l < vcnt; l++) { in vdirty()