Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libstorage/src/
Dlib.rs1066 const BLOCK_SIZE: u64 = 512; constant
1068 const STORAGE: u64 = BLOCK_SIZE * 32;
1075 read_write_test! {aligned_all, 0, STORAGE, 0, ALIGNMENT, BLOCK_SIZE, STORAGE
1082 aligned_offset_uanligned_size, 0, STORAGE - 1, 0, ALIGNMENT, BLOCK_SIZE, STORAGE
1088 aligned_offset_intra_block, 0, BLOCK_SIZE - 1, 0, ALIGNMENT, BLOCK_SIZE, STORAGE
1094 unaligned_offset_aligned_end, 1, STORAGE - 1, 0, ALIGNMENT, BLOCK_SIZE, STORAGE
1099 read_write_test! {unaligned_offset_len, 1, STORAGE - 2, 0, ALIGNMENT, BLOCK_SIZE, STORAGE
1105 unaligned_offset_len_partial_cross_block, 1, BLOCK_SIZE, 0, ALIGNMENT, BLOCK_SIZE, STORAGE
1113 BLOCK_SIZE - 2,
1116 BLOCK_SIZE,
[all …]
/bootable/deprecated-ota/applypatch/
Dimgdiff.cpp180 static constexpr size_t BLOCK_SIZE = 4096; variable
198 size_t residual = (*start % BLOCK_SIZE == 0) ? 0 : BLOCK_SIZE - *start % BLOCK_SIZE; in AlignHead()
212 size_t residual = (*start + *length) % BLOCK_SIZE; in AlignTail()
970 } else if (src_ranges.blocks() * BLOCK_SIZE + src_length <= limit) { in SplitZipModeImageWithLimit()
1056 if (end_offset % BLOCK_SIZE != 0 && end_offset < tgt_image.file_content_.size()) { in AddSplitImageFromChunkList()
1058 BLOCK_SIZE - (end_offset % BLOCK_SIZE)); in AddSplitImageFromChunkList()
1070 size_t end = std::min(src_image.file_content_.size(), r.second * BLOCK_SIZE); in AddSplitImageFromChunkList()
1072 src_image.file_content_.begin() + r.first * BLOCK_SIZE, in AddSplitImageFromChunkList()
1103 CHECK(last_offset % BLOCK_SIZE == 0); in ValidateSplitImages()
1580 ZipModeImage src_image(true, blocks_limit * BLOCK_SIZE); in imgdiff()
[all …]
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dvars.rs129 const BLOCK_SIZE: &str = "block-size"; constant
144 BLOCK_SIZE => gbl_fb.storage().get(id)?.block_size()?, in get()