Lines Matching refs:decoder_

32   decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
34 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_header_[i], 1, &output_));
36 EXPECT_TRUE(decoder_.FinishDecoding());
41 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
43 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
45 EXPECT_TRUE(decoder_.FinishDecoding());
50 decoder_.SetAllowVcdTarget(false);
51 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
53 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
55 EXPECT_TRUE(decoder_.FinishDecoding());
63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
65 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
67 EXPECT_FALSE(decoder_.FinishDecoding());
76 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
78 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
80 EXPECT_FALSE(decoder_.FinishDecoding());
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
95 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
106 decoder_.SetMaximumTargetWindowSize(expected_target_.size());
107 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
109 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
111 EXPECT_TRUE(decoder_.FinishDecoding());
116 decoder_.SetMaximumTargetFileSize(expected_target_.size());
117 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
119 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
121 EXPECT_TRUE(decoder_.FinishDecoding());
126 decoder_.SetMaximumTargetWindowSize(expected_target_.size() - 1);
127 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
130 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
140 decoder_.SetMaximumTargetFileSize(expected_target_.size() - 1);
141 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
144 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
159 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
162 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
168 decoder_.FinishDecoding();
183 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
186 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
201 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
203 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
205 EXPECT_TRUE(decoder_.FinishDecoding());
215 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
218 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
233 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
236 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
249 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
252 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
265 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
268 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
281 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
284 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
298 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
301 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
314 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
317 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
330 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
333 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
346 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
349 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
362 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
365 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
378 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
381 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
394 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
397 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
410 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
413 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
427 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
430 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
443 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
446 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
460 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
463 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
474 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
477 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
489 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
492 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
504 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
507 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
520 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
523 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
536 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
539 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
553 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
555 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
557 EXPECT_TRUE(decoder_.FinishDecoding());
563 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
566 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
580 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
583 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
596 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
599 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
612 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
615 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
628 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
631 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
644 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
647 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
660 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
663 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
677 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
680 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
693 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
696 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
709 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
712 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
725 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
728 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
741 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
744 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
757 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
760 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
774 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
777 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
790 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
793 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
806 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
809 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
822 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
825 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
838 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
841 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
854 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
857 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
870 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
873 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
886 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
889 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
903 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
906 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
924 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
927 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
939 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
942 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
954 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
957 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
969 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
972 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
984 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
987 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
999 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1002 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1014 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1017 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1032 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1035 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1047 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1050 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1062 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1065 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1077 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1080 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1095 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1098 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1110 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1113 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1125 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1128 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1140 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1143 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1155 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1158 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1170 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1173 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1185 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1188 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1203 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1206 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1218 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1221 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1233 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1236 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1248 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1251 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1263 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1266 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1278 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1281 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1293 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1296 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {