Home
last modified time | relevance | path

Searched refs:read_struct_slice (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/sys_util/src/
Dstruct_util.rs43 pub unsafe fn read_struct_slice<T: Copy, F: Read>(f: &mut F, len: usize) -> Result<Vec<T>> { in read_struct_slice() function
146 let tr: Vec<TestRead> = unsafe { read_struct_slice(&mut Cursor::new(source), 3).unwrap() }; in struct_slice_read()
/external/crosvm/kernel_loader/src/
Dlib.rs114 base::read_struct_slice(kernel_image, ehdr.e_phnum as usize) in load_kernel()