Home
last modified time | relevance | path

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

/external/chromium/sdch/open-vcdiff/src/
Dvcdecoder1_test.cc36 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
37 delta_file_.size(), in TEST_F()
51 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
52 delta_file_.size(), in TEST_F()
61 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
62 delta_file_.size() - 1, in TEST_F()
71 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
82 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
83 delta_file_.size(), in TEST_F()
92 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
[all …]
Dvcdecoder3_test.cc62 delta_file_[1] = 'Q' | 0x80; in TEST_F()
64 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
65 delta_file_.size(), in TEST_F()
71 delta_file_[3] = 0x01; in TEST_F()
73 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
74 delta_file_.size(), in TEST_F()
80 delta_file_[4] = 0x01; in TEST_F()
82 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
83 delta_file_.size(), in TEST_F()
90 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
[all …]
Dvcdecoder2_test.cc42 for (size_t i = 0; i < delta_file_.size(); ++i) { in TEST_F()
43 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
52 for (size_t i = 0; i < delta_file_.size(); ++i) { in TEST_F()
53 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
62 delta_file_.resize(delta_file_.size() - 1); in TEST_F()
64 for (size_t i = 0; i < delta_file_.size(); ++i) { in TEST_F()
65 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
74 delta_file_.resize(delta_file_header_.size() in TEST_F()
77 for (size_t i = 0; i < delta_file_.size(); ++i) { in TEST_F()
78 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
[all …]
Dvcdecoder4_test.cc39 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
40 delta_file_.size(), in TEST_F()
50 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
51 delta_file_.size(), in TEST_F()
62 for (size_t i = 0; i < delta_file_.size(); ++i) { in TEST_F()
63 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
74 for (size_t i = 0; i < delta_file_.size(); ++i) { in TEST_F()
75 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
93 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
94 delta_file_.size(), in TEST_F()
[all …]
Dvcdecoder_test.cc75 delta_file_ = delta_file_header_ + delta_window_header_ + delta_window_body_; in InitializeDeltaFile()
106 delta_file_.replace(delta_file_header_.size() + offset, in WriteMaxVarintAtOffset()
117 delta_file_.replace(delta_file_header_.size() + offset, in WriteNegativeVarintAtOffset()
128 delta_file_.replace(delta_file_header_.size() + offset, in WriteInvalidVarintAtOffset()
149 for (; fuzzed_byte_position_ < delta_file_.size(); in FuzzOneByteInDeltaFile()
151 char fuzzed_byte = (((delta_file_[fuzzed_byte_position_] in FuzzOneByteInDeltaFile()
155 if (fuzzed_byte != delta_file_[fuzzed_byte_position_]) { in FuzzOneByteInDeltaFile()
156 delta_file_[fuzzed_byte_position_] = fuzzed_byte; in FuzzOneByteInDeltaFile()
Dvcdecoder_test.h108 string delta_file_; variable