Lines Matching defs:wlp
160 __LINE *wlp, *vlp, *dwlp;
237 wlp = swin->alines[wy];
242 wy, *wlp->firstchp, *wlp->lastchp, wlp->flags);
256 "_wnoutrefresh: %s maxx %d\tch_off %d wlp %p\n",
257 _wintype, dwin->maxx, dwin->ch_off, wlp);
259 if (((wlp->flags & (__ISDIRTY | __ISFORCED)) == 0) &&
266 wlp = swin->alines[wy];
269 if ((*wlp->firstchp < maxx + swin->ch_off &&
270 *wlp->lastchp >= swin->ch_off) ||
286 if (*wlp->firstchp - swin->ch_off > 0) {
287 wx += *wlp->firstchp - swin->ch_off;
288 x_off += *wlp->firstchp - swin->ch_off;
291 if (mx > *wlp->lastchp - swin->ch_off + 1)
304 unctrl(wlp->line[wx].ch),
305 wlp->line[wx].attr, wlp->line[wx].cflags);
312 vlp->line[x_off].ch = wlp->line[wx].ch;
314 vlp->line[x_off].attr = wlp->line[wx].attr;
316 vlp->line[x_off].cflags = wlp->line[wx].cflags;
318 vlp->line[x_off].wcols = wlp->line[wx].wcols;
320 ch = wlp->line[wx].ch;
321 for (tx = x_off + 1, i = wlp->line[wx].wcols - 1;
331 wlp->line[wx].ch;
333 wlp->line[wx].attr;
335 wlp->line[wx].cflags;
338 wlp->line[wx].wcols;
340 for (tx = dx_off + 1, i = wlp->line[wx].wcols - 1;
351 if (wlp->line[wx].ch == win->bch) {
365 wlp->line[wx].cflags;
377 x_off += wlp->line[wx].wcols;
378 dx_off += wlp->line[wx].wcols;
379 wx += wlp->line[wx].wcols;
388 if (wlp->flags & __ISPASTEOL)
392 if (wlp->flags & __ISDIRTY)
394 if (wlp->flags & __ISFORCED)
400 *wlp->firstchp, *wlp->lastchp);
409 *wlp->firstchp + wbegx - win->ch_off)
411 *wlp->firstchp + wbegx - win->ch_off;
413 *wlp->lastchp + wbegx - win->ch_off)
415 *wlp->lastchp + wbegx - win->ch_off;
445 ((wlp->flags & __ISFORCED) == __ISFORCED))
448 if (*wlp->firstchp >= win->ch_off)
449 *wlp->firstchp = maxx + win->ch_off;
450 if (*wlp->lastchp < maxx + win->ch_off)
451 *wlp->lastchp = win->ch_off;
452 if ((*wlp->lastchp < *wlp->firstchp) ||
453 (*wlp->firstchp >= maxx + win->ch_off) ||
454 (*wlp->lastchp <= win->ch_off)) {
458 wlp->flags &= ~(__ISDIRTY | __ISFORCED);
551 __LINE *wlp, *vlp;
571 wlp = win->alines[wy];
572 if (wlp->flags & __ISDIRTY)
573 wlp->hash = __hash_line(wlp->line, win->maxx);
696 wlp = win->alines[wy];
701 wy, *wlp->firstchp, *wlp->lastchp, wlp->flags);
703 curscr->alines[wy]->hash = wlp->hash;
704 if (wlp->flags & __ISDIRTY || wlp->flags & __ISFORCED) {
707 *wlp->firstchp, *wlp->lastchp);
723 if (*wlp->firstchp >= 0)
724 *wlp->firstchp = win->maxx;
725 if (*wlp->lastchp < win->maxx)
726 *wlp->lastchp = win->ch_off;
727 if (*wlp->lastchp < *wlp->firstchp) {
730 wlp->flags &= ~(__ISDIRTY | __ISFORCED);
760 *wlp->firstchp, *wlp->lastchp);
1147 __LINE *wlp;
1208 wlp = win->alines[wy];
1289 wlp->flags, nsp->cflags, __do_color_init, _cursesi_celleq(nsp, csp));
1297 if (!(wlp->flags & __ISFORCED) &&
1331 ((wlp->flags & __ISFORCED) || !_cursesi_celleq(nsp, csp)))
1369 if (wlp->line[wx].attr & win->screen->nca) {