Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dsparse.rs283 let sparse = include_bytes!("../../testdata/sparse_test.bin"); in test_sparse_write() localVariable
287 write_sparse_image(&mut sparse.to_vec()[..], |off, data| { in test_sparse_write()
300 let sparse = include_bytes!("../../testdata/sparse_test_blk1024.bin"); in test_sparse_write_non_default_block_size() localVariable
304 write_sparse_image(&mut sparse.to_vec()[..], |off, data| { in test_sparse_write_non_default_block_size()
321 let mut sparse = include_bytes!("../../testdata/sparse_test.bin").to_vec(); in test_sparse_invalid_magic() localVariable
322 let mut sparse_header: SparseHeader = copy_from(&sparse[..]).unwrap(); in test_sparse_invalid_magic()
324 copy_to(&sparse_header, &mut sparse[..]); in test_sparse_invalid_magic()
325 assert!(write_sparse_image(&mut sparse[..], |_, _| panic!()).is_err()); in test_sparse_invalid_magic()
330 let mut sparse = include_bytes!("../../testdata/sparse_test.bin").to_vec(); in test_sparse_invalid_major_version() localVariable
331 let mut sparse_header: SparseHeader = copy_from(&sparse[..]).unwrap(); in test_sparse_invalid_major_version()
[all …]
Dmod.rs26 mod sparse; module
27 use sparse::{is_sparse_image, write_sparse_image};
530 let sparse = include_bytes!("../../testdata/sparse_test.bin"); in test_flash_partition_sparse() localVariable
535 let mut dl_size = sparse.len(); in test_flash_partition_sparse()
536 let mut download = sparse.to_vec(); in test_flash_partition_sparse()
/bootable/libbootloader/gbl/third_party/libzbi/
DREADME.md26 git sparse-checkout set --no-clone src/firmware/lib/zbi-rs