Home
last modified time | relevance | path

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

/bootable/recovery/updater/
Dblockimg.cpp75 static constexpr size_t BLOCKSIZE = 4096; variable
249 return tgt_.blocks() * BLOCKSIZE - bytes_written_; in AvailableSpace()
306 off64_t offset = static_cast<off64_t>(range.first) * BLOCKSIZE; in SeekToOutputRange()
307 current_range_left_ = (range.second - range.first) * BLOCKSIZE; in SeekToOutputRange()
485 if (!check_lseek(fd, static_cast<off64_t>(begin) * BLOCKSIZE, SEEK_SET)) { in ReadBlocks()
489 size_t size = (end - begin) * BLOCKSIZE; in ReadBlocks()
505 off64_t offset = static_cast<off64_t>(begin) * BLOCKSIZE; in WriteBlocks()
506 size_t size = (end - begin) * BLOCKSIZE; in WriteBlocks()
608 CHECK_LE((buffer_index + 1) * BLOCKSIZE, buffer.size()); in PrintHashForCorruptedSourceBlocks()
611 SHA1(buffer.data() + buffer_index * BLOCKSIZE, BLOCKSIZE, digest); in PrintHashForCorruptedSourceBlocks()
[all …]