Searched refs:Layout (Results 1 – 3 of 3) sorted by relevance
/bootable/libbootloader/gbl/libefi/src/ |
D | allocation.rs | 18 use core::alloc::{GlobalAlloc, Layout}; 113 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc() 124 unsafe fn dealloc(&self, ptr: *mut u8, _layout: Layout) { in dealloc() argument
|
/bootable/libbootloader/gbl/libavb/src/ |
D | lib.rs | 23 alloc::Layout, 49 NonNull::new(alloc(Layout::from_size_align(size, AVB_MALLOC_ALIGNMENT).ok()?))?; in avb_malloc_() 74 unsafe { dealloc(ptr, Layout::from_size_align(size, AVB_MALLOC_ALIGNMENT).unwrap()) }; in avb_free()
|
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 395 enum Layout { PORTRAIT = 0, PORTRAIT_LARGE = 1, LANDSCAPE = 2, LANDSCAPE_LARGE = 3, LAYOUT_MAX }; enum
|