Searched refs:sparse (Results 1 – 3 of 3) sorted by relevance
283 let sparse = include_bytes!("../../testdata/sparse_test.bin"); in test_sparse_write() localVariable287 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() localVariable304 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() localVariable322 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() localVariable331 let mut sparse_header: SparseHeader = copy_from(&sparse[..]).unwrap(); in test_sparse_invalid_major_version()[all …]
26 mod sparse; module27 use sparse::{is_sparse_image, write_sparse_image};530 let sparse = include_bytes!("../../testdata/sparse_test.bin"); in test_flash_partition_sparse() localVariable535 let mut dl_size = sparse.len(); in test_flash_partition_sparse()536 let mut download = sparse.to_vec(); in test_flash_partition_sparse()
26 git sparse-checkout set --no-clone src/firmware/lib/zbi-rs