Home
last modified time | relevance | path

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

/rust/alloc/
Dalloc.rs232 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, AllocError> { in allocate() method
307 let new_ptr = self.allocate(new_layout)?; in shrink()
322 match Global.allocate(layout) { in exchange_malloc()
Draw_vec.rs187 AllocInit::Uninitialized => alloc.allocate(layout), in allocate_in()
477 alloc.allocate(new_layout) in finish_grow()
Dboxed.rs470 let ptr = alloc.allocate(layout)?.cast(); in try_new_uninit_in()
673 let ptr = Global.allocate(layout)?; in try_new_uninit_slice()