Lines Matching refs:x

217         self.pos = self.cols * self.state.y + self.state.x;  in init()
282 self.state.x = 0; in reset()
525 .con_putc(self, i as u16, self.state.y as u32, self.state.x as u32); in add_softcursor()
543 self.state.x as u32, in hide_softcursor()
550 fn gotoxay(&mut self, x: i32, y: i32) { in gotoxay()
552 self.gotoxy(x, self.top as i32 + y); in gotoxay()
554 self.gotoxy(x, y) in gotoxay()
559 fn gotoxy(&mut self, x: i32, y: i32) { in gotoxy()
560 if x < 0 { in gotoxy()
561 self.state.x = 0; in gotoxy()
562 } else if x as usize >= self.cols { in gotoxy()
563 self.state.x = self.cols - 1; in gotoxy()
565 self.state.x = x as usize; in gotoxy()
586 self.pos = self.state.y * self.cols + self.state.x; in gotoxy()
624 if self.state.x > 0 { in backspace()
626 self.state.x -= 1; in backspace()
649 self.pos -= self.state.x; in carriage_return()
651 self.state.x = 0; in carriage_return()
674 self.gotoxy(self.state.x as i32, self.state.y as i32); in restore_cursor()
826 self.state.x as i32, in do_getpars()
836 self.state.x as i32, in do_getpars()
846 (self.state.x + self.par[0] as usize) as i32, in do_getpars()
856 self.state.x as i32 - self.par[0] as i32, in do_getpars()
879 self.gotoxay(self.state.x as i32, self.par[0] as i32); in do_getpars()
929 if self.par[0] == 0 && self.state.x < 256 { in do_getpars()
930 self.tab_stop.set(self.state.x, true); in do_getpars()
1203 count = self.cols - self.state.x; in csi_K()
1208 count = self.state.x + 1; in csi_K()
1209 start = self.pos - self.state.x; in csi_K()
1214 start = self.pos - self.state.x; in csi_K()
1285 self.pos -= self.state.x; in do_control()
1287 self.state.x = self in do_control()
1289 .next_index(self.state.x + 1) in do_control()
1291 self.state.x = core::cmp::min(self.state.x, self.cols - 1); in do_control()
1293 self.pos += self.state.x; in do_control()
1367 if self.state.x < 256 { in do_control()
1368 self.tab_stop.set(self.state.x, true); in do_control()
1603 if self.should_update() && draw.x.is_none() { in console_write_normal()
1605 draw.x = Some(self.state.x as u32); in console_write_normal()
1609 if self.state.x == self.cols - 1 { in console_write_normal()
1614 self.state.x += 1; in console_write_normal()
1649 self.do_update_region(self.pos, self.cols - self.state.x); in insert_char()
1655 let (mut x, mut y) = if let Ok((_, tmp_x, tmp_y)) = ret { in do_update_region()
1665 let mut startx = x; in do_update_region()
1668 while count != 0 && x < self.cols { in do_update_region()
1678 startx = x; in do_update_region()
1684 x += 1; in do_update_region()
1702 x = 0; in do_update_region()
1749 if draw.x.is_none() { in flush()
1758 draw.x.unwrap(), in flush()
1761 draw.x = None; in flush()
1856 pub x: usize, field
1873 pub fn new(x: usize, y: usize) -> Self { in new()
1875 x, in new()