/external/chromium_org/sdch/open-vcdiff/src/google/ |
H A D | 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, 157 Decode(const char* dictionary_ptr, size_t dictionary_size, const string& encoding, OutputType* target) argument
|
H A D | vcencoder.h | 41 size_t dictionary_size); 110 // HashedDictionary hd(dictionary, dictionary_size); 211 VCDiffEncoder(const char* dictionary_contents, size_t dictionary_size) argument 212 : dictionary_(dictionary_contents, dictionary_size),
|
/external/chromium_org/sdch/open-vcdiff/src/ |
H A D | vcdiffengine.cc | 27 VCDiffEngine::VCDiffEngine(const char* dictionary, size_t dictionary_size) argument 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()); 174 dictionary_size());
|
H A D | blockhash.cc | 82 size_t dictionary_size) { 84 dictionary_size, 96 size_t dictionary_size) { 99 static_cast<int>(dictionary_size)); 109 size_t BlockHash::CalcTableSize(const size_t dictionary_size) { argument 115 const size_t min_size = (dictionary_size / sizeof(int)) + 1; // NOLINT 123 VCD_DFATAL << "Internal error: CalcTableSize(dictionary_size = " 124 << dictionary_size 132 VCD_DFATAL << "Internal error: CalcTableSize(dictionary_size = " 133 << dictionary_size 81 CreateDictionaryHash(const char* dictionary_data, size_t dictionary_size) argument 94 CreateTargetHash(const char* target_data, size_t target_size, size_t dictionary_size) argument [all...] |
H A D | codetablewriter_interface.h | 50 virtual bool Init(size_t dictionary_size) = 0;
|
H A D | 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
|
H A D | 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
|
H A D | vcencoder.cc | 43 size_t dictionary_size) 44 : engine_(new VCDiffEngine(dictionary_contents, dictionary_size)) { } 111 if (!coder_->Init(engine_->dictionary_size())) { 42 HashedDictionary(const char* dictionary_contents, size_t dictionary_size) argument
|
H A D | jsonwriter.h | 47 virtual bool Init(size_t dictionary_size);
|
H A D | vcdiff_main.cc | 231 size_t dictionary_size = 0U; local 232 if (!FileSize(dictionary_file, &dictionary_size)) { 237 dictionary_.resize(dictionary_size); 238 if (dictionary_size > 0) { 239 if (fread(&dictionary_[0], 1, dictionary_size, dictionary_file) 240 != dictionary_size) {
|
H A D | encodetable.h | 83 virtual bool Init(size_t dictionary_size);
|
H A D | vcdecoder.cc | 335 void StartDecoding(const char* dictionary_ptr, size_t dictionary_size); 461 size_t dictionary_size() const { return dictionary_size_; } function in class:open_vcdiff::VCDiffStreamingDecoderImpl 640 size_t dictionary_size) { 650 dictionary_size_ = dictionary_size; 1055 parent_->dictionary_size(), 1403 size_t dictionary_size, 1407 decoder_.StartDecoding(dictionary_ptr, dictionary_size); 639 StartDecoding(const char* dictionary_ptr, size_t dictionary_size) argument 1402 DecodeToInterface(const char* dictionary_ptr, size_t dictionary_size, const string& encoding, OutputStringInterface* target) argument
|
H A D | encodetable.cc | 103 bool VCDiffCodeTableWriter::Init(size_t dictionary_size) { argument 104 dictionary_size_ = dictionary_size;
|
H A D | headerparser.cc | 206 size_t dictionary_size, 219 return ParseSourceSegmentLengthAndPosition(dictionary_size, 205 ParseWinIndicatorAndSourceSegment( size_t dictionary_size, size_t decoded_target_size, bool allow_vcd_target, unsigned char* win_indicator, size_t* source_segment_length, size_t* source_segment_position) argument
|
H A D | headerparser.h | 251 // dictionary_size: The size of the dictionary (source) file. Used to 268 bool ParseWinIndicatorAndSourceSegment(size_t dictionary_size,
|
H A D | vcdiffengine_test.cc | 321 coder.Init(engine_.dictionary_size()); 330 coder.Init(engine_.dictionary_size()); 618 coder.Init(engine_.dictionary_size());
|
/external/chromium_org/net/spdy/ |
H A D | spdy_framer.cc | 27 const size_t dictionary_size) { 31 dictionary_size); 3015 const int dictionary_size = (protocol_version() <= SPDY2) ? local 3019 dictionary_size); 3104 const int dictionary_size = (protocol_version() <= SPDY2) ? local 3113 dictionary_size); 26 CalculateDictionaryId(const char* dictionary, const size_t dictionary_size) argument
|
/external/chromium_org/v8/src/ |
H A D | objects.cc | 12967 int dictionary_size = SeededNumberDictionary::ComputeCapacity(used_elements) * local 12969 return 3 * dictionary_size <= new_capacity; 13003 uint32_t dictionary_size = static_cast<uint32_t>(dictionary->Capacity()) * local 13005 return 2 * dictionary_size >= array_size;
|