Searched refs:dictionary_size (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/sdch/open-vcdiff/src/google/
H A Dvcdecoder.h36 // 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 Dvcencoder.h41 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 Dvcdiffengine.cc27 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 Dblockhash.cc82 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 Dcodetablewriter_interface.h50 virtual bool Init(size_t dictionary_size) = 0;
H A Dvcdiffengine.h41 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 Dblockhash.h169 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 Dvcencoder.cc43 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 Djsonwriter.h47 virtual bool Init(size_t dictionary_size);
H A Dvcdiff_main.cc231 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 Dencodetable.h83 virtual bool Init(size_t dictionary_size);
H A Dvcdecoder.cc335 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 Dencodetable.cc103 bool VCDiffCodeTableWriter::Init(size_t dictionary_size) { argument
104 dictionary_size_ = dictionary_size;
H A Dheaderparser.cc206 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 Dheaderparser.h251 // dictionary_size: The size of the dictionary (source) file. Used to
268 bool ParseWinIndicatorAndSourceSegment(size_t dictionary_size,
H A Dvcdiffengine_test.cc321 coder.Init(engine_.dictionary_size());
330 coder.Init(engine_.dictionary_size());
618 coder.Init(engine_.dictionary_size());
/external/chromium_org/net/spdy/
H A Dspdy_framer.cc27 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 Dobjects.cc12967 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;

Completed in 232 milliseconds