Home
last modified time | relevance | path

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

/external/chromium/sdch/open-vcdiff/src/
Dvcdecoder1_test.cc26 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
27 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F()
30 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
35 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
36 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
39 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
50 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
51 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
60 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
61 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
[all …]
Dvcdecoder3_test.cc44 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
45 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F()
48 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
53 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
54 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F()
57 EXPECT_FALSE(decoder_.FinishDecoding()); in TEST_F()
63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
64 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
72 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
73 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
[all …]
Dvcdecoder4_test.cc38 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
39 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
42 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
49 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
50 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(), in TEST_F()
53 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
61 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
63 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
65 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
73 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
[all …]
Dvcdecoder2_test.cc32 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
34 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_header_[i], 1, &output_)); in TEST_F()
36 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
41 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
43 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
45 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
50 decoder_.SetAllowVcdTarget(false); in TEST_F()
51 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
53 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_)); in TEST_F()
55 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
[all …]
Dvcdecoder5_test.cc66 decoder_.SetAllowVcdTarget(false); in TEST_F()
67 decoder_.SetMaximumTargetFileSize(0x4000000UL * 50); in TEST_F()
68 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
69 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F()
74 EXPECT_TRUE(decoder_.DecodeChunk(kLargeRunWindow, sizeof(kLargeRunWindow), in TEST_F()
84 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
90 decoder_.SetAllowVcdTarget(false); in TEST_F()
91 decoder_.StartDecoding(dictionary_.data(), dictionary_.size()); in TEST_F()
92 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(), in TEST_F()
98 EXPECT_TRUE(decoder_.DecodeChunk(kLargeRunWindow, sizeof(kLargeRunWindow), in TEST_F()
[all …]
Dvcencoder_test.cc130 VCDiffStreamingDecoder decoder_; member in open_vcdiff::__anon484542db0111::VCDiffEncoderTest
174 decoder_.StartDecoding("", 0); in TEST_F()
175 EXPECT_TRUE(decoder_.DecodeChunk(delta_data(), in TEST_F()
178 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
194 decoder_.StartDecoding(NULL, 0); in TEST_F()
195 EXPECT_TRUE(decoder_.DecodeChunk(delta_data(), in TEST_F()
198 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
245 decoder_.StartDecoding(kDictionary, sizeof(kDictionary)); in TEST_F()
246 EXPECT_TRUE(decoder_.DecodeChunk(delta_data(), in TEST_F()
249 EXPECT_TRUE(decoder_.FinishDecoding()); in TEST_F()
[all …]
Dvcdecoder_test.h104 VCDiffStreamingDecoder decoder_; variable
Dvcdecoder.cc1406 decoder_.StartDecoding(dictionary_ptr, dictionary_size); in DecodeToInterface()
1407 if (!decoder_.DecodeChunkToInterface(encoding.data(), in DecodeToInterface()
1412 return decoder_.FinishDecoding(); in DecodeToInterface()
/external/chromium/sdch/open-vcdiff/src/google/
Dvcdecoder.h174 VCDiffStreamingDecoder decoder_; variable