Lines Matching refs:begin
484 for (const auto& [begin, end] : src) { in ReadBlocks()
485 if (!check_lseek(fd, static_cast<off64_t>(begin) * BLOCKSIZE, SEEK_SET)) { in ReadBlocks()
489 size_t size = (end - begin) * BLOCKSIZE; in ReadBlocks()
504 for (const auto& [begin, end] : tgt) { in WriteBlocks()
505 off64_t offset = static_cast<off64_t>(begin) * BLOCKSIZE; in WriteBlocks()
506 size_t size = (end - begin) * BLOCKSIZE; in WriteBlocks()
1290 for (const auto& [begin, end] : tgt) { in PerformCommandZero()
1291 off64_t offset = static_cast<off64_t>(begin) * BLOCKSIZE; in PerformCommandZero()
1292 size_t size = (end - begin) * BLOCKSIZE; in PerformCommandZero()
1301 for (size_t j = begin; j < end; ++j) { in PerformCommandZero()
1468 for (const auto& [begin, end] : tgt) { in PerformCommandErase()
1469 off64_t offset = static_cast<off64_t>(begin) * BLOCKSIZE; in PerformCommandErase()
1470 size_t size = (end - begin) * BLOCKSIZE; in PerformCommandErase()
1541 for (const auto& [begin, end] : source_ranges) { in PerformCommandComputeHashTree()
1543 if (!check_lseek(params.fd, static_cast<off64_t>(begin) * BLOCKSIZE, SEEK_SET)) { in PerformCommandComputeHashTree()
1544 PLOG(ERROR) << "Failed to seek to block: " << begin; in PerformCommandComputeHashTree()
1548 for (size_t i = begin; i < end; i++) { in PerformCommandComputeHashTree()
1551 LOG(ERROR) << "Failed to read data in " << begin << ":" << end; in PerformCommandComputeHashTree()
2113 for (const auto& [begin, end] : rs) { in RangeSha1Fn()
2114 if (!check_lseek(fd, static_cast<off64_t>(begin) * BLOCKSIZE, SEEK_SET)) { in RangeSha1Fn()
2120 for (size_t j = begin; j < end; ++j) { in RangeSha1Fn()
2268 for (const auto& [begin, end] : rs) { in BlockImageRecoverFn()
2269 for (size_t j = begin; j < end; ++j) { in BlockImageRecoverFn()