Home | History | Annotate | Download | only in src

Lines Matching refs:decoder_

47   decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
48 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
51 EXPECT_TRUE(decoder_.FinishDecoding());
56 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
57 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
60 EXPECT_FALSE(decoder_.FinishDecoding());
66 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
67 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
75 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
76 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
84 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
85 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
93 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
96 EXPECT_TRUE(decoder_.FinishDecoding());
103 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
104 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
107 EXPECT_TRUE(decoder_.FinishDecoding());
114 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
115 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
133 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
134 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
143 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
144 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
147 EXPECT_FALSE(decoder_.FinishDecoding());
153 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
154 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
158 EXPECT_FALSE(decoder_.FinishDecoding());
164 decoder_.SetMaximumTargetWindowSize(expected_target_.size());
165 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
166 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
169 EXPECT_TRUE(decoder_.FinishDecoding());
174 decoder_.SetMaximumTargetFileSize(expected_target_.size());
175 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
176 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
179 EXPECT_TRUE(decoder_.FinishDecoding());
184 decoder_.SetMaximumTargetWindowSize(expected_target_.size() - 1);
185 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
186 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
193 decoder_.SetMaximumTargetFileSize(expected_target_.size() - 1);
194 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
195 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
207 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
208 if (decoder_.DecodeChunk(delta_file_.data(),
211 decoder_.FinishDecoding();
225 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
226 if (decoder_.DecodeChunk(delta_file_.data(),
229 if (decoder_.FinishDecoding()) {
246 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
247 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
255 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
256 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
264 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
265 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
273 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
274 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
282 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
283 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
291 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
292 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
300 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
301 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
312 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
313 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
321 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
322 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
330 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
331 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
339 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
340 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
351 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
352 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
360 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
361 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
369 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
370 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
378 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
379 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
387 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
388 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
396 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
397 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
405 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
406 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
417 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
418 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
426 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
427 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
435 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
436 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
444 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
445 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
453 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
454 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
462 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
463 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
471 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
472 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
501 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
502 EXPECT_TRUE(decoder_.DecodeChunk(delta_with_guard,
505 EXPECT_TRUE(decoder_.FinishDecoding());
534 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
535 EXPECT_TRUE(decoder_.DecodeChunk(delta_with_guard,
538 EXPECT_TRUE(decoder_.FinishDecoding());
557 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
559 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_header_[i], 1, &output_));
561 EXPECT_TRUE(decoder_.FinishDecoding());
567 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
569 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
571 EXPECT_FALSE(decoder_.FinishDecoding());
577 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
580 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
593 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
596 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
610 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
613 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
625 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
627 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
629 EXPECT_TRUE(decoder_.FinishDecoding());
636 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
638 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
640 EXPECT_TRUE(decoder_.FinishDecoding());
647 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
650 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
674 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
677 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
690 decoder_.SetMaximumTargetWindowSize(expected_target_.size());
691 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
693 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
695 EXPECT_TRUE(decoder_.FinishDecoding());
700 decoder_.SetMaximumTargetFileSize(expected_target_.size());
701 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
703 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
705 EXPECT_TRUE(decoder_.FinishDecoding());
710 decoder_.SetMaximumTargetWindowSize(expected_target_.size() - 1);
711 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
714 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
724 decoder_.SetMaximumTargetFileSize(expected_target_.size() - 1);
725 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
728 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
743 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
746 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
752 decoder_.FinishDecoding();
766 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
769 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
775 if (decoder_.FinishDecoding()) {
793 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
796 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
812 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
815 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
834 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
837 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
849 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
852 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
864 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
867 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
879 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
882 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
896 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
899 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
913 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
916 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
933 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
936 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
950 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
953 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
967 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
970 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
984 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
987 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1004 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1007 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1026 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1029 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1041 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1044 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1056 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1059 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1071 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1074 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1088 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1091 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1105 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1108 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1125 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1128 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1147 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1150 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1162 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1165 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1177 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1180 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1192 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1195 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1209 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1212 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1226 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1229 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {