Searched refs:encoder_ (Results 1 – 3 of 3) sorted by relevance
/external/chromium/sdch/open-vcdiff/src/ |
D | vcencoder_test.cc | 129 VCDiffStreamingEncoder encoder_; member in open_vcdiff::__anon3790d69c0111::VCDiffEncoderTest 151 encoder_(&hashed_dictionary_, in VCDiffEncoderTest() 159 EXPECT_FALSE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); in TEST_F() 163 EXPECT_FALSE(encoder_.FinishEncoding(delta())); in TEST_F() 240 EXPECT_TRUE(encoder_.StartEncoding(delta())); in TEST_F() 241 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), delta())); in TEST_F() 242 EXPECT_TRUE(encoder_.FinishEncoding(delta())); in TEST_F() 255 EXPECT_TRUE(encoder_.StartEncoding(&delta_start)); in TEST_F() 256 EXPECT_TRUE(encoder_.EncodeChunk(kTarget, strlen(kTarget), &delta_encode)); in TEST_F() 257 EXPECT_TRUE(encoder_.FinishEncoding(&delta_finish)); in TEST_F() [all …]
|
D | vcencoder.cc | 211 if (!encoder_) { in EncodeToInterface() 216 encoder_ = new VCDiffStreamingEncoder(&dictionary_, in EncodeToInterface() 220 if (!encoder_->StartEncodingToInterface(out)) { in EncodeToInterface() 223 if (!encoder_->EncodeChunkToInterface(target_data, target_len, out)) { in EncodeToInterface() 226 return encoder_->FinishEncodingToInterface(out); in EncodeToInterface()
|
/external/chromium/sdch/open-vcdiff/src/google/ |
D | vcencoder.h | 249 encoder_(NULL), in VCDiffEncoder() 254 delete encoder_; in ~VCDiffEncoder() local 286 VCDiffStreamingEncoder* encoder_; variable
|