Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot_reader_test.cpp114 static constexpr size_t kOffset = 970; in TestByteReads() local
115 off64_t offset = 3 * kBlockSize + kOffset; in TestByteReads()
119 ASSERT_EQ(blob.substr(0, 100), base_blocks_[0].substr(kOffset, 100)); in TestByteReads()
120 ASSERT_EQ(blob.substr(kBlockSize - kOffset, kBlockSize), base_blocks_[4]); in TestByteReads()
121 ASSERT_EQ(blob.substr(kBlockSize * 2 - kOffset, 100), MakeNewBlockString().substr(0, 100)); in TestByteReads()
122 ASSERT_EQ(blob.substr(blob.size() - kOffset), base_blocks_[6].substr(0, kOffset)); in TestByteReads()