Searched refs:allocate_zeroed (Results 1 – 3 of 3) sorted by relevance
237 fn allocate_zeroed(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate_zeroed() method
188 AllocInit::Zeroed => alloc.allocate_zeroed(layout), in allocate_in()
542 let ptr = alloc.allocate_zeroed(layout)?.cast(); in try_new_zeroed_in()705 let ptr = Global.allocate_zeroed(layout)?; in try_new_zeroed_slice()