/external/chromium/net/base/ |
H A D | sdch_filter.cc | 123 // Initialize decoder only after we have a dictionary in hand. 174 // before we *really* advertised SDCH and a dictionary. 182 // not to use sdch, even though there is a dictionary. To be 193 // We need a meta-refresh since we don't have the dictionary. 195 // cached content that was saved when we had a dictionary. 205 // Meta-refresh won't help, as we didn't advertise an SDCH dictionary!! 331 SdchManager::Dictionary* dictionary = NULL; local 335 url_, &dictionary); local 339 if (!dictionary) { 341 // Since dictionary wa [all...] |
H A D | sdch_filter_unittest.cc | 27 // Provide sample data and compression results with a sample VCDIFF dictionary. 28 // Note an SDCH dictionary has extra meta-data before the VCDIFF dictionary. 44 // Note SDCH compressed data will include a reference to the SDCH dictionary. 65 std::string NewSdchCompressedData(const std::string dictionary); 75 const std::string dictionary) { 78 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); 80 // Build compressed data that refers to our dictionary. 92 std::string dictionary("test contents"); 93 SdchManager::GenerateHash(dictionary, 74 NewSdchCompressedData( const std::string dictionary) argument 143 std::string dictionary; local [all...] |
H A D | sdch_manager.cc | 151 /* The user agent may retrieve a dictionary from the dictionary URL if all of 153 1 The dictionary URL host name matches the referrer URL host name 154 2 The dictionary URL host name domain matches the parent domain of the 158 4 The dictionary URL is not an HTTPS URL. 273 DLOG(INFO) << "Loaded dictionary with client hash " << client_hash << 275 Dictionary* dictionary = local 278 dictionary->AddRef(); 279 dictionaries_[server_hash] = dictionary; 284 const GURL& referring_url, Dictionary** dictionary) { 283 GetVcdiffDictionary(const std::string& server_hash, const GURL& referring_url, Dictionary** dictionary) argument [all...] |
/external/webkit/WebKit/win/ |
H A D | CFDictionaryPropertyBag.cpp | 53 void CFDictionaryPropertyBag::setDictionary(CFMutableDictionaryRef dictionary) argument 55 m_dictionary = dictionary; 58 CFMutableDictionaryRef CFDictionaryPropertyBag::dictionary() const function in class:CFDictionaryPropertyBag
|
H A D | WebHistoryItem.cpp | 107 HRESULT STDMETHODCALLTYPE WebHistoryItem::initFromDictionaryRepresentation(void* dictionary) argument 109 CFDictionaryRef dictionaryRef = (CFDictionaryRef) dictionary; 206 HRESULT STDMETHODCALLTYPE WebHistoryItem::dictionaryRepresentation(void** dictionary) argument 208 CFDictionaryRef* dictionaryRef = (CFDictionaryRef*) dictionary;
|
/external/zlib/ |
H A D | example.c | 34 const char dictionary[] = "hello"; variable 35 uLong dictId; /* Adler32 value of the dictionary */ 424 * Test deflate() with preset dictionary 441 (const Bytef*)dictionary, sizeof(dictionary)); 461 * Test inflate() with a preset dictionary 490 fprintf(stderr, "unexpected dictionary"); 493 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, 494 sizeof(dictionary)); 506 printf("inflate with dictionary [all...] |
/external/chromium/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 34 memcpy(const_cast<char*>(dictionary_), dictionary, dictionary_size); local 54 LOG(DFATAL) << "Creation of dictionary hash failed" << LOG_ENDL; 92 // First look for a match in the dictionary. 174 // in this same target window, as well as against the dictionary 186 // dictionary) 189 // begin a match with the dictionary or previously encoded target data.
|
H A D | vcencoder.cc | 53 VCDiffStreamingEncoderImpl(const HashedDictionary* dictionary, 85 // target data, or just within the source (dictionary) data. Please see 102 const HashedDictionary* dictionary, 105 : engine_(dictionary->engine()), 172 const HashedDictionary* dictionary, 175 : impl_(new VCDiffStreamingEncoderImpl(dictionary, 101 VCDiffStreamingEncoderImpl( const HashedDictionary* dictionary, VCDiffFormatExtensionFlags format_extensions, bool look_for_target_matches) argument 171 VCDiffStreamingEncoder( const HashedDictionary* dictionary, VCDiffFormatExtensionFlags format_extensions, bool look_for_target_matches) argument
|
H A D | vcdiffengine_test.cc | 69 // between the dictionary and target only depends on the 257 void VerifyHeaderForDictionaryAndTargetText(const char* dictionary, argument 259 ExpectByte(0x01); // Win_Indicator: VCD_SOURCE (dictionary) 260 ExpectStringLength(dictionary); 261 ExpectByte(0x00); // Source segment position: start of dictionary 570 // This test case takes a dictionary containing several instances of the string 571 // "weasel", and a target string which is identical to the dictionary 582 // dictionary and search string for the "compressible text" test. 589 // text between "weasel" strings in the dictionary and "moon-pie" 736 // compressible dictionary, whic [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
H A D | FontDatabase.cpp | 137 RetainPtr<CFMutableDictionaryRef> dictionary(AdoptCF, CFDictionaryCreateMutableCopy(kCFAllocatorDefault, 2, static_cast<CFDictionaryRef>(cgFontDBPropertyList))); 138 CFDictionarySetValue(dictionary.get(), fontFilenamesFromRegistryKey(), filenamesFromRegistry); 139 data.adoptCF(CFPropertyListCreateXMLData(kCFAllocatorDefault, dictionary.get())); 197 CFDictionaryRef dictionary = static_cast<CFDictionaryRef>(propertyList.get()); local 198 CFArrayRef array = static_cast<CFArrayRef>(CFDictionaryGetValue(dictionary, fontFilenamesFromRegistryKey()));
|
/external/webkit/WebCore/loader/archive/cf/ |
H A D | LegacyWebArchive.cpp | 182 PassRefPtr<ArchiveResource> LegacyWebArchive::createResource(CFDictionaryRef dictionary) argument 184 ASSERT(dictionary); 185 if (!dictionary) 188 CFDataRef resourceData = static_cast<CFDataRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceDataKey)); 194 CFStringRef frameName = static_cast<CFStringRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceFrameNameKey)); 200 CFStringRef mimeType = static_cast<CFStringRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceMIMETypeKey)); 206 CFStringRef url = static_cast<CFStringRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceURLKey)); 212 CFStringRef textEncoding = static_cast<CFStringRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceTextEncodingNameKey)); 220 CFDataRef resourceResponseData = static_cast<CFDataRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceResponseKey)); 227 CFStringRef resourceResponseVersion = static_cast<CFStringRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceResponseVersionKe 300 extract(CFDictionaryRef dictionary) argument [all...] |
/external/v8/src/ |
H A D | stub-cache.cc | 577 NumberDictionary* dictionary = Heap::raw_unchecked_non_monomorphic_cache(); local 578 int entry = dictionary->FindEntry(flags); 579 if (entry != -1) return dictionary->ValueAt(entry);
|
H A D | factory.cc | 696 Handle<NumberDictionary> dictionary, 699 CALL_HEAP_FUNCTION(dictionary->AtNumberPut(key, *value), NumberDictionary); 695 DictionaryAtNumberPut( Handle<NumberDictionary> dictionary, uint32_t key, Handle<Object> value) argument
|
H A D | objects.cc | 401 StringDictionary* dictionary = property_dictionary(); local 402 int entry = dictionary->FindEntry(name); 406 PropertyDetails details = dictionary->DetailsAt(entry); 418 JSGlobalPropertyCell::cast(dictionary->ValueAt(entry)); 420 dictionary->DetailsAtPut(entry, details.AsDeleted()); 422 return dictionary->DeleteProperty(entry, mode); 1423 StringDictionary* dictionary = property_dictionary(); local 1424 int old_index = dictionary->FindEntry(name); 1428 ASSERT(!dictionary->DetailsAt(old_index).IsTransition()); 1429 new_enumeration_index = dictionary 1668 NumberDictionary* dictionary = JSObject::cast(pt)->element_dictionary(); local 2312 NumberDictionary* dictionary = element_dictionary(); local 2403 NumberDictionary* dictionary = element_dictionary(); local 2743 NumberDictionary* dictionary = element_dictionary(); local 2869 NumberDictionary* dictionary = js_object->element_dictionary(); local 5144 NumberDictionary* dictionary = NumberDictionary::cast(elements()); local 5725 NumberDictionary* dictionary = NumberDictionary::cast(elms); local 5851 NumberDictionary* dictionary = element_dictionary(); local 6008 NumberDictionary* dictionary = element_dictionary(); local 6061 NumberDictionary* dictionary = NumberDictionary::cast(elements()); local 6088 NumberDictionary* dictionary = NumberDictionary::cast(elements()); local 7329 Object* dictionary = property_dictionary()->Add(name, cell, details); local [all...] |