Searched refs:raw_ptr (Results 1 – 1 of 1) sorted by relevance
173 let raw_ptr = if zeroed { alloc_zeroed(layout) } else { alloc(layout) }; in alloc_impl() localVariable174 let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?; in alloc_impl()205 let raw_ptr = realloc(ptr.as_ptr(), old_layout, new_size); in grow_impl() localVariable206 let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?; in grow_impl()208 raw_ptr.add(old_size).write_bytes(0, new_size - old_size); in grow_impl()296 let raw_ptr = realloc(ptr.as_ptr(), old_layout, new_size); in shrink() localVariable297 let ptr = NonNull::new(raw_ptr).ok_or(AllocError)?; in shrink()