Lines Matching refs:count

205             vc_data.font.count = font.char_count;  in con_init()
213 if vc_data.font.count == 256 { in con_init()
305 count: usize, in con_putcs()
309 if count == 0 { in con_putcs()
317 count as u32, in con_putcs()
405 mut count: usize, in con_scroll()
416 if count > vc_data.rows { in con_scroll()
417 count = vc_data.rows; in con_scroll()
424 vc_data.screen_buf[start..end].rotate_left(count * vc_data.cols); in con_scroll()
430 top as i32 - count as i32, in con_scroll()
436 let _ = self.con_clear(vc_data, bottom - count, 0, count, vc_data.cols); in con_scroll()
438 let offset = vc_data.cols * (bottom - count); in con_scroll()
440 vc_data.screen_buf[offset..(offset + (vc_data.cols * count))].iter_mut() in con_scroll()
452 vc_data.screen_buf[start..end].rotate_left(count * vc_data.cols); in con_scroll()
454 let data = &vc_data.screen_buf[start..(bottom - count) * vc_data.cols]; in con_scroll()
456 for line in top..(bottom - count) { in con_scroll()
469 let count = offset - start; in con_scroll() localVariable
473 count, in con_scroll()
478 x += count as u32; in con_scroll()
492 let _ = self.con_clear(vc_data, bottom - count, 0, count, vc_data.cols); in con_scroll()
494 let offset = vc_data.cols * (bottom - count); in con_scroll()
496 vc_data.screen_buf[offset..(offset + (vc_data.cols * count))].iter_mut() in con_scroll()
507 if count > vc_data.rows { in con_scroll()
508 count = vc_data.rows; in con_scroll()
515 vc_data.screen_buf[start..end].rotate_right(count * vc_data.cols); in con_scroll()
521 top as i32 + count as i32, in con_scroll()
523 (bottom - top - count) as u32, in con_scroll()
527 let _ = self.con_clear(vc_data, top, 0, count, vc_data.cols); in con_scroll()
529 let offset = vc_data.cols * count; in con_scroll()
547 let _ = self.con_clear(vc_data, top, 0, count, vc_data.cols); in con_scroll()
551 vc_data.screen_buf[offset..(offset + (vc_data.cols * count))].iter_mut() in con_scroll()
615 mut count: u32, in put_string()
640 image.data.resize(cellsize as usize * count as usize, 0); in put_string()
642 while count > 0 { in put_string()
643 let cnt = count.min(max_cnt); in put_string()
650 count -= cnt; in put_string()