Home
last modified time | relevance | path

Searched refs:processed_len (Results 1 – 1 of 1) sorted by relevance

/rust/alloc/vec/
Dmod.rs1506 processed_len: usize, in retain_mut() field
1517 self.v.as_ptr().add(self.processed_len), in retain_mut()
1518 self.v.as_mut_ptr().add(self.processed_len - self.deleted_cnt), in retain_mut()
1519 self.original_len - self.processed_len, in retain_mut()
1530 let mut g = BackshiftOnDrop { v: self, processed_len: 0, deleted_cnt: 0, original_len }; in retain_mut()
1539 while g.processed_len != original_len { in retain_mut()
1541 let cur = unsafe { &mut *g.v.as_mut_ptr().add(g.processed_len) }; in retain_mut()
1544 g.processed_len += 1; in retain_mut()
1559 let hole_slot = g.v.as_mut_ptr().add(g.processed_len - g.deleted_cnt); in retain_mut()
1563 g.processed_len += 1; in retain_mut()