Searched refs:max_idx (Results 1 – 2 of 2) sorted by relevance
152 max_idx: AtomicU32, field159 max_idx: AtomicU32::new(1), in new()164 pub fn max_idx(&self) -> u32 { in max_idx() method165 self.max_idx.load(Ordering::SeqCst) in max_idx()170 self.max_idx.fetch_add(1, Ordering::SeqCst) in alloc_idx()
1221 let max_idx = self.screen_buf.len(); in csi_K() localVariable1222 for i in self.screen_buf[start..max_idx.min(start + count)].iter_mut() { in csi_K()1227 self.do_update_region(start, count.min(max_idx - start)) in csi_K()