Lines Matching refs:cline
52 struct string *cline; /* current output line. */ member
265 if (s != cp->cline) in con3270_update()
271 if (s != cp->cline) in con3270_update()
440 if (!list_empty(&cp->cline->list)) in con3270_cline_add()
443 list_add_tail(&cp->cline->list, &cp->lines); in con3270_cline_add()
451 cp->cline->string[cp->cline->len++] = in con3270_cline_insert()
453 if (list_empty(&cp->cline->update)) { in con3270_cline_insert()
454 list_add_tail(&cp->cline->update, &cp->update); in con3270_cline_insert()
466 size = (cp->cline->len < cp->view.cols - 5) ? in con3270_cline_end()
467 cp->cline->len + 4 : cp->view.cols; in con3270_cline_end()
469 memcpy(s->string, cp->cline->string, cp->cline->len); in con3270_cline_end()
470 if (cp->cline->len < cp->view.cols - 5) { in con3270_cline_end()
474 while (--size >= cp->cline->len) in con3270_cline_end()
478 list_add(&s->list, &cp->cline->list); in con3270_cline_end()
479 list_del_init(&cp->cline->list); in con3270_cline_end()
480 if (!list_empty(&cp->cline->update)) { in con3270_cline_end()
481 list_add(&s->update, &cp->cline->update); in con3270_cline_end()
482 list_del_init(&cp->cline->update); in con3270_cline_end()
484 cp->cline->len = 0; in con3270_cline_end()
501 if (cp->cline->len == 0) in con3270_write()
505 if (c == '\n' || cp->cline->len >= cp->view.cols) in con3270_write()
639 condev->cline = alloc_string(&condev->freemem, condev->view.cols); in con3270_init()
640 condev->cline->len = 0; in con3270_init()