Home | History | Annotate | Download | only in src

Lines Matching full:decoder_

38   decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
39 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
42 EXPECT_TRUE(decoder_.FinishDecoding());
49 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
50 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
53 EXPECT_TRUE(decoder_.FinishDecoding());
61 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
63 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
65 EXPECT_TRUE(decoder_.FinishDecoding());
73 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
75 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
77 EXPECT_TRUE(decoder_.FinishDecoding());
92 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
93 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
101 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
104 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
249 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
250 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
253 EXPECT_TRUE(decoder_.FinishDecoding());
270 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
271 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
274 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[chunk_1_size],
277 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[chunk_1_size + chunk_2_size],
281 EXPECT_TRUE(decoder_.FinishDecoding());
287 decoder_.SetAllowVcdTarget(false);
293 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
294 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0], chunk_1_size, &output_));
296 EXPECT_FALSE(decoder_.DecodeChunk(&delta_file_[chunk_1_size], 1, &output_));
305 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
306 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
309 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i],
312 EXPECT_TRUE(decoder_.FinishDecoding());
322 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
323 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
326 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i],
329 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[j],
332 EXPECT_TRUE(decoder_.FinishDecoding());
343 decoder_.SetMaximumTargetWindowSize(kWindow2Size);
344 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
345 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
348 EXPECT_TRUE(decoder_.FinishDecoding());
353 decoder_.SetMaximumTargetFileSize(expected_target_.size());
354 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
355 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
358 EXPECT_TRUE(decoder_.FinishDecoding());
363 decoder_.SetMaximumTargetWindowSize(kWindow2Size - 1);
364 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
365 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
372 decoder_.SetMaximumTargetFileSize(expected_target_.size() - 1);
373 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
374 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
384 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
386 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
388 EXPECT_TRUE(decoder_.FinishDecoding());
393 decoder_.SetAllowVcdTarget(true);
394 decoder_
396 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
398 EXPECT_TRUE(decoder_.FinishDecoding());
404 decoder_.SetAllowVcdTarget(false);
405 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
408 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
530 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
531 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
534 EXPECT_TRUE(decoder_.FinishDecoding());
542 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
543 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
546 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i],
549 EXPECT_TRUE(decoder_.FinishDecoding());
559 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
560 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
563 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i],
566 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[j],
569 EXPECT_TRUE(decoder_.FinishDecoding());
580 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
582 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
584 EXPECT_TRUE(decoder_.FinishDecoding());
590 decoder_.SetAllowVcdTarget(false);
591 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
594 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
613 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
615 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &temp_output));
619 EXPECT_TRUE(decoder_.FinishDecoding());
626 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
628 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
630 EXPECT_TRUE(decoder_.FinishDecoding());
687 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
688 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
691 EXPECT_TRUE(decoder_.FinishDecoding());
698 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
700 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
702 EXPECT_TRUE(decoder_.FinishDecoding());
754 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
755 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
758 EXPECT_TRUE(decoder_.FinishDecoding());
765 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
766 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
769 EXPECT_TRUE(decoder_.FinishDecoding());
777 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
779 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
781 EXPECT_TRUE(decoder_.FinishDecoding());
788 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
790 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
792 EXPECT_TRUE(decoder_.FinishDecoding());
946 decoder_.StartDecoding(
950 EXPECT_TRUE(decoder_.DecodeChunk(kEncodedCustomCodeTable,
953 EXPECT_TRUE(decoder_.FinishDecoding());
974 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
975 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
978 EXPECT_TRUE(decoder_.FinishDecoding());
983 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
984 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
987 EXPECT_FALSE(decoder_.FinishDecoding());
995 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
997 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
999 EXPECT_TRUE(decoder_.FinishDecoding());
1005 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1007 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
1009 EXPECT_FALSE(decoder_.FinishDecoding());
1014 decoder_.SetAllowVcdTarget(false);
1015 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1017 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
1019 EXPECT_TRUE(decoder_.FinishDecoding());
1035 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1036 EXPECT_DEBUG_DEATH(EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
1044 decoder_.SetAllowVcdTarget(false);
1053 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1054 EXPECT_DEBUG_DEATH(EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),