Lines Matching defs:lastx
373 int wx, lastx, x, mtch, idch, blnkx, idcx, video_attrx,
392 lastx = scrco;
395 lastx = _virtscr->_lastch[wy] == _BLANK ? scrco :
404 for (; wx < lastx; ++wx)
407 if (wx >= lastx)
416 wp = wcp + lastx - 1;
417 sp = scp + lastx - 1;
418 for (; lastx > wx; --lastx)
425 for (; lastx < scrco; ++wp, ++sp, ++lastx)
431 if (!clr_eol || endns >= lastx)
437 for (blnkx = lastx - 1, wp = wcp + blnkx;
445 if (blnkx + _COST(Clr_eol) >= lastx)
452 video_attrx = color_attrx = (lastx >= scrco) ? lastx - 1 :
453 lastx;
469 if (color_attrx < lastx)
472 if (video_attrx < lastx)
493 endns < wx || (endns >= lastx && (scrco - lastx) > SLACK)) {
510 if (idcx < lastx && endns >= lastx)
511 lastx = scrco;
517 if (lastx == scrco)
520 maxi = lastx - (endns + 1);
528 while (wx < lastx) {
533 for (; wx < lastx; ++wx, ++wcp, ++scp)
536 if (wx >= lastx)
548 for (x = wx, wp = wcp; x < lastx; ++x, ++wp)
593 while (wx < lastx) {
630 (mtch = _useidch(wcp, scp, lastx - wx,
745 while (wx < lastx && ISCBIT(*wcp)) {