Lines Matching refs:index
340 pub fn put_color_in_pixel(&mut self, color: u32, index: usize) { in put_color_in_pixel()
341 let index = index as isize; in put_color_in_pixel() localVariable
346 *buf.offset(index) = color; in put_color_in_pixel()
352 copy_nonoverlapping(&color as *const u32 as *const u8, buf.offset(index * 3), 3) in put_color_in_pixel()
360 buf.offset(index * 2), in put_color_in_pixel()
534 index: LineIndex, // 当前操作的位置 field
540 index: LineIndex::new(0), in new()
652 let mut index = start; in textui_refresh_characters() localVariable
656 vline.chars[<LineIndex as Into<usize>>::into(index)] in textui_refresh_characters()
657 .textui_refresh_character(actual_line_id, index)?; in textui_refresh_characters()
659 index = index + 1; in textui_refresh_characters()
729 vline.index = LineIndex::new(0); in textui_new_line()
766 let index = <LineIndex as Into<usize>>::into(vline.index); in true_textui_putchar_window() localVariable
768 if let Some(v_char) = vline.chars.get_mut(index) { in true_textui_putchar_window()
773 line_index = vline.index; in true_textui_putchar_window()
774 vline.index = vline.index + 1; in true_textui_putchar_window()
837 let mut space_to_print = 8 - <LineIndex as Into<usize>>::into(vline.index) % 8; in textui_putchar_window()
852 vline.index = vline.index - 1; in textui_putchar_window()
853 tmp = vline.index; in textui_putchar_window()
875 vline.index = LineIndex::new(0); in textui_putchar_window()
906 if !vline.index.check(self.chars_per_line) { in textui_putchar_window()
1013 fn index(&self, c: char) -> usize; in index() method
1020 fn index(&self, c: char) -> usize { in index() function