Home | History | Annotate | Download | only in src

Lines Matching defs:encoder_

129   VCDiffStreamingEncoder encoder_;
151 encoder_(&hashed_dictionary_,
159 EXPECT_FALSE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta()));
163 EXPECT_FALSE(encoder_.FinishEncoding(delta()));
240 EXPECT_TRUE(encoder_.StartEncoding(delta()));
241 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta()));
242 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
255 EXPECT_TRUE(encoder_.StartEncoding(&delta_start));
256 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), &delta_encode));
257 EXPECT_TRUE(encoder_.FinishEncoding(&delta_finish));
279 EXPECT_TRUE(encoder_.StartEncoding(&delta_crope));
280 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), &delta_crope));
281 EXPECT_TRUE(encoder_.FinishEncoding(&delta_crope));
300 EXPECT_TRUE(encoder_.StartEncoding(delta()));
309 EXPECT_TRUE(encoder_.EncodeChunk(&kTarget[chunk_start_index],
313 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
367 EXPECT_TRUE(encoder_.StartEncoding(&this_encoded_chunk));
379 EXPECT_TRUE(encoder_.EncodeChunk(&kTarget[chunk_start_index],
386 EXPECT_TRUE(encoder_.FinishEncoding(&this_encoded_chunk));
574 EXPECT_TRUE(encoder_.StartEncoding(delta()));
575 EXPECT_TRUE(encoder_.EncodeChunk(target_with_guard, target_size, delta()));
576 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
606 EXPECT_TRUE(encoder_.StartEncoding(delta()));
607 EXPECT_TRUE(encoder_.EncodeChunk(target_with_guard, target_size, delta()));
608 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
651 VCDiffStreamingEncoder encoder_;
674 encoder_(&hashed_dictionary_,
693 EXPECT_TRUE(encoder_.StartEncoding(delta()));
694 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta()));
695 EXPECT_TRUE(encoder_.FinishEncoding(delta()));
764 encoder_.GetMatchCounts(&actual_match_counts_);
853 EXPECT_DEBUG_DEATH(encoder_.GetMatchCounts(NULL), "GetMatchCounts");
869 VCDiffStreamingEncoder encoder_;
883 encoder_(&hashed_dictionary_,
902 EXPECT_TRUE(encoder_.StartEncoding(delta()));
903 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta()));
1001 encoder_.GetMatchCounts(&actual_match_counts_);