/external/chromium/sdch/open-vcdiff/src/ |
vcdiffengine.h | 41 VCDiffEngine(const char* dictionary, size_t dictionary_size); 56 size_t dictionary_size() const { return dictionary_size_; } function in class:open_vcdiff::VCDiffEngine
|
vcdiffengine.cc | 27 VCDiffEngine::VCDiffEngine(const char* dictionary, size_t dictionary_size) 28 // If dictionary_size == 0, then dictionary could be NULL. Guard against 30 : dictionary_((dictionary_size > 0) ? new char[dictionary_size] : ""), 31 dictionary_size_(dictionary_size), 33 if (dictionary_size > 0) { 34 memcpy(const_cast<char*>(dictionary_), dictionary, dictionary_size); local 52 dictionary_size()); 177 dictionary_size());
|
vcdiff_main.cc | 230 size_t dictionary_size = 0U; local 231 if (!FileSize(dictionary_file, &dictionary_size)) { 236 dictionary_.resize(dictionary_size); 237 if (dictionary_size > 0) { 238 if (fread(&dictionary_[0], 1, dictionary_size, dictionary_file) 239 != dictionary_size) {
|
vcdecoder.cc | 342 void StartDecoding(const char* dictionary_ptr, size_t dictionary_size); 468 size_t dictionary_size() const { return dictionary_size_; } function in class:open_vcdiff::VCDiffStreamingDecoderImpl 639 size_t dictionary_size) { 649 dictionary_size_ = dictionary_size; [all...] |