Searched refs:coder_ (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/sdch/open-vcdiff/src/ |
D | jsonwriter_test.cc | 33 EXPECT_TRUE(coder_.Init(0)); in JSONWriterTest() 34 coder_.WriteHeader(&output_string_, 0); in JSONWriterTest() 41 JSONCodeTableWriter coder_; member in open_vcdiff::__anonee18d1940111::JSONWriterTest 45 EXPECT_EQ(0U, coder_.target_length()); in TEST_F() 46 coder_.FinishEncoding(&output_string_); in TEST_F() 48 EXPECT_EQ(0U, coder_.target_length()); in TEST_F() 52 EXPECT_EQ(0U, coder_.target_length()); in TEST_F() 53 coder_.Output(&output_string_); in TEST_F() 54 coder_.FinishEncoding(&output_string_); in TEST_F() 56 EXPECT_EQ(0U, coder_.target_length()); in TEST_F() [all …]
|
D | vcencoder.cc | 69 std::auto_ptr<CodeTableWriterInterface> coder_; member in open_vcdiff::VCDiffStreamingEncoderImpl 99 coder_.reset(new JSONCodeTableWriter()); in VCDiffStreamingEncoderImpl() 104 coder_.reset(new VCDiffCodeTableWriter( in VCDiffStreamingEncoderImpl() 111 if (!coder_->Init(engine_->dictionary_size())) { in StartEncoding() 116 coder_->WriteHeader(out, format_extensions_); in StartEncoding() 130 coder_->AddChecksum(ComputeAdler32(data, len)); in EncodeChunk() 132 engine_->Encode(data, len, look_for_target_matches_, out, coder_.get()); in EncodeChunk() 143 coder_->FinishEncoding(out); in FinishEncoding()
|