Lines Matching refs:cline
53 struct string *cline; /* current output line. */ member
266 if (s != cp->cline) in con3270_update()
272 if (s != cp->cline) in con3270_update()
443 if (!list_empty(&cp->cline->list)) in con3270_cline_add()
446 list_add_tail(&cp->cline->list, &cp->lines); in con3270_cline_add()
454 cp->cline->string[cp->cline->len++] = in con3270_cline_insert()
456 if (list_empty(&cp->cline->update)) { in con3270_cline_insert()
457 list_add_tail(&cp->cline->update, &cp->update); in con3270_cline_insert()
469 size = (cp->cline->len < cp->view.cols - 5) ? in con3270_cline_end()
470 cp->cline->len + 4 : cp->view.cols; in con3270_cline_end()
472 memcpy(s->string, cp->cline->string, cp->cline->len); in con3270_cline_end()
473 if (cp->cline->len < cp->view.cols - 5) { in con3270_cline_end()
477 while (--size >= cp->cline->len) in con3270_cline_end()
481 list_add(&s->list, &cp->cline->list); in con3270_cline_end()
482 list_del_init(&cp->cline->list); in con3270_cline_end()
483 if (!list_empty(&cp->cline->update)) { in con3270_cline_end()
484 list_add(&s->update, &cp->cline->update); in con3270_cline_end()
485 list_del_init(&cp->cline->update); in con3270_cline_end()
487 cp->cline->len = 0; in con3270_cline_end()
504 if (cp->cline->len == 0) in con3270_write()
508 if (c == '\n' || cp->cline->len >= cp->view.cols) in con3270_write()
641 condev->cline = alloc_string(&condev->freemem, condev->view.cols); in con3270_init()
642 condev->cline->len = 0; in con3270_init()