Home
last modified time | relevance | path

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

/external/bsdiff/
Dtest_utils.cc112 memcpy(&diff_len, contents.data() + 16, sizeof(diff_len)); in LoadFromFile()
117 TEST_AND_RETURN_FALSE(diff_len >= 0); in LoadFromFile()
121 static_cast<uint64_t>(kHeaderSize + ctrl_len + diff_len)); in LoadFromFile()
122 extra_len = file_size - kHeaderSize - ctrl_len - diff_len; in LoadFromFile()
127 bz2_diff = vector<uint8_t>(ptr, ptr + diff_len); in LoadFromFile()
128 ptr += diff_len; in LoadFromFile()
136 TEST_AND_RETURN_FALSE(diff_len >= 0); in IsValid()
Dbsdiff_unittest.cc44 EXPECT_EQ(14, patch.diff_len); in TEST_F()
60 EXPECT_EQ(14, patch.diff_len); in TEST_F()
Dtest_utils.h72 int64_t diff_len = -1; member