Home | History | Annotate | Download | only in src

Lines Matching refs: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());
286 decoder_.SetAllowVcdTarget(false);
292 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
293 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0], chunk_1_size, &output_));
295 EXPECT_FALSE(decoder_.DecodeChunk(&delta_file_[chunk_1_size], 1, &output_));
304 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
305 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
308 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i],
311 EXPECT_TRUE(decoder_.FinishDecoding());
321 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
322 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
325 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i],
328 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[j],
331 EXPECT_TRUE(decoder_.FinishDecoding());
342 decoder_.SetMaximumTargetWindowSize(kWindow2Size);
343 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
344 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
347 EXPECT_TRUE(decoder_.FinishDecoding());
352 decoder_.SetMaximumTargetFileSize(expected_target_.size());
353 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
354 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
357 EXPECT_TRUE(decoder_.FinishDecoding());
362 decoder_.SetMaximumTargetWindowSize(kWindow2Size - 1);
363 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
364 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
371 decoder_.SetMaximumTargetFileSize(expected_target_.size() - 1);
372 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
373 EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
383 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
385 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
387 EXPECT_TRUE(decoder_.FinishDecoding());
392 decoder_.SetAllowVcdTarget(true);
393 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
395 EXPECT_TRUE(decoder_
397 EXPECT_TRUE(decoder_.FinishDecoding());
403 decoder_.SetAllowVcdTarget(false);
404 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
407 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
529 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
530 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
533 EXPECT_TRUE(decoder_.FinishDecoding());
541 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
542 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
545 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i],
548 EXPECT_TRUE(decoder_.FinishDecoding());
558 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
559 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[0],
562 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i],
565 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[j],
568 EXPECT_TRUE(decoder_.FinishDecoding());
579 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
581 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
583 EXPECT_TRUE(decoder_.FinishDecoding());
589 decoder_.SetAllowVcdTarget(false);
590 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
593 if (!decoder_.DecodeChunk(&delta_file_[i], 1, &output_)) {
612 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
614 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &temp_output));
618 EXPECT_TRUE(decoder_.FinishDecoding());
625 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
627 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
629 EXPECT_TRUE(decoder_.FinishDecoding());
686 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
687 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
690 EXPECT_TRUE(decoder_.FinishDecoding());
697 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
699 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
701 EXPECT_TRUE(decoder_.FinishDecoding());
753 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
754 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
757 EXPECT_TRUE(decoder_.FinishDecoding());
764 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
765 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
768 EXPECT_TRUE(decoder_.FinishDecoding());
776 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
778 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
780 EXPECT_TRUE(decoder_.FinishDecoding());
787 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
789 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
791 EXPECT_TRUE(decoder_.FinishDecoding());
945 decoder_.StartDecoding(
949 EXPECT_TRUE(decoder_.DecodeChunk(kEncodedCustomCodeTable,
952 EXPECT_TRUE(decoder_.FinishDecoding());
973 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
974 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_.data(),
977 EXPECT_TRUE(decoder_.FinishDecoding());
982 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
983 EXPECT_TRUE(decoder_.DecodeChunk(delta_file_header_.data(),
986 EXPECT_FALSE(decoder_.FinishDecoding());
994 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
996 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
998 EXPECT_TRUE(decoder_.FinishDecoding());
1004 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1006 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
1008 EXPECT_FALSE(decoder_.FinishDecoding());
1013 decoder_.SetAllowVcdTarget(false);
1014 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1016 EXPECT_TRUE(decoder_.DecodeChunk(&delta_file_[i], 1, &output_));
1018 EXPECT_TRUE(decoder_.FinishDecoding());
1034 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1035 EXPECT_DEBUG_DEATH(EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),
1043 decoder_.SetAllowVcdTarget(false);
1052 decoder_.StartDecoding(dictionary_.data(), dictionary_.size());
1053 EXPECT_DEBUG_DEATH(EXPECT_FALSE(decoder_.DecodeChunk(delta_file_.data(),