Searched refs:alloc_zeroed (Results 1 – 6 of 6) sorted by relevance
/external/crosvm/win_util/src/ |
D | security_attributes.rs | 5 use std::alloc::{alloc_zeroed, dealloc, handle_alloc_error, Layout}; 140 let token_info = unsafe { alloc_zeroed(layout) } as *mut T; in new() 337 let descriptor = unsafe { alloc_zeroed(self.layout) } as *mut SECURITY_DESCRIPTOR; in clone() 401 let self_relative_sd = unsafe { alloc_zeroed(layout) } as *mut SECURITY_DESCRIPTOR; in try_from()
|
/external/crosvm/common/sys_util_core/src/ |
D | alloc.rs | 6 alloc::{alloc, alloc_zeroed, dealloc, Layout}, 81 alloc_zeroed(layout) in zeroed()
|
/external/crosvm/base/src/ |
D | alloc.rs | 6 alloc::{alloc, alloc_zeroed, dealloc, Layout}, 81 alloc_zeroed(layout) in zeroed()
|
/external/rust/crates/rustc-demangle-capi/src/ |
D | lib.rs | 30 let buf = unsafe { System.alloc_zeroed(Layout::from_size_align_unchecked(size, 1)) }; in new()
|
/external/rust/crates/rustc-demangle-capi/patches/ |
D | 0002-Adjust-API-to-match-__cxa_demangle.patch | 68 + let buf = unsafe { System.alloc_zeroed(Layout::from_size_align_unchecked(size, 1)) };
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_mipmap_tree.c | 1475 const bool alloc_zeroed = wants_memset && memset_value == 0; in intel_alloc_aux_buffer() local 1477 !alloc_zeroed && (wants_memset || has_indirect_clear); in intel_alloc_aux_buffer() 1479 alloc_zeroed ? BO_ALLOC_ZEROED : (needs_memset ? 0 : BO_ALLOC_BUSY); in intel_alloc_aux_buffer()
|