Lines Matching refs:lines
89 sc_alloc_history_buffer(scr_stat *scp, int lines, int prev_ysize, int wait) in sc_alloc_history_buffer() argument
103 if (lines <= 0) in sc_alloc_history_buffer()
104 lines = SC_HISTORY_SIZE; /* use the default value */ in sc_alloc_history_buffer()
107 lines = imax(lines, scp->ysize); in sc_alloc_history_buffer()
124 if (lines > min_lines) { in sc_alloc_history_buffer()
125 if (lines - min_lines > extra_history_size + delta) { in sc_alloc_history_buffer()
137 if (lines > min_lines) in sc_alloc_history_buffer()
138 extra_history_size -= lines - min_lines; in sc_alloc_history_buffer()
140 sc_vtb_init(history, VTB_RINGBUFFER, scp->xsize, lines, in sc_alloc_history_buffer()
167 int lines; in copy_history() local
174 lines = sc_vtb_rows(from); in copy_history()
179 for (i = 0; i < lines; ++i) { in copy_history()