Searched defs:dictionary (Results 1 - 25 of 67) sorted by relevance

123

/external/chromium/chrome/browser/ui/webui/
H A Dvalue_helper.cc12 DictionaryValue* dictionary) {
20 NewTabUI::SetURLTitleAndDirection(dictionary, current_navigation.title(),
22 dictionary->SetString("type", "tab");
23 dictionary->SetDouble("timestamp", tab.timestamp.ToDoubleT());
29 DictionaryValue* dictionary) {
42 dictionary->SetString("type", "window");
43 dictionary->SetDouble("timestamp", window.timestamp.ToDoubleT());
44 dictionary->Set("tabs", tab_values.release());
10 TabToValue( const TabRestoreService::Tab& tab, DictionaryValue* dictionary) argument
27 WindowToValue( const TabRestoreService::Window& window, DictionaryValue* dictionary) argument
H A Dforeign_session_handler.cc198 DictionaryValue* dictionary) {
210 NewTabUI::SetURLTitleAndDirection(dictionary, current_navigation.title(),
212 dictionary->SetString("type", "tab");
213 dictionary->SetDouble("timestamp",
215 dictionary->SetInteger("sessionId", tab.tab_id.id());
221 DictionaryValue* dictionary) {
234 dictionary->SetString("type", "window");
235 dictionary->SetDouble("timestamp",
237 dictionary->SetInteger("sessionId", window.window_id.id());
238 dictionary
196 SessionTabToValue( const SessionTab& tab, DictionaryValue* dictionary) argument
219 SessionWindowToValue( const SessionWindow& window, DictionaryValue* dictionary) argument
[all...]
/external/clang/test/PCH/
H A Dobjc_container.h19 NSMutableDictionary *dictionary; local
22 oldObject = dictionary[key];
24 dictionary[key] = newObject;
/external/webkit/Source/WebCore/platform/graphics/win/
H A DQTCFDictionary.cpp49 CFDictionaryRef QTCFDictionaryCreateCopyWithDataCallback(CFAllocatorRef allocator, CFDictionaryRef dictionary, QTCFDictonaryCreateFromDataCallback callback) argument
51 ASSERT(dictionary);
54 CFDataRef data = QTCFPropertyListCreateXMLData(kCFAllocatorDefault, dictionary);
/external/webkit/Source/WebKit2/Shared/API/c/
H A DWKMutableDictionary.cpp36 RefPtr<MutableDictionary> dictionary = MutableDictionary::create(); local
37 return toAPI(dictionary.release().releaseRef());
/external/chromium/chrome/browser/ui/webui/options/
H A Dlanguage_options_handler_common.cc121 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;
H A Dlanguage_options_handler.cc89 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/webkit/Source/WebKit2/Shared/win/
H A DWebCoreArgumentCodersWin.cpp49 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
[all...]
/external/chromium/chrome/browser/extensions/
H A Dtest_extension_prefs.cc98 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/printing/cloud_print/
H A Dcloud_print_setup_source.cc33 // Utility method to keep dictionary population code streamlined.
34 void AddString(DictionaryValue* dictionary, argument
37 dictionary->SetString(key, l10n_util::GetStringUTF16(resource_id));
/external/chromium/chrome/common/extensions/
H A Dextension_message_bundle.h35 // 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.
H A Dextension_l10n_util.cc249 Value *dictionary = messages_serializer.Deserialize(NULL, error); local
250 if (!dictionary && error->empty()) {
257 return static_cast<DictionaryValue*>(dictionary);
/external/chromium/net/base/
H A Dsdch_filter.cc126 // 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!!
338 SdchManager::Dictionary* dictionary = NULL; local
342 url_, &dictionary); local
346 if (!dictionary) {
348 // Since dictionary wa
[all...]
/external/webkit/Source/WebKit/win/
H A DCFDictionaryPropertyBag.cpp53 void CFDictionaryPropertyBag::setDictionary(CFMutableDictionaryRef dictionary) argument
55 m_dictionary = dictionary;
58 CFMutableDictionaryRef CFDictionaryPropertyBag::dictionary() const function in class:CFDictionaryPropertyBag
/external/webkit/Source/WebKit2/UIProcess/cf/
H A DWebBackForwardListCF.cpp89 bool WebBackForwardList::restoreFromCFDictionaryRepresentation(CFDictionaryRef dictionary) argument
91 CFNumberRef cfIndex = (CFNumberRef)CFDictionaryGetValue(dictionary, SessionHistoryCurrentIndexKey());
93 LOG(SessionState, "WebBackForwardList dictionary representation does not have a valid current index");
99 LOG(SessionState, "WebBackForwardList dictionary representation does not have a valid integer current index");
103 CFArrayRef cfEntries = (CFArrayRef)CFDictionaryGetValue(dictionary, SessionHistoryEntriesKey());
105 LOG(SessionState, "WebBackForwardList dictionary representation does not have a valid list of entries");
111 LOG(SessionState, "WebBackForwardList dictionary representation contains an invalid current index (%ld) for the number of entries (%ld)", currentIndex, size);
116 LOG(SessionState, "WebBackForwardList dictionary representation says there is no current item index, but there is a list of %ld entries - this is bogus", size);
/external/chromium/chrome/browser/geolocation/
H A Dgeolocation_content_settings_map.cc240 const DictionaryValue* dictionary,
242 for (DictionaryValue::key_iterator i(dictionary->begin_keys());
243 i != dictionary->end_keys(); ++i) {
246 bool found = dictionary->GetIntegerWithoutPathExpansion(target, &setting);
239 GetOneOriginSettingsFromDictionary( const DictionaryValue* dictionary, OneOriginSettings* one_origin_settings) argument
/external/chromium/chrome/browser/importer/
H A Dfirefox_proxy_settings.cc164 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
[all...]
/external/chromium/chrome/browser/ui/views/
H A Dchrome_views_delegate.cc90 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/chromeos/
H A Dcros_language_options_handler.cc97 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
[all...]
/external/chromium/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
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 Dvcencoder.cc53 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
/external/webkit/Source/WebKit2/Shared/
H A DUserMessageCoders.h81 ImmutableDictionary* dictionary = static_cast<ImmutableDictionary*>(m_root); local
82 const ImmutableDictionary::MapType& map = dictionary->map();
/external/zlib/test/
H A Dexample.c34 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
[all...]
/external/chromium/chrome/browser/diagnostics/
H A Drecon_diagnostics.cc91 DictionaryValue* dictionary; local
93 if (!list->GetDictionary(i, &dictionary))
98 if (!dictionary->GetInteger("status", &status))
103 if (!dictionary->GetString("location", &location)) {
107 if (!dictionary->GetString("name", &name)) {
/external/chromium/chrome/browser/ui/webui/chromeos/
H A Denterprise_enrollment_ui.cc74 // Saves i18n string for |resource_id| to the |key| property of |dictionary|.
75 static void AddString(DictionaryValue* dictionary,
78 static void AddString(DictionaryValue* dictionary,
260 void EnterpriseEnrollmentDataSource::AddString(DictionaryValue* dictionary, argument
263 dictionary->SetString(key, l10n_util::GetStringUTF16(resource_id));
266 void EnterpriseEnrollmentDataSource::AddString(DictionaryValue* dictionary, argument
270 dictionary->SetString(key, l10n_util::GetStringFUTF16(resource_id, arg1));

Completed in 7799 milliseconds

123