Searched refs:delta_file_header_ (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/sdch/open-vcdiff/src/ |
D | vcdecoder2_test.cc | 33 for (size_t i = 0; i < delta_file_header_.size(); ++i) { in TEST_F() 34 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_header_[i], 1, &output_)); in TEST_F() 74 delta_file_.resize(delta_file_header_.size() in TEST_F() 182 delta_file_[delta_file_header_.size()] = VCD_SOURCE + VCD_TARGET; in TEST_F() 189 EXPECT_EQ(delta_file_header_.size(), i); in TEST_F() 200 delta_file_[delta_file_header_.size()] = 0xFD; in TEST_F() 232 ++delta_file_[delta_file_header_.size() + 2]; // increment size in TEST_F() 239 EXPECT_EQ(delta_file_header_.size() + 2, i); in TEST_F() 255 EXPECT_EQ(delta_file_header_.size() + 5, i); in TEST_F() 271 EXPECT_EQ(delta_file_header_.size() + 4, i); in TEST_F() [all …]
|
D | vcdecoder1_test.cc | 27 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F() 28 delta_file_header_.size(), in TEST_F() 72 delta_file_header_.size() in TEST_F() 138 delta_file_[delta_file_header_.size()] = VCD_SOURCE + VCD_TARGET; in TEST_F() 149 delta_file_[delta_file_header_.size()] = 0xFD; in TEST_F() 172 ++delta_file_[delta_file_header_.size() + 2]; // increment size in TEST_F() 208 ++delta_file_[delta_file_header_.size() + 3]; // increment start pos in TEST_F() 244 delta_file_[delta_file_header_.size() + 4] = 0; in TEST_F() 253 ++delta_file_[delta_file_header_.size() + 4]; in TEST_F() 262 --delta_file_[delta_file_header_.size() + 4]; in TEST_F() [all …]
|
D | vcdecoder3_test.cc | 48 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F() 49 delta_file_header_.size(), in TEST_F() 57 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F() 58 delta_file_header_.size() - 2, in TEST_F() 155 delta_file_header_.size() in TEST_F() 242 delta_file_[delta_file_header_.size() + 0x0C] = in TEST_F() 244 delta_file_[delta_file_header_.size() + 0x0D] = in TEST_F() 254 delta_file_[delta_file_header_.size() + 0x0C] = 0; in TEST_F() 263 ++delta_file_[delta_file_header_.size() + 0x0C]; in TEST_F() 272 --delta_file_[delta_file_header_.size() + 0x0C]; in TEST_F() [all …]
|
D | vcdecoder_test.cc | 65 delta_file_header_.assign(kStandardFileHeader, in UseStandardFileHeader() 70 delta_file_header_.assign(kInterleavedFileHeader, in UseInterleavedFileHeader() 75 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()
|
D | vcdecoder4_test.cc | 263 const size_t chunk_1_size = delta_file_header_.size() + 83; in TEST_F() 289 const size_t chunk_1_size = delta_file_header_.size() + 83; in TEST_F() 413 EXPECT_EQ(delta_file_header_.size() + 83, i); in TEST_F() 599 EXPECT_EQ(delta_file_header_.size() + 83, i); in TEST_F() 928 delta_file_header_.assign(kFileHeader, sizeof(kFileHeader)); in VCDiffCustomCodeTableDecoderTest() 929 delta_file_header_.push_back(0x01); // NEAR cache size (custom) in VCDiffCustomCodeTableDecoderTest() 930 delta_file_header_.push_back(0x06); // SAME cache size (custom) in VCDiffCustomCodeTableDecoderTest() 931 delta_file_header_.append(kEncodedCustomCodeTable, in VCDiffCustomCodeTableDecoderTest() 984 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F() 985 delta_file_header_.size() - 1, in TEST_F() [all …]
|
D | vcdecoder5_test.cc | 69 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F() 70 delta_file_header_.size(), in TEST_F() 92 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F() 93 delta_file_header_.size(), in TEST_F()
|
D | vcdecoder_test.h | 121 string delta_file_header_; variable
|