Home | History | Annotate | Download | only in src

Lines Matching refs:decoder_

44   decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
45 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
48 EXPECT_TRUE(decoder_.FinishDecoding());
53 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
54 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
57 EXPECT_FALSE(decoder_.FinishDecoding());
63 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
64 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
72 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
73 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
81 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
82 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
89 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
90 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
93 EXPECT_TRUE(decoder_.FinishDecoding());
100 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
101 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
104 EXPECT_TRUE(decoder_.FinishDecoding());
111 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
112 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
130 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
131 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
140 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
141 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
144 EXPECT_FALSE(decoder_.FinishDecoding());
150 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
151 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
155 EXPECT_FALSE(decoder_.FinishDecoding());
161 decoder_.SetMaximumTargetWindowSize(expected_target_.size());
162 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
163 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
166 EXPECT_TRUE(decoder_.FinishDecoding());
171 decoder_.SetMaximumTargetFileSize(expected_target_.size());
172 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
173 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
176 EXPECT_TRUE(decoder_.FinishDecoding());
181 decoder_.SetMaximumTargetWindowSize(expected_target_.size() - 1);
182 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
183 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
190 decoder_.SetMaximumTargetFileSize(expected_target_.size() - 1);
191 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
192 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
204 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
205 if (decoder_.DecodeChunk(delta_file_.data(),
208 decoder_.FinishDecoding();
222 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
223 if (decoder_.DecodeChunk(delta_file_.data(),
226 if (decoder_.FinishDecoding()) {
243 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
244 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
252 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
253 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
261 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
262 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
270 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
271 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
279 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
280 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
288 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
289 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
297 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
298 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
309 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
310 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
318 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
319 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
327 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
328 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
336 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
337 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
348 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
349 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
357 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
358 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
366 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
367 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
375 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
376 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
384 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
385 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
393 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
394 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
402 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
403 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
414 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
415 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
423 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
424 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
432 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
433 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
441 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
442 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
450 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
451 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
459 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
460 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
468 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
469 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
498 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
499 EXPECT_TRUE(decoder_.DecodeChunk(delta_with_guard,
502 EXPECT_TRUE(decoder_.FinishDecoding());
531 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
532 EXPECT_TRUE(decoder_.DecodeChunk(delta_with_guard,
535 EXPECT_TRUE(decoder_.FinishDecoding());
554 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
556 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_header_[i], 1, &output_));
558 EXPECT_TRUE(decoder_.FinishDecoding());
564 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
566 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
568 EXPECT_FALSE(decoder_.FinishDecoding());
574 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
577 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
590 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
593 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
607 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
610 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
622 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
624 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
626 EXPECT_TRUE(decoder_.FinishDecoding());
633 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
635 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
637 EXPECT_TRUE(decoder_.FinishDecoding());
644 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
647 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
671 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
674 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
687 decoder_.SetMaximumTargetWindowSize(expected_target_.size());
688 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
690 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
692 EXPECT_TRUE(decoder_.FinishDecoding());
697 decoder_.SetMaximumTargetFileSize(expected_target_.size());
698 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
700 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
702 EXPECT_TRUE(decoder_.FinishDecoding());
707 decoder_.SetMaximumTargetWindowSize(expected_target_.size() - 1);
708 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
711 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
721 decoder_.SetMaximumTargetFileSize(expected_target_.size() - 1);
722 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
725 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
740 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
743 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
749 decoder_.FinishDecoding();
763 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
766 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
772 if (decoder_.FinishDecoding()) {
790 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
793 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
809 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
812 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
831 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
834 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
846 decoder_
849 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
861 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
864 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
876 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
879 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
893 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
896 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
910 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
913 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
930 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
933 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
947 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
950 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
964 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
967 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
981 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
984 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1001 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1004 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1023 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1026 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1038 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1041 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1053 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1056 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1068 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1071 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1085 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1088 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1102 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1105 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1122 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1125 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1144 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1147 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1159 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1162 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1174 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1177 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1189 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1192 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1206 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1209 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
1223 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1226 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {