Lines Matching refs:scp
372 chtype *wcp, *scp, *wp, *sp, wc, sc; in _updateln() local
387 scp = curscr->_y[wy]; in _updateln()
403 sp = scp + wx; in _updateln()
411 for (sp = scp+wx, wp = wcp+wx; wp > wcp; --wp, --sp, --wx) in _updateln()
417 sp = scp + lastx - 1; in _updateln()
441 for (sp = scp + blnkx + 1; blnkx < scrco - 1; in _updateln()
524 scp += wx; in _updateln()
533 for (; wx < lastx; ++wx, ++wcp, ++scp) in _updateln()
534 if (*wcp != *scp) in _updateln()
538 for (; wx > wx_sav; --wx, --wcp, --scp) { in _updateln()
539 if (!ISCBIT(*wcp) && !ISCBIT(*scp)) in _updateln()
552 for (sp = scp+(x-wx); x >= wx; --x, --sp) in _updateln()
573 (void) memcpy((char *) scp, (char *) wcp, in _updateln()
576 scp += mtch; in _updateln()
595 sc = *scp; in _updateln()
617 if (marks && wx > 0 && _ATTR(*(scp - 1)) != in _updateln()
619 _VIDS(A_NORMAL, _ATTR(*(scp - 1))); in _updateln()
620 if (_VIDEO(*scp - 1)) in _updateln()
622 if (_COLOR(*scp - 1)) in _updateln()
629 if (wx > idcx && !ISCBIT(*scp) && in _updateln()
630 (mtch = _useidch(wcp, scp, lastx - wx, in _updateln()
634 scp += mtch; in _updateln()
716 _setmark1(wy, wx, scp); in _updateln()
718 _setmark2(wy, wx, scp); in _updateln()
740 *scp++ = wc; in _updateln()
747 *scp++ = *wcp++; in _updateln()
761 for (wx = 0, scp = curscr->_y[wy]; wx < scrco; ++wx, ++scp) in _updateln()
762 if (_DARKCHAR(*scp)) in _updateln()
770 scp = curscr->_y[wy] + wx; in _updateln()
771 for (; wx >= 0; --wx, --scp) in _updateln()
772 if (_DARKCHAR(*scp)) in _updateln()
801 _useidch(chtype *wcp, chtype *scp, int length, int maxi, int *id) in _useidch() argument
808 if ((match = _prefix(wcp, scp, length, length / 2, &idch)) > 0) in _useidch()
844 scp[x1] = scp[x2]; in _useidch()
846 scp[x1] = ' '; in _useidch()
854 if (!(SP->ichok) || _CHAR(*scp) == ' ') in _useidch()
859 if ((match = _prefix(scp, wcp, length, maxi, &idch)) <= 0) in _useidch()
927 scp[x1] = scp[x2]; in _useidch()
928 (void) memcpy((char *) scp, (char *) wcp, idch * sizeof (chtype)); in _useidch()