/external/clang/test/PCH/ |
objc_container.h | 19 NSMutableDictionary *dictionary; local 22 oldObject = dictionary[key]; 24 dictionary[key] = newObject;
|
/external/webkit/Source/WebKit2/Shared/API/c/ |
WKMutableDictionary.cpp | 36 RefPtr<MutableDictionary> dictionary = MutableDictionary::create(); local 37 return toAPI(dictionary.release().releaseRef());
|
/external/webkit/Source/WebKit2/Shared/win/ |
WebCoreArgumentCodersWin.cpp | 49 RetainPtr<CFDictionaryRef> dictionary(AdoptCF, wkCFURLRequestCreateSerializableRepresentation(resourceRequest.cfURLRequest(), CoreIPC::tokenNullTypeRef())); 50 encode(encoder, dictionary.get()); 66 RetainPtr<CFDictionaryRef> dictionary; local 67 if (!decode(decoder, dictionary)) 70 CFURLRequestRef cfURLRequest = wkCFURLRequestCreateFromSerializableRepresentation(dictionary.get(), CoreIPC::tokenNullTypeRef()); 90 RetainPtr<CFDictionaryRef> dictionary(AdoptCF, wkCFURLResponseCreateSerializableRepresentation(resourceResponse.cfURLResponse(), CoreIPC::tokenNullTypeRef())); 91 encode(encoder, dictionary.get()); 107 RetainPtr<CFDictionaryRef> dictionary; local 108 if (!decode(decoder, dictionary)) 111 CFURLResponseRef cfURLResponse = wkCFURLResponseCreateFromSerializableRepresentation(dictionary.get(), CoreIPC::tokenNullTypeRef()) [all...] |
/libcore/luni/src/main/native/ |
ZipUtilities.h | 59 const Bytef* dictionary = reinterpret_cast<const Bytef*>(&dictionaryBytes[0]); local 62 err = inflateSetDictionary(&stream, dictionary, len); 64 err = deflateSetDictionary(&stream, dictionary, len);
|
/external/chromium/chrome/browser/extensions/ |
test_extension_prefs.cc | 98 DictionaryValue dictionary; local 99 dictionary.SetString(extension_manifest_keys::kName, name); 100 dictionary.SetString(extension_manifest_keys::kVersion, "0.1"); 101 return AddExtensionWithManifest(dictionary, Extension::INTERNAL);
|
/external/chromium/chrome/browser/ui/views/ |
chrome_views_delegate.cc | 90 const DictionaryValue* dictionary = local 93 if (!dictionary || !dictionary->GetInteger("left", &left) || 94 !dictionary->GetInteger("top", &top) || 95 !dictionary->GetInteger("right", &right) || 96 !dictionary->GetInteger("bottom", &bottom)) 112 const DictionaryValue* dictionary = local 115 return dictionary && dictionary->GetBoolean("maximized", maximized) &&
|
/external/chromium/chrome/browser/ui/webui/options/ |
language_options_handler_common.cc | 121 DictionaryValue* dictionary = new DictionaryValue(); local 125 dictionary->SetBoolean(available_locales[i], true); 127 return dictionary; 131 DictionaryValue* dictionary = new DictionaryValue(); local 135 dictionary->SetBoolean(spell_check_languages[i], true); 137 return dictionary;
|
language_options_handler.cc | 89 DictionaryValue* dictionary = new DictionaryValue(); local 90 dictionary->SetString("code", pair.first); 91 dictionary->SetString("displayName", display_names[i]); 92 dictionary->SetString("nativeDisplayName", pair.second); 93 language_list->Append(dictionary);
|
/external/chromium/net/base/ |
sdch_filter.cc | 126 // Initialize decoder only after we have a dictionary in hand. 181 // before we *really* advertised SDCH and a dictionary. 189 // not to use sdch, even though there is a dictionary. To be 200 // We need a meta-refresh since we don't have the dictionary. 202 // cached content that was saved when we had a dictionary. 212 // Meta-refresh won't help, as we didn't advertise an SDCH dictionary!! 315 const size_t kServerIdLength = 9; // Dictionary hash plus null from server. 338 SdchManager::Dictionary* dictionary = NULL; local 342 url_, &dictionary); local [all...] |
sdch_filter_unittest.cc | 29 // Provide sample data and compression results with a sample VCDIFF dictionary. 30 // Note an SDCH dictionary has extra meta-data before the VCDIFF dictionary. 46 // Note SDCH compressed data will include a reference to the SDCH dictionary. 67 std::string NewSdchCompressedData(const std::string dictionary); 77 const std::string dictionary) { 80 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); 82 // Build compressed data that refers to our dictionary. 94 std::string dictionary("test contents"); 95 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash) 145 std::string dictionary; local [all...] |
sdch_manager.cc | 29 SdchManager::Dictionary::Dictionary(const std::string& dictionary_text, 46 SdchManager::Dictionary::~Dictionary() { 49 bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) { 52 /* The specific rules of when a dictionary should be advertised in an 53 Avail-Dictionary header are modeled after the rules for cookie scoping. The 55 dictionary may be advertised in the Avail-Dictionaries header exactly when 58 the dictionary. 59 2. If the dictionary has a Port attribute, the request port is one of th 454 Dictionary* dictionary = local [all...] |
/external/webkit/Source/WebKit/win/ |
CFDictionaryPropertyBag.cpp | 53 void CFDictionaryPropertyBag::setDictionary(CFMutableDictionaryRef dictionary) 55 m_dictionary = dictionary; 58 CFMutableDictionaryRef CFDictionaryPropertyBag::dictionary() const function in class:CFDictionaryPropertyBag
|
/external/chromium/chrome/common/extensions/ |
extension_message_bundle.h | 35 // Reserved message names in the dictionary. 70 const SubstitutionMap& dictionary); 78 // dictionary. 80 // Static version that accepts dictionary. 82 const SubstitutionMap& dictionary, std::string* text, std::string* error); 100 const SubstitutionMap* dictionary() const { return &dictionary_; } function in class:ExtensionMessageBundle 117 // Appends locale specific reserved messages to the dictionary.
|
extension_l10n_util.cc | 249 Value *dictionary = messages_serializer.Deserialize(NULL, error); local 250 if (!dictionary && error->empty()) { 257 return static_cast<DictionaryValue*>(dictionary);
|
/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 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.
|
/external/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 34 memcpy(const_cast<char*>(dictionary_), dictionary, dictionary_size); local 54 VCD_DFATAL << "Creation of dictionary hash failed" << VCD_ENDL; 89 // First look for a match in the dictionary. 171 // in this same target window, as well as against the dictionary 183 // dictionary) 186 // begin a match with the dictionary or previously encoded target data.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AutoCorrection.java | 35 public static boolean isValidWord(final ConcurrentHashMap<String, Dictionary> dictionaries, 42 final Dictionary dictionary = dictionaries.get(key); local 43 // It's unclear how realistically 'dictionary' can be null, but the monkey is somehow 45 // no main dictionary and the monkey manages to type a whole word before the thread 46 // that reads the dictionary is started or something? 50 if (null == dictionary) continue; 51 if (dictionary.isValidWord(word) 52 || (ignoreCase && dictionary.isValidWord(lowerCasedWord))) { 59 public static int getMaxFrequency(final ConcurrentHashMap<String, Dictionary> dictionaries 66 final Dictionary dictionary = dictionaries.get(key); local [all...] |
Suggest.java | 34 * This class loads a dictionary and provides a list of suggestions for a given sequence of 59 private Dictionary mMainDictionary; 61 private final ConcurrentHashMap<String, Dictionary> mDictionaries = 80 Suggest(final File dictionary, final long startOffset, final long length, final Locale locale) { 81 final Dictionary mainDict = DictionaryFactory.createDictionaryForTest(dictionary, 85 addOrReplaceDictionary(mDictionaries, Dictionary.TYPE_MAIN, mainDict); 94 final ConcurrentHashMap<String, Dictionary> dictionaries, 95 final String key, final Dictionary dict) { 96 final Dictionary oldDict = (dict == null 214 final Dictionary dictionary = mDictionaries.get(key); local 317 final Dictionary dictionary = mDictionaries.get(key); local [all...] |
/external/chromium/chrome/browser/importer/ |
firefox_proxy_settings.cc | 164 DictionaryValue dictionary; local 165 if (!ParsePrefFile(pref_file, &dictionary)) 169 if (!dictionary.GetInteger(kNetworkProxyTypeKey, &proxy_type)) 174 if (!dictionary.GetStringASCII(kAutoconfigURL, 182 if (!dictionary.GetStringASCII(kHTTPProxyKey, &(settings->http_proxy_))) 184 if (!dictionary.GetInteger(kHTTPProxyPortKey, 188 if (!dictionary.GetStringASCII(kSSLProxyKey, &(settings->ssl_proxy_))) 190 if (!dictionary.GetInteger(kSSLProxyPortKey, &(settings->ssl_proxy_port_))) 192 if (!dictionary.GetStringASCII(kFTPProxyKey, &(settings->ftp_proxy_))) 194 if (!dictionary.GetInteger(kFTPProxyPortKey, &(settings->ftp_proxy_port_)) [all...] |
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
cros_language_options_handler.cc | 97 DictionaryValue* dictionary = new DictionaryValue(); local 98 dictionary->SetString("id", descriptor.id); 99 dictionary->SetString("displayName", display_name); 102 // we use a dictionary here. 117 dictionary->Set("languageCodeSet", language_codes); 119 input_method_list->Append(dictionary); 174 DictionaryValue* dictionary = new DictionaryValue(); local 175 dictionary->SetString("code", pair.first); 176 dictionary->SetString("displayName", display_names[i]); 177 dictionary->SetString("nativeDisplayName", pair.second) [all...] |
/external/webkit/Source/WebKit2/Shared/ |
UserMessageCoders.h | 48 // - Dictionary -> Dictionary 81 ImmutableDictionary* dictionary = static_cast<ImmutableDictionary*>(m_root); local 82 const ImmutableDictionary::MapType& map = dictionary->map(); 174 // - Dictionary -> Dictionary
|
/external/zlib/src/test/ |
example.c | 34 const char dictionary[] = "hello"; variable 35 uLong dictId; /* Adler32 value of the dictionary */ 455 * Test deflate() with preset dictionary 472 (const Bytef*)dictionary, (int)sizeof(dictionary)); 492 * Test inflate() with a preset dictionary 521 fprintf(stderr, "unexpected dictionary"); 524 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, 525 (int)sizeof(dictionary)); 537 printf("inflate with dictionary: %s\n", (char *)uncompr) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
MainLogBuffer.java | 22 import com.android.inputmethod.latin.Dictionary; 33 * There are three forms of privacy protection: 1) only words in the main dictionary are allowed to 54 * If the words that would form the valid n-gram are not in the dictionary, then words are pushed 56 * dictionary words. 59 * n-gram containing dictionary words. 69 // TODO: Remove dependence on Suggest, and pass in Dictionary as a parameter to an appropriate 73 private Dictionary mDictionaryForTesting; 91 /* package for test */ void setDictionaryForTesting(final Dictionary dictionary) { 92 mDictionaryForTesting = dictionary; 142 final Dictionary dictionary = getDictionary(); local [all...] |
/external/chromium/chrome/browser/diagnostics/ |
recon_diagnostics.cc | 91 DictionaryValue* dictionary; local 93 if (!list->GetDictionary(i, &dictionary)) 94 RecordFailure(ASCIIToUTF16("Dictionary lookup failed")); 98 if (!dictionary->GetInteger("status", &status)) 103 if (!dictionary->GetString("location", &location)) { 107 if (!dictionary->GetString("name", &name)) {
|
/external/v8/test/mjsunit/ |
elements-kind.js | 49 dictionary : 'dictionary elements', 65 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 132 assertKind(elements_kind.dictionary, new Array(0xDECAF));
|