/external/chromium_org/sdch/open-vcdiff/src/ |
jsonwriter_test.cc | 33 EXPECT_TRUE(coder_.Init(0)); 34 coder_.WriteHeader(&output_string_, 0); 41 JSONCodeTableWriter coder_; member in class:open_vcdiff::__anon10353::JSONWriterTest 45 EXPECT_EQ(0U, coder_.target_length()); 46 coder_.FinishEncoding(&output_string_); 48 EXPECT_EQ(0U, coder_.target_length()); 52 EXPECT_EQ(0U, coder_.target_length()); 53 coder_.Output(&output_string_); 54 coder_.FinishEncoding(&output_string_); 56 EXPECT_EQ(0U, coder_.target_length()) [all...] |
vcencoder.cc | 69 std::auto_ptr<CodeTableWriterInterface> coder_; member in class:open_vcdiff::VCDiffStreamingEncoderImpl 99 coder_.reset(new JSONCodeTableWriter()); 104 coder_.reset(new VCDiffCodeTableWriter( 111 if (!coder_->Init(engine_->dictionary_size())) { 116 coder_->WriteHeader(out, format_extensions_); 130 coder_->AddChecksum(ComputeAdler32(data, len)); 132 engine_->Encode(data, len, look_for_target_matches_, out, coder_.get()); 143 coder_->FinishEncoding(out);
|
/external/open-vcdiff/src/ |
jsonwriter_test.cc | 33 EXPECT_TRUE(coder_.Init(0)); 34 coder_.WriteHeader(&output_string_, 0); 41 JSONCodeTableWriter coder_; member in class:open_vcdiff::__anon23959::JSONWriterTest 45 EXPECT_EQ(0U, coder_.target_length()); 46 coder_.FinishEncoding(&output_string_); 48 EXPECT_EQ(0U, coder_.target_length()); 52 EXPECT_EQ(0U, coder_.target_length()); 53 coder_.Output(&output_string_); 54 coder_.FinishEncoding(&output_string_); 56 EXPECT_EQ(0U, coder_.target_length()) [all...] |
vcencoder.cc | 69 std::auto_ptr<CodeTableWriterInterface> coder_; member in class:open_vcdiff::VCDiffStreamingEncoderImpl 99 coder_.reset(new JSONCodeTableWriter()); 104 coder_.reset(new VCDiffCodeTableWriter( 111 if (!coder_->Init(engine_->dictionary_size())) { 116 coder_->WriteHeader(out, format_extensions_); 130 coder_->AddChecksum(ComputeAdler32(data, len)); 132 engine_->Encode(data, len, look_for_target_matches_, out, coder_.get()); 143 coder_->FinishEncoding(out);
|
/external/chromium/sdch/open-vcdiff/src/ |
vcencoder.cc | 66 return coder_.match_counts(); 80 VCDiffCodeTableWriter coder_; member in class:open_vcdiff::VCDiffStreamingEncoderImpl 106 coder_((format_extensions & VCD_FORMAT_INTERLEAVED) != 0), 133 if (!coder_.Init(engine_->dictionary_size())) { 152 coder_.AddChecksum(ComputeAdler32(data, len)); 154 engine_->Encode(data, len, look_for_target_matches_, out, &coder_);
|