Lines Matching refs:as_mut_ptr

731         (me.as_mut_ptr(), me.len(), me.capacity())  in into_raw_parts()
777 let ptr = me.as_mut_ptr(); in into_raw_parts_with_alloc()
1072 let s = ptr::slice_from_raw_parts_mut(self.as_mut_ptr().add(len), remaining_len); in truncate()
1175 pub fn as_mut_ptr(&mut self) -> *mut T { in as_mut_ptr() method
1320 let base_ptr = self.as_mut_ptr(); in swap_remove()
1366 let p = self.as_mut_ptr().add(index); in insert()
1420 let ptr = self.as_mut_ptr().add(index); in remove()
1518 self.v.as_mut_ptr().add(self.processed_len - self.deleted_cnt), in retain_mut()
1541 let cur = unsafe { &mut *g.v.as_mut_ptr().add(g.processed_len) }; in retain_mut()
1559 let hole_slot = g.v.as_mut_ptr().add(g.processed_len - g.deleted_cnt); in retain_mut()
1650 let ptr = self.vec.as_mut_ptr(); in dedup_by()
1676 let ptr = gap.vec.as_mut_ptr(); in dedup_by()
1738 let end = self.as_mut_ptr().add(self.len); in push()
1760 let end = self.as_mut_ptr().add(self.len); in try_push()
1827 unsafe { ptr::copy_nonoverlapping(other as *const T, self.as_mut_ptr().add(len), count) }; in append_elements()
1884 let range_slice = slice::from_raw_parts_mut(self.as_mut_ptr().add(start), end - start); in drain()
2008 ptr::copy_nonoverlapping(self.as_ptr().add(at), other.as_mut_ptr(), other.len()); in split_off()
2084 unsafe { slice::from_raw_parts_mut(me.as_mut_ptr(), me.len) } in leak()
2123 self.as_mut_ptr().add(self.len) as *mut MaybeUninit<T>, in spare_capacity_mut()
2195 let ptr = self.as_mut_ptr(); in split_at_spare_mut_with_len()
2393 let mut ptr = self.as_mut_ptr().add(self.len()); in extend_with()
2504 unsafe { ptr::copy_nonoverlapping(source.as_ptr(), spare.as_mut_ptr() as _, count) }; in spec_extend_from_within()
2529 unsafe { slice::from_raw_parts_mut(self.as_mut_ptr(), self.len) } in deref_mut()
2664 let begin = me.as_mut_ptr(); in into_iter()
2741 ptr::write(self.as_mut_ptr().add(len), element); in extend_desugared()
2906 ptr::drop_in_place(ptr::slice_from_raw_parts_mut(self.as_mut_ptr(), self.len)) in drop()