/external/chromium/sdch/open-vcdiff/src/ |
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());
|
blockhash.cc | 81 size_t dictionary_size) { 83 dictionary_size, 95 size_t dictionary_size) { 98 static_cast<int>(dictionary_size)); 108 size_t BlockHash::CalcTableSize(const size_t dictionary_size) { 114 const size_t min_size = (dictionary_size / sizeof(int)) + 1; // NOLINT 122 LOG(DFATAL) << "Internal error: CalcTableSize(dictionary_size = " 123 << dictionary_size 131 LOG(DFATAL) << "Internal error: CalcTableSize(dictionary_size = " 132 << dictionary_size [all...] |
vcencoder.cc | 42 size_t dictionary_size) 43 : engine_(new VCDiffEngine(dictionary_contents, dictionary_size)) { } 133 if (!coder_.Init(engine_->dictionary_size())) {
|
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
|
headerparser.cc | 206 size_t dictionary_size, 219 return ParseSourceSegmentLengthAndPosition(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) {
|
blockhash.h | 169 size_t dictionary_size); 172 size_t dictionary_size); 333 // the dictionary_size. Will return a power of two if successful, or 0 if an 336 static size_t CalcTableSize(const size_t dictionary_size); 488 // has an offset that is equal to dictionary_size, i.e., just after
|
encodetable.cc | 87 bool VCDiffCodeTableWriter::Init(size_t dictionary_size) { 88 dictionary_size_ = 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...] |
headerparser.h | 251 // dictionary_size: The size of the dictionary (source) file. Used to 268 bool ParseWinIndicatorAndSourceSegment(size_t dictionary_size,
|
vcdiffengine_test.cc | 342 coder.Init(engine_.dictionary_size()); 352 coder.Init(engine_.dictionary_size()); 641 coder.Init(engine_.dictionary_size()); [all...] |
encodetable.h | 84 bool Init(size_t dictionary_size);
|
blockhash_test.cc | [all...] |
/external/chromium/sdch/open-vcdiff/src/google/ |
vcdecoder.h | 36 // v.StartDecoding(dictionary_ptr, dictionary_size); 59 // Resets the dictionary contents to "dictionary_ptr[0,dictionary_size-1]" 64 void StartDecoding(const char* dictionary_ptr, size_t dictionary_size); 158 size_t dictionary_size, 163 dictionary_size, 170 size_t dictionary_size,
|
vcencoder.h | 71 size_t dictionary_size); 140 // HashedDictionary hd(dictionary, dictionary_size); 247 VCDiffEncoder(const char* dictionary_contents, size_t dictionary_size) 248 : dictionary_(dictionary_contents, dictionary_size),
|