Searched refs:HashedDictionary (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/sdch/open-vcdiff/src/google/
H A Dvcencoder.h28 // A HashedDictionary must be constructed from the dictionary data
31 // create the HashedDictionary once and cache it for reuse. This object
32 // is thread-safe: the same const HashedDictionary can be used
35 // dictionary_contents is copied into the HashedDictionary, so the
38 class HashedDictionary { class in namespace:open_vcdiff
40 HashedDictionary(const char* dictionary_contents,
42 ~HashedDictionary();
44 // Init() must be called before using the HashedDictionary as an argument
58 HashedDictionary(const HashedDictionary
[all...]
/external/chromium_org/sdch/open-vcdiff/src/
H A Dvcencoder.cc42 HashedDictionary::HashedDictionary(const char* dictionary_contents, function in class:open_vcdiff::HashedDictionary
46 HashedDictionary::~HashedDictionary() { delete engine_; }
48 bool HashedDictionary::Init() {
54 VCDiffStreamingEncoderImpl(const HashedDictionary* dictionary,
91 const HashedDictionary* dictionary,
148 const HashedDictionary* dictionary,
180 VCD_ERROR << "Error initializing HashedDictionary" << VCD_ENDL;
H A Dvcencoder_test.cc133 HashedDictionary hashed_dictionary_;
182 HashedDictionary nothing_dictionary("", 0);
198 HashedDictionary nothing_dictionary("", 0);
210 HashedDictionary null_dictionary(NULL, 0);
475 // Verify that HashedDictionary stores a copy of the dictionary text,
477 // is overwritten after creating a HashedDictionary from it, it shouldn't
478 // affect an encoder that uses that HashedDictionary.
481 HashedDictionary hd_copy(dictionary_copy.data(), dictionary_copy.size());
521 HashedDictionary embedded_null_dictionary(embedded_null_dictionary_text,
553 HashedDictionary embedded_null_dictionar
[all...]
H A Dvcdiff_main.cc157 std::auto_ptr<open_vcdiff::HashedDictionary> hashed_dictionary_;
381 hashed_dictionary_.reset(new open_vcdiff::HashedDictionary("", 0));
384 new open_vcdiff::HashedDictionary(&dictionary_[0],
/external/chromium_org/chrome/browser/net/
H A Dsdch_browsertest.cc150 open_vcdiff::HashedDictionary vcdiff_dictionary(

Completed in 203 milliseconds