Lines Matching refs:scp
369 chtype *wcp, *scp, *wp, *sp, wc, sc; in _updateln() local
384 scp = curscr->_y[wy]; in _updateln()
400 sp = scp + wx; in _updateln()
408 for (sp = scp+wx, wp = wcp+wx; wp > wcp; --wp, --sp, --wx) in _updateln()
414 sp = scp + lastx - 1; in _updateln()
438 for (sp = scp + blnkx + 1; blnkx < scrco - 1; in _updateln()
521 scp += wx; in _updateln()
530 for (; wx < lastx; ++wx, ++wcp, ++scp) in _updateln()
531 if (*wcp != *scp) in _updateln()
535 for (; wx > wx_sav; --wx, --wcp, --scp) { in _updateln()
536 if (!ISCBIT(*wcp) && !ISCBIT(*scp)) in _updateln()
549 for (sp = scp+(x-wx); x >= wx; --x, --sp) in _updateln()
570 (void) memcpy(scp, wcp, in _updateln()
573 scp += mtch; in _updateln()
592 sc = *scp; in _updateln()
614 if (marks && wx > 0 && _ATTR(*(scp - 1)) != in _updateln()
616 _VIDS(A_NORMAL, _ATTR(*(scp - 1))); in _updateln()
617 if (_VIDEO(*scp - 1)) in _updateln()
619 if (_COLOR(*scp - 1)) in _updateln()
626 if (wx > idcx && !ISCBIT(*scp) && in _updateln()
627 (mtch = _useidch(wcp, scp, lastx - wx, in _updateln()
631 scp += mtch; in _updateln()
719 _setmark1(wy, wx, scp); in _updateln()
721 _setmark2(wy, wx, scp); in _updateln()
743 *scp++ = wc; in _updateln()
750 *scp++ = *wcp++; in _updateln()
764 for (wx = 0, scp = curscr->_y[wy]; wx < scrco; ++wx, ++scp) in _updateln()
765 if (_DARKCHAR(*scp)) in _updateln()
773 scp = curscr->_y[wy] + wx; in _updateln()
774 for (; wx >= 0; --wx, --scp) in _updateln()
775 if (_DARKCHAR(*scp)) in _updateln()
804 _useidch(chtype *wcp, chtype *scp, int length, int maxi, int *id) in _useidch() argument
811 if ((match = _prefix(wcp, scp, length, length / 2, &idch)) > 0) in _useidch()
847 scp[x1] = scp[x2]; in _useidch()
849 scp[x1] = ' '; in _useidch()
857 if (!(SP->ichok) || _CHAR(*scp) == ' ') in _useidch()
862 if ((match = _prefix(scp, wcp, length, maxi, &idch)) <= 0) in _useidch()
930 scp[x1] = scp[x2]; in _useidch()
931 (void) memcpy(scp, wcp, idch * sizeof (chtype)); in _useidch()