Searched defs:dict (Results 1 - 25 of 508) sorted by relevance

1234567891011>>

/external/chromium_org/tools/json_schema_compiler/test/
H A Dadditional_properties_unittest.cc55 base::DictionaryValue* dict = new base::DictionaryValue(); local
56 dict->SetInteger("integer", 5);
57 dict->SetString("key", "value");
58 expected.Append(dict);
/external/chromium_org/sync/js/
H A Djs_event_details_unittest.cc22 base::DictionaryValue dict; local
23 dict.SetString("foo", "bar");
24 dict.Set("baz", new base::ListValue());
26 scoped_ptr<base::DictionaryValue> dict_copy(dict.DeepCopy());
28 JsEventDetails details(&dict);
30 // |details| should take over |dict|'s data.
31 EXPECT_TRUE(dict.empty());
/external/chromium_org/chrome/browser/extensions/api/identity_private/
H A Didentity_private_api.cc20 base::DictionaryValue* dict = new base::DictionaryValue; local
21 SetResult(dict);
23 dict->SetString(
/external/chromium_org/components/omnibox/
H A Dsearch_suggestion_parser_unittest.cc17 base::DictionaryValue* dict; local
18 if (value && value->GetAsDictionary(&dict))
19 return scoped_ptr<base::DictionaryValue>(dict);
/external/chromium_org/components/policy/core/common/
H A Dmac_util_unittest.cc48 base::DictionaryValue dict; local
49 root.Set("emptyd", dict.DeepCopy());
51 root.Set("dict", root.DeepCopy());
/external/chromium_org/net/cert/
H A Dx509_certificate_net_log_param.cc17 base::DictionaryValue* dict = new base::DictionaryValue(); local
23 dict->Set("certificates", certs);
24 return dict;
/external/chromium_org/third_party/skia/tests/
H A DRefDictTest.cpp20 SkRefDict dict; local
22 REPORTER_ASSERT(reporter, NULL == dict.find(NULL));
23 REPORTER_ASSERT(reporter, NULL == dict.find("foo"));
24 REPORTER_ASSERT(reporter, NULL == dict.find("bar"));
26 dict.set("foo", &data0);
27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
30 dict.set("foo", &data0);
31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
34 dict.set("foo", &data1);
35 REPORTER_ASSERT(reporter, &data1 == dict
[all...]
/external/skia/tests/
H A DRefDictTest.cpp20 SkRefDict dict; local
22 REPORTER_ASSERT(reporter, NULL == dict.find(NULL));
23 REPORTER_ASSERT(reporter, NULL == dict.find("foo"));
24 REPORTER_ASSERT(reporter, NULL == dict.find("bar"));
26 dict.set("foo", &data0);
27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
30 dict.set("foo", &data0);
31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo"));
34 dict.set("foo", &data1);
35 REPORTER_ASSERT(reporter, &data1 == dict
[all...]
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_app_launch_error.cc68 const base::DictionaryValue* dict = local
72 if (dict->GetInteger(kKeyLaunchError, &error))
/external/chromium_org/chrome/browser/ui/webui/chromeos/
H A Dui_account_tweaks.cc48 base::DictionaryValue dict; local
49 AddAccountUITweaksLocalizedValues(&dict, profile);
50 source->AddLocalizedStrings(dict);
/external/chromium_org/extensions/browser/api/dns/
H A Ddns_apitest.cc56 base::DictionaryValue* dict = NULL; local
57 ASSERT_TRUE(result->GetAsDictionary(&dict));
60 EXPECT_TRUE(dict->GetInteger("resultCode", &result_code));
64 EXPECT_TRUE(dict->GetString("address", &address));
80 base::DictionaryValue* dict = NULL; local
81 ASSERT_TRUE(result->GetAsDictionary(&dict));
84 EXPECT_TRUE(dict->GetInteger("resultCode", &result_code));
88 EXPECT_TRUE(dict->GetString("address", &address));
/external/chromium_org/extensions/browser/api/runtime/
H A Druntime_apitest.cc51 base::DictionaryValue* dict = local
53 ASSERT_TRUE(dict != NULL);
54 EXPECT_TRUE(dict->HasKey("os"));
55 EXPECT_TRUE(dict->HasKey("arch"));
56 EXPECT_TRUE(dict->HasKey("nacl_arch"));
/external/chromium_org/extensions/common/permissions/
H A Dmanifest_permission_set.cc69 const base::DictionaryValue* dict = NULL; local
70 // permission should be a string or a single key dict.
71 if (!permissions->GetDictionary(i, &dict) || dict->size() != 1) {
77 LOG(WARNING) << "Permission is not a string or single key dict.";
80 base::DictionaryValue::Iterator it(*dict);
/external/chromium_org/mojo/public/tools/bindings/generators/
H A Drun_cpp_generator.py19 dict = ast.literal_eval(s)
20 return dict
22 dict = ReadDict(sys.argv[1]) variable
23 module = mojom.generate.data.ModuleFromData(dict)
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_net_log_parameters.cc21 base::DictionaryValue* dict = new base::DictionaryValue(); local
22 dict->SetString("entry_hash",
24 return dict;
31 base::DictionaryValue* dict = new base::DictionaryValue(); local
32 dict->SetInteger("net_error", net_error);
34 dict->SetString("key", entry->key());
35 return dict;
/external/chromium_org/net/proxy/
H A Dproxy_server_mac.cc19 CFDictionaryRef dict,
28 base::mac::GetValueFromDictionary<CFStringRef>(dict, host_key);
38 base::mac::GetValueFromDictionary<CFNumberRef>(dict, port_key);
18 FromDictionary(Scheme scheme, CFDictionaryRef dict, CFStringRef host_key, CFStringRef port_key) argument
/external/chromium_org/net/quic/
H A Dquic_http_utils.cc28 base::DictionaryValue* dict = static_cast<base::DictionaryValue*>( local
30 dict->SetInteger("quic_priority", static_cast<int>(priority));
31 dict->SetInteger("quic_stream_id", static_cast<int>(stream_id));
32 return dict;
/external/chromium_org/net/spdy/
H A Dspdy_header_block.cc15 base::DictionaryValue* dict = new base::DictionaryValue(); local
24 dict->Set("headers", headers_dict);
25 return dict;
33 const base::DictionaryValue* dict = NULL; local
37 !event_param->GetAsDictionary(&dict) ||
38 !dict->GetDictionary("headers", &header_dict)) {
/external/chromium_org/net/udp/
H A Dudp_net_log_parameters.cc20 base::DictionaryValue* dict = new base::DictionaryValue(); local
21 dict->SetInteger("byte_count", byte_count);
23 dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count));
25 dict->SetString("address", address->ToString());
26 return dict;
31 base::DictionaryValue* dict = new base::DictionaryValue(); local
32 dict->SetString("address", address->ToString());
33 return dict;
/external/chromium_org/net/url_request/
H A Durl_request_netlog_params.cc19 base::DictionaryValue* dict = new base::DictionaryValue(); local
20 dict->SetString("url", url->possibly_invalid_spec());
21 dict->SetString("method", *method);
22 dict->SetInteger("load_flags", load_flags);
23 dict->SetString("priority", RequestPriorityToString(priority));
25 dict->SetString("upload_id", base::Int64ToString(upload_id));
26 return dict;
31 const base::DictionaryValue* dict; local
32 if (!event_params->GetAsDictionary(&dict) ||
33 !dict
[all...]
/external/chromium_org/net/websockets/
H A Dwebsocket_net_log_params.cc15 base::DictionaryValue* dict = new base::DictionaryValue(); local
45 dict->Set("headers", header_list);
46 return dict;
/external/chromium_org/v8/src/
H A Dlookup-inl.h50 NameDictionary* dict = JSObject::cast(holder)->property_dictionary(); local
51 number_ = dict->FindEntry(name_);
53 property_details_ = dict->DetailsAt(number_);
56 PropertyCell* cell = PropertyCell::cast(dict->ValueAt(number_));
/external/chromium_org/cc/debug/
H A Dtraced_value.cc26 void TracedValue::MakeDictIntoImplicitSnapshot(base::debug::TracedValue* dict, argument
29 dict->SetString("id", base::StringPrintf("%s/%p", object_name, id));
34 base::debug::TracedValue* dict,
37 dict->SetString("cat", category);
38 MakeDictIntoImplicitSnapshot(dict, object_name, id);
43 base::debug::TracedValue* dict,
47 dict->SetString("cat", category);
48 dict->SetString("base_type", object_base_type_name);
49 MakeDictIntoImplicitSnapshot(dict, object_name, id);
32 MakeDictIntoImplicitSnapshotWithCategory( const char* category, base::debug::TracedValue* dict, const char* object_name, const void* id) argument
41 MakeDictIntoImplicitSnapshotWithCategory( const char* category, base::debug::TracedValue* dict, const char* object_base_type_name, const char* object_name, const void* id) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Ddevice_local_account_extension_tracker.cc68 const base::DictionaryValue* dict = NULL; local
71 !value->GetAsDictionary(&dict)) {
75 for (base::DictionaryValue::Iterator it(*dict); !it.IsAtEnd(); it.Advance()) {
/external/chromium_org/chrome/browser/extensions/
H A Dextension_garbage_collector_unittest.cc71 base::DictionaryValue* dict = update.Get(); local
72 ASSERT_TRUE(dict != NULL);
73 dict->Remove(kExtensionId, NULL);
107 base::DictionaryValue* dict = update.Get(); local
108 ASSERT_TRUE(dict != NULL);
109 dict->Remove(kExtensionId, NULL);

Completed in 5117 milliseconds

1234567891011>>