Searched refs:HashedDictionary (Results 1 - 12 of 12) 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/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/sdch/open-vcdiff/src/google/
H A Dvcencoder.h58 // A HashedDictionary must be constructed from the dictionary data
61 // create the HashedDictionary once and cache it for reuse. This object
62 // is thread-safe: the same const HashedDictionary can be used
65 // dictionary_contents is copied into the HashedDictionary, so the
68 class HashedDictionary { class in namespace:open_vcdiff
70 HashedDictionary(const char* dictionary_contents,
72 ~HashedDictionary();
74 // Init() must be called before using the HashedDictionary as an argument
88 HashedDictionary(const HashedDictionary
[all...]
/external/chromium/sdch/open-vcdiff/src/
H A Dvcencoder.cc41 HashedDictionary::HashedDictionary(const char* dictionary_contents, function in class:open_vcdiff::HashedDictionary
45 HashedDictionary::~HashedDictionary() { delete engine_; }
47 bool HashedDictionary::Init() {
53 VCDiffStreamingEncoderImpl(const HashedDictionary* dictionary,
102 const HashedDictionary* dictionary,
172 const HashedDictionary* dictionary,
213 LOG(ERROR) << "Error initializing HashedDictionary" << LOG_ENDL;
H A Dvcencoder_test.cc128 HashedDictionary hashed_dictionary_;
167 HashedDictionary nothing_dictionary("", 0);
184 HashedDictionary null_dictionary(NULL, 0);
410 // Verify that HashedDictionary stores a copy of the dictionary text,
412 // is overwritten after creating a HashedDictionary from it, it shouldn't
413 // affect an encoder that uses that HashedDictionary.
416 HashedDictionary hd_copy(dictionary_copy.data(), dictionary_copy.size());
456 HashedDictionary embedded_null_dictionary(embedded_null_dictionary_text,
488 HashedDictionary embedded_null_dictionary(embedded_null_dictionary_text,
524 HashedDictionary wchar_dictionar
[all...]
H A Dvcdiff_main.cc156 std::auto_ptr<open_vcdiff::HashedDictionary> hashed_dictionary_;
380 hashed_dictionary_.reset(new open_vcdiff::HashedDictionary("", 0));
383 new open_vcdiff::HashedDictionary(&dictionary_[0],
/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/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],

Completed in 1703 milliseconds