Home
last modified time | relevance | path

Searched refs:alloc_zeroed (Results 1 – 6 of 6) sorted by relevance

/external/crosvm/win_util/src/
Dsecurity_attributes.rs5 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/
Dalloc.rs6 alloc::{alloc, alloc_zeroed, dealloc, Layout},
81 alloc_zeroed(layout) in zeroed()
/external/crosvm/base/src/
Dalloc.rs6 alloc::{alloc, alloc_zeroed, dealloc, Layout},
81 alloc_zeroed(layout) in zeroed()
/external/rust/crates/rustc-demangle-capi/src/
Dlib.rs30 let buf = unsafe { System.alloc_zeroed(Layout::from_size_align_unchecked(size, 1)) }; in new()
/external/rust/crates/rustc-demangle-capi/patches/
D0002-Adjust-API-to-match-__cxa_demangle.patch68 + let buf = unsafe { System.alloc_zeroed(Layout::from_size_align_unchecked(size, 1)) };
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_mipmap_tree.c1475 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()