Lines Matching defs:encoder_
134 VCDiffStreamingEncoder encoder_;
163 encoder_(&hashed_dictionary_,
174 EXPECT_FALSE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta()));
178 EXPECT_FALSE(encoder_.FinishEncoding(delta()));
266 EXPECT_TRUE(encoder_.StartEncoding(delta()));
267 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta()));
268 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
288 EXPECT_TRUE(encoder_.StartEncoding(&delta_start));
289 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), &delta_encode));
290 EXPECT_TRUE(encoder_.FinishEncoding(&delta_finish));
312 EXPECT_TRUE(encoder_.StartEncoding(&delta_crope));
313 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), &delta_crope));
314 EXPECT_TRUE(encoder_.FinishEncoding(&delta_crope));
378 TestWithFixedChunkSize(&encoder_, &decoder_, 6);
379 TestWithFixedChunkSize(&encoder_, &decoder_, 45);
380 TestWithFixedChunkSize(&encoder_, &decoder_, 60);
384 TestWithFixedChunkSize(&encoder_, &decoder_, chunk_size);
421 TestWithFixedChunkSize(&encoder_, &decoder_, chunk_size);
432 EXPECT_TRUE(encoder_.StartEncoding(&this_encoded_chunk));
444 EXPECT_TRUE(encoder_.EncodeChunk(&kTarget[chunk_start_index],
451 EXPECT_TRUE(encoder_.FinishEncoding(&this_encoded_chunk));
639 EXPECT_TRUE(encoder_.StartEncoding(delta()));
640 EXPECT_TRUE(encoder_.EncodeChunk(target_with_guard, target_size, delta()));
641 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
671 EXPECT_TRUE(encoder_.StartEncoding(delta()));
672 EXPECT_TRUE(encoder_.EncodeChunk(target_with_guard, target_size, delta()));
673 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
694 VCDiffStreamingEncoder encoder_;
717 encoder_(&hashed_dictionary_,
736 EXPECT_TRUE(encoder_.StartEncoding(delta()));
737 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta()));
738 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
890 VCDiffStreamingEncoder encoder_;
904 encoder_(&hashed_dictionary_,
923 EXPECT_TRUE(encoder_.StartEncoding(delta()));
924 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta()));