Home
last modified time | relevance | path

Searched refs:GetDictionary (Results 1 – 22 of 22) sorted by relevance

/external/libweave/third_party/chromium/base/
Dvalues_unittest.cc52 ASSERT_TRUE(bookmark_list->GetDictionary(0, &bookmark)); in TEST()
740 EXPECT_TRUE(base->GetDictionary("sub_dict_key", &res_sub_dict)); in TEST()
769 EXPECT_TRUE(base->GetDictionary("dict", &ptr)); in TEST()
775 EXPECT_TRUE(merged->GetDictionary("dict", &ptr)); in TEST()
908 EXPECT_FALSE(main_dict.GetDictionary("bool", NULL)); in TEST()
909 EXPECT_FALSE(main_dict.GetDictionary("int", NULL)); in TEST()
910 EXPECT_FALSE(main_dict.GetDictionary("double", NULL)); in TEST()
911 EXPECT_FALSE(main_dict.GetDictionary("string", NULL)); in TEST()
912 EXPECT_FALSE(main_dict.GetDictionary("binary", NULL)); in TEST()
913 EXPECT_TRUE(main_dict.GetDictionary("dict", NULL)); in TEST()
[all …]
Dvalues.cc396 if (!current_dictionary->GetDictionary(key, &child_dictionary)) { in Set()
569 bool DictionaryValue::GetDictionary(StringPiece path, in GetDictionary() function in base::DictionaryValue
582 bool DictionaryValue::GetDictionary(StringPiece path, in GetDictionary() function in base::DictionaryValue
584 return static_cast<const DictionaryValue&>(*this).GetDictionary( in GetDictionary()
718 if (!GetDictionary(current_path.substr(0, delimiter_position), in Remove()
754 if (!GetDictionary(subdict_path, &subdict)) in RemovePath()
949 bool ListValue::GetDictionary(size_t index, in GetDictionary() function in base::ListValue
962 bool ListValue::GetDictionary(size_t index, DictionaryValue** out_value) { in GetDictionary() function in base::ListValue
963 return static_cast<const ListValue&>(*this).GetDictionary( in GetDictionary()
Dvalues.h285 bool GetDictionary(StringPiece path,
287 bool GetDictionary(StringPiece path, DictionaryValue** out_value);
425 bool GetDictionary(size_t index, const DictionaryValue** out_value) const;
426 bool GetDictionary(size_t index, DictionaryValue** out_value);
/external/libchrome/base/
Dvalues_unittest.cc52 ASSERT_TRUE(bookmark_list->GetDictionary(0, &bookmark)); in TEST()
780 EXPECT_TRUE(base->GetDictionary("sub_dict_key", &res_sub_dict)); in TEST()
809 EXPECT_TRUE(base->GetDictionary("dict", &ptr)); in TEST()
815 EXPECT_TRUE(merged->GetDictionary("dict", &ptr)); in TEST()
957 EXPECT_FALSE(main_dict.GetDictionary("bool", NULL)); in TEST()
958 EXPECT_FALSE(main_dict.GetDictionary("int", NULL)); in TEST()
959 EXPECT_FALSE(main_dict.GetDictionary("double", NULL)); in TEST()
960 EXPECT_FALSE(main_dict.GetDictionary("string", NULL)); in TEST()
961 EXPECT_FALSE(main_dict.GetDictionary("binary", NULL)); in TEST()
962 EXPECT_TRUE(main_dict.GetDictionary("dict", NULL)); in TEST()
[all …]
Dvalues.cc411 if (!current_dictionary->GetDictionary(key, &child_dictionary)) { in Set()
603 bool DictionaryValue::GetDictionary(StringPiece path, in GetDictionary() function in base::DictionaryValue
616 bool DictionaryValue::GetDictionary(StringPiece path, in GetDictionary() function in base::DictionaryValue
618 return static_cast<const DictionaryValue&>(*this).GetDictionary( in GetDictionary()
761 if (!GetDictionary(current_path.substr(0, delimiter_position), in Remove()
797 if (!GetDictionary(subdict_path, &subdict)) in RemovePath()
1000 bool ListValue::GetDictionary(size_t index, in GetDictionary() function in base::ListValue
1013 bool ListValue::GetDictionary(size_t index, DictionaryValue** out_value) { in GetDictionary() function in base::ListValue
1014 return static_cast<const ListValue&>(*this).GetDictionary( in GetDictionary()
Dvalues.h295 bool GetDictionary(StringPiece path,
297 bool GetDictionary(StringPiece path, DictionaryValue** out_value);
438 bool GetDictionary(size_t index, const DictionaryValue** out_value) const;
439 bool GetDictionary(size_t index, DictionaryValue** out_value);
/external/libweave/src/
Dcomponent_manager_impl.cc173 if (traits_.GetDictionary(it.key(), &existing_def)) { in LoadTraits()
343 traits_.GetDictionary(key, &definition); in FindCommandDefinition()
379 if (!component->GetDictionary("state", &state)) { in SetStateProperties()
525 if (traits_.GetDictionary(key, nullptr)) { in AddLegacyCommandDefinitions()
563 if (traits_.GetDictionary(key, nullptr)) { in AddLegacyStateDefinitions()
591 component_dict->GetDictionary("state", &component_state)) { in GetLegacyState()
607 trait_dict->GetDictionary("commands", &trait_commands)) { in GetLegacyCommandDefinitions()
631 CHECK(components_.GetDictionary(it.key(), &component)); in AddTraitToLegacyComponent()
646 if (component && !component->GetDictionary("components", &root)) { in FindComponentGraftNode()
695 if (!root->GetDictionary("components", &root)) { in FindComponentAt()
Ddevice_registration_info_unittest.cc439 EXPECT_FALSE(json->GetDictionary("deviceDraft.commandDefs", &dict)); in TEST_F()
440 EXPECT_FALSE(json->GetDictionary("deviceDraft.state", &dict)); in TEST_F()
441 EXPECT_TRUE(json->GetDictionary("deviceDraft.traits", &dict)); in TEST_F()
465 EXPECT_TRUE(json->GetDictionary("deviceDraft.components", &dict)); in TEST_F()
481 EXPECT_TRUE(json->GetDictionary("deviceDraft", &device_draft)); in TEST_F()
Dbase_api_handler_unittest.cc86 if (component->GetDictionary("state.base", &base_state)) in GetBaseState()
105 ASSERT_TRUE(component_manager_.GetTraits().GetDictionary("base", &trait)); in TEST_F()
Daccess_api_handler_unittest.cc99 component->GetDictionary("state._accessControlBlackList", &state)); in GetState()
112 ASSERT_TRUE(component_manager_.GetTraits().GetDictionary( in TEST_F()
Ddevice_registration_info.cc588 !json_resp->GetDictionary("deviceDraft", &device_draft_response) || in RegisterDeviceOnTicketFinalized()
/external/libchrome/base/trace_event/
Dtrace_event_unittest.cc246 dict->GetDictionary("args", &args_dict); in IsKeyValueInDict()
357 dict->GetDictionary("args", &args_dict); in IsStringInDict()
2046 dict->GetDictionary("args", &args_dict); in TEST_F()
2063 dict->GetDictionary("args", &args_dict); in TEST_F()
2081 dict->GetDictionary("args", &args_dict); in TEST_F()
2100 dict->GetDictionary("args", &args_dict); in TEST_F()
2156 dict->GetDictionary("args", &args_dict); in TEST_F()
2163 dict->GetDictionary("args", &args_dict); in TEST_F()
2171 dict->GetDictionary("args", &args_dict); in TEST_F()
2181 dict->GetDictionary("args", &args_dict); in TEST_F()
[all …]
Dmemory_allocator_dump_unittest.cc65 EXPECT_TRUE(args->GetDictionary(name, &arg)); in CheckAttribute()
Dtrace_config.cc346 if (dict->GetDictionary(kMemoryDumpConfigParam, &memory_dump_config)) in InitializeFromConfigString()
492 if (!trigger_list->GetDictionary(i, &trigger)) in SetMemoryDumpConfig()
/external/libweave/src/notification/
Dnotification_parser.cc18 if (!notification.GetDictionary("command", &command)) { in ParseCommandCreated()
/external/libweave/third_party/chromium/base/json/
Djson_reader_unittest.cc371 ASSERT_TRUE(dict_val->GetDictionary("inner", &inner_dict)); in TEST()
379 EXPECT_TRUE(dict_val->GetDictionary("d", &inner_dict)); in TEST()
576 ASSERT_TRUE(root_dict->GetDictionary("test", &dict)); in TEST()
/external/libchrome/base/metrics/
Dstatistics_recorder_unittest.cc283 ASSERT_TRUE(histogram_list->GetDictionary(0, &histogram_dict)); in TEST_F()
304 ASSERT_TRUE(histogram_list->GetDictionary(0, &histogram_dict)); in TEST_F()
/external/libchrome/base/json/
Djson_reader_unittest.cc376 ASSERT_TRUE(dict_val->GetDictionary("inner", &inner_dict)); in TEST()
384 EXPECT_TRUE(dict_val->GetDictionary("d", &inner_dict)); in TEST()
599 ASSERT_TRUE(root_dict->GetDictionary("test", &dict)); in TEST()
/external/libweave/examples/daemon/light/
Dlight.cc256 if (params.GetDictionary("colorSetting", &colorXY)) { in OnColorXYSetConfig()
/external/libweave/src/privet/
Dprivet_handler_unittest.cc81 EXPECT_TRUE(result->GetDictionary(path_to_error_object, &error_dict)); in StripDebugErrorDetails()
835 ASSERT_TRUE(components.GetDictionary("comp1.components.comp2", &comp2)); in TEST_F()
Dprivet_handler.cc763 if (input.GetDictionary(kWifiKey, &wifi)) { in HandleSetupStart()
781 if (input.GetDictionary(kGcdKey, &registration)) { in HandleSetupStart()
/external/libchrome/base/test/
Dtrace_event_analyzer.cc80 if (!dictionary->GetDictionary("args", &args)) { in SetFromJSON()