Home
last modified time | relevance | path

Searched refs:scrollback_rows_max (Results 1 – 3 of 3) sorted by relevance

/system/core/virtcon/
A Dvc-device.cpp62 vc->scrollback_rows_max = SCROLLBACK_ROWS; in vc_setup()
74 calloc(1, vc->scrollback_rows_max * vc->columns * sizeof(vc_char_t))); in vc_setup()
178 assert(vc->scrollback_rows_count <= vc->scrollback_rows_max); in vc_tc_scrollback_buffer_push()
179 if (vc->scrollback_rows_count < vc->scrollback_rows_max) { in vc_tc_scrollback_buffer_push()
185 assert(vc->scrollback_offset < vc->scrollback_rows_max); in vc_tc_scrollback_buffer_push()
187 if (vc->scrollback_offset == vc->scrollback_rows_max) in vc_tc_scrollback_buffer_push()
204 if (vc->viewport_y > -static_cast<int>(vc->scrollback_rows_max)) { in vc_tc_push_scrollback_line()
219 vc_invalidate(vc, 0, -vc->scrollback_rows_max, in vc_tc_push_scrollback_line()
385 if (row >= vc->scrollback_rows_max) in vc_get_scrollback_line_ptr()
386 row -= vc->scrollback_rows_max; in vc_get_scrollback_line_ptr()
[all …]
A Dtextcon-test.cpp575 for (unsigned i = 0; i < tc.vc_dev->scrollback_rows_max * 2; ++i) { in test_viewport_scrolling_follows_bottom()
596 int limit = tc.vc_dev->scrollback_rows_max; in test_viewport_scrolling_follows_scrollback()
672 EXPECT_LE(kLimit, tc.vc_dev->scrollback_rows_max, ""); in test_scrollback_lines_count()
673 tc.vc_dev->scrollback_rows_max = kLimit; in test_scrollback_lines_count()
693 EXPECT_LE(kLimit, tc.vc_dev->scrollback_rows_max, ""); in test_scrollback_lines_contents()
694 tc.vc_dev->scrollback_rows_max = kLimit; in test_scrollback_lines_contents()
A Dvc.h62 unsigned scrollback_rows_max; member

Completed in 12 milliseconds