Home
last modified time | relevance | path

Searched refs:dict_ (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/components/autofill/content/browser/wallet/
Dwallet_address_unittest.cc225 dict_.reset(static_cast<base::DictionaryValue*>(value.release())); in SetUpDictionary()
228 scoped_ptr<const base::DictionaryValue> dict_; member in autofill::wallet::WalletAddressTest
334 EXPECT_EQ(address, *Address::CreateAddress(*dict_)); in TEST_F()
339 EXPECT_EQ(NULL, Address::CreateAddressWithID(*dict_).get()); in TEST_F()
344 EXPECT_EQ(NULL, Address::CreateAddress(*dict_).get()); in TEST_F()
345 EXPECT_EQ(NULL, Address::CreateAddressWithID(*dict_).get()); in TEST_F()
350 EXPECT_EQ(NULL, Address::CreateAddress(*dict_).get()); in TEST_F()
351 EXPECT_EQ(NULL, Address::CreateAddressWithID(*dict_).get()); in TEST_F()
356 EXPECT_EQ(NULL, Address::CreateAddress(*dict_).get()); in TEST_F()
357 EXPECT_EQ(NULL, Address::CreateAddressWithID(*dict_).get()); in TEST_F()
[all …]
/external/chromium_org/extensions/common/
Dvalue_builder.cc11 DictionaryBuilder::DictionaryBuilder() : dict_(new base::DictionaryValue) {} in DictionaryBuilder()
14 : dict_(init.DeepCopy()) {} in DictionaryBuilder()
20 dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); in Set()
26 dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); in Set()
32 dict_->SetWithoutPathExpansion(path, new base::StringValue(in_value)); in Set()
38 dict_->SetWithoutPathExpansion(path, new base::StringValue(in_value)); in Set()
44 dict_->SetWithoutPathExpansion(path, in_value.Build().release()); in Set()
50 dict_->SetWithoutPathExpansion(path, in_value.Build().release()); in Set()
56 dict_->SetWithoutPathExpansion(path, new base::FundamentalValue(in_value)); in SetBoolean()
Dvalue_builder.h57 scoped_ptr<base::DictionaryValue> Build() { return dict_.Pass(); } in Build()
72 scoped_ptr<base::DictionaryValue> dict_;
/external/chromium_org/chrome/browser/prefs/
Dproxy_config_dictionary.cc33 : dict_(dict->DeepCopy()) { in ProxyConfigDictionary()
40 return dict_->GetString(kProxyMode, &mode_str) in GetMode()
45 return dict_->GetString(kProxyPacUrl, out); in GetPacUrl()
49 if (!dict_->HasKey(kProxyPacMandatory)) { in GetPacMandatory()
53 return dict_->GetBoolean(kProxyPacMandatory, out); in GetPacMandatory()
57 return dict_->GetString(kProxyServer, out); in GetProxyServer()
61 return dict_->GetString(kProxyBypassList, out); in GetBypassList()
65 return dict_->HasKey(kProxyBypassList); in HasBypassList()
69 return *dict_; in GetDictionary()
Dproxy_config_dictionary.h58 scoped_ptr<base::DictionaryValue> dict_; variable
/external/chromium_org/chrome/common/extensions/docs/server2/
Djsc_view_test.py121 dict_ = JSCView(self._api_models.GetContentScriptAPIs().Get(),
129 self.assertEquals('type-TypeA', dict_['types'][0]['id'])
131 dict_['types'][0]['properties'][0]['id'])
132 self.assertEquals('method-get', dict_['functions'][0]['id'])
133 self.assertEquals('event-EventA', dict_['events'][0]['id'])
139 dict_ = JSCView(self._api_models.GetContentScriptAPIs().Get(),
147 self.assertEquals(expected_json, dict_)
151 dict_ = JSCView(self._api_models.GetContentScriptAPIs().Get(),
161 self.assertEquals('add_rules_tester', dict_['name'])
162 self.assertEquals('rules', dict_['events'][0]['name'])
[all …]
Dsamples_data_source.py30 for dict_ in samples_list:
31 name = dict_['name']
32 description = dict_['description']
38 sample_data = dict_.copy()
53 sample_data = dict_
56 dict_['id'] = _GetSampleId(name)
57 return_list.append(dict_)
Dchroot_file_system_test.py13 def _SortListValues(dict_): argument
14 for value in dict_.itervalues():
17 return dict_
Dservlet.py10 def __init__(self, dict_): argument
11 if isinstance(dict_, RequestHeaders):
12 self._dict = dict_
14 self._dict = dict((k.lower(), v) for k, v in dict_.iteritems())
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dbase_screen_handler.cc16 : dict_(dict) { in LocalizedValuesBuilder()
21 dict_->SetString(key, message); in Add()
26 dict_->SetString(key, message); in Add()
30 dict_->SetString(key, in Add()
37 dict_->SetString(key, in AddF()
45 dict_->SetString(key, in AddF()
Dbase_screen_handler.h75 base::DictionaryValue* dict_;
/external/chromium_org/third_party/libaddressinput/chromium/
Djson.cc50 dict_(*owned_) {} in JsonImpl()
58 for (base::DictionaryValue::Iterator it(dict_); !it.IsAtEnd(); in GetSubDictionaries()
71 return dict_.GetStringWithoutPathExpansion(key, value); in GetStringValueForKey()
76 : parser_error_(false), dict_(dict) {} in JsonImpl()
80 const base::DictionaryValue& dict_; member in i18n::addressinput::Json::JsonImpl
/external/chromium_org/content/child/webcrypto/
Djwk.cc229 dict_.SetString("alg", algorithm); in JwkWriter()
230 dict_.Set("key_ops", CreateJwkKeyOpsFromWebCryptoUsages(usage_mask)); in JwkWriter()
231 dict_.SetBoolean("ext", extractable); in JwkWriter()
232 dict_.SetString("kty", kty); in JwkWriter()
236 dict_.SetString(key, value); in Set()
240 dict_.SetString(key, in SetBase64Encoded()
248 base::JSONWriter::Write(&dict_, &json); in ToBytes()
253 base::DictionaryValue dict_; member in content::webcrypto::__anon411c908d0111::JwkWriter
/external/markdown/markdown/
Dodict.py77 def update(self, dict_): argument
78 for k, v in dict_.items():
/external/chromium_org/third_party/markdown/
Dodict.py140 def update(self, dict_): argument
141 for k, v in iteritems_compat(dict_):
/external/chromium_org/rlz/mac/lib/
Drlz_value_store_mac.mm56 : dict_([dict retain]), plist_path_([plist_path retain]) {
199 return dict_.get();
205 return dict_;
210 return GetOrCreateDict(dict_.get(), brand_ns);
Drlz_value_store_mac.h72 base::scoped_nsobject<NSMutableDictionary> dict_; variable