Lines Matching refs:BLOCK_SIZE
180 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()
944 } else if (src_ranges.blocks() * BLOCK_SIZE + src_length <= limit) { in SplitZipModeImageWithLimit()
1030 if (end_offset % BLOCK_SIZE != 0 && end_offset < tgt_image.file_content_.size()) { in AddSplitImageFromChunkList()
1032 BLOCK_SIZE - (end_offset % BLOCK_SIZE)); in AddSplitImageFromChunkList()
1044 size_t end = std::min(src_image.file_content_.size(), r.second * BLOCK_SIZE); in AddSplitImageFromChunkList()
1045 src_content.insert(src_content.end(), src_image.file_content_.begin() + r.first * BLOCK_SIZE, in AddSplitImageFromChunkList()
1076 CHECK(last_offset % BLOCK_SIZE == 0); in ValidateSplitImages()
1553 ZipModeImage src_image(true, blocks_limit * BLOCK_SIZE); in imgdiff()
1554 ZipModeImage tgt_image(false, blocks_limit * BLOCK_SIZE); in imgdiff()