Lines Matching refs:lines
86 sc_alloc_history_buffer(scr_stat *scp, int lines, int prev_ysize, int wait) in sc_alloc_history_buffer() argument
100 if (lines <= 0) in sc_alloc_history_buffer()
101 lines = SC_HISTORY_SIZE; /* use the default value */ in sc_alloc_history_buffer()
104 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer()
121 if (lines > min_lines) { in sc_alloc_history_buffer()
122 if (lines - min_lines > extra_history_size + delta) { in sc_alloc_history_buffer()
134 if (lines > min_lines) in sc_alloc_history_buffer()
135 extra_history_size -= lines - min_lines; in sc_alloc_history_buffer()
137 sc_vtb_init(history, VTB_RINGBUFFER, scp->xsize, lines, in sc_alloc_history_buffer()
164 int lines; in copy_history() local
171 lines = sc_vtb_rows(from); in copy_history()
176 for (i = 0; i < lines; ++i) { in copy_history()