Home
last modified time | relevance | path

Searched refs:dict_val (Results 1 – 2 of 2) sorted by relevance

/external/chromium/base/json/
Djson_reader_unittest.cc305 DictionaryValue* dict_val = static_cast<DictionaryValue*>(root.get()); in TEST() local
307 ASSERT_TRUE(dict_val->GetDouble("number", &double_val)); in TEST()
310 ASSERT_TRUE(dict_val->Get("null", &null_val)); in TEST()
313 ASSERT_TRUE(dict_val->GetString("S", &str_val)); in TEST()
345 dict_val = static_cast<DictionaryValue*>(root.get()); in TEST()
347 ASSERT_TRUE(dict_val->GetDictionary("inner", &inner_dict)); in TEST()
352 ASSERT_TRUE(dict_val->GetBoolean("false", &bool_value)); in TEST()
355 ASSERT_TRUE(dict_val->GetDictionary("d", &inner_dict)); in TEST()
366 dict_val = static_cast<DictionaryValue*>(root.get()); in TEST()
368 EXPECT_TRUE(dict_val->GetIntegerWithoutPathExpansion("a.b", &integer_value)); in TEST()
[all …]
/external/chromium/chrome/browser/autocomplete/
Dsearch_provider.cc474 DictionaryValue* dict_val = static_cast<DictionaryValue*>(optional_val); in ParseSuggestResults() local
478 if (dict_val->HasKey(kGoogleSuggestType)) in ParseSuggestResults()
479 dict_val->GetList(kGoogleSuggestType, &type_list); in ParseSuggestResults()