Lines Matching refs:cline
48 struct string *cline; /* current output line. */ member
253 if (s != cp->cline) in con3270_update()
259 if (s != cp->cline) in con3270_update()
425 if (!list_empty(&cp->cline->list)) in con3270_cline_add()
428 list_add_tail(&cp->cline->list, &cp->lines); in con3270_cline_add()
436 cp->cline->string[cp->cline->len++] = in con3270_cline_insert()
438 if (list_empty(&cp->cline->update)) { in con3270_cline_insert()
439 list_add_tail(&cp->cline->update, &cp->update); in con3270_cline_insert()
451 size = (cp->cline->len < cp->view.cols - 5) ? in con3270_cline_end()
452 cp->cline->len + 4 : cp->view.cols; in con3270_cline_end()
454 memcpy(s->string, cp->cline->string, cp->cline->len); in con3270_cline_end()
459 while (--size > cp->cline->len) in con3270_cline_end()
463 list_add(&s->list, &cp->cline->list); in con3270_cline_end()
464 list_del_init(&cp->cline->list); in con3270_cline_end()
465 if (!list_empty(&cp->cline->update)) { in con3270_cline_end()
466 list_add(&s->update, &cp->cline->update); in con3270_cline_end()
467 list_del_init(&cp->cline->update); in con3270_cline_end()
469 cp->cline->len = 0; in con3270_cline_end()
486 if (cp->cline->len == 0) in con3270_write()
490 if (c == '\n' || cp->cline->len >= cp->view.cols) in con3270_write()
626 condev->cline = alloc_string(&condev->freemem, condev->view.cols); in con3270_init()
627 condev->cline->len = 0; in con3270_init()