Searched refs:FindKeyOfType (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/ |
D | values_unittest.cc | 407 TEST(ValuesTest, FindKeyOfType) { in TEST() argument 419 EXPECT_NE(nullptr, dict.FindKeyOfType("null", Value::Type::NONE)); in TEST() 420 EXPECT_EQ(nullptr, dict.FindKeyOfType("null", Value::Type::BOOLEAN)); in TEST() 421 EXPECT_EQ(nullptr, dict.FindKeyOfType("null", Value::Type::INTEGER)); in TEST() 422 EXPECT_EQ(nullptr, dict.FindKeyOfType("null", Value::Type::DOUBLE)); in TEST() 423 EXPECT_EQ(nullptr, dict.FindKeyOfType("null", Value::Type::STRING)); in TEST() 424 EXPECT_EQ(nullptr, dict.FindKeyOfType("null", Value::Type::BINARY)); in TEST() 425 EXPECT_EQ(nullptr, dict.FindKeyOfType("null", Value::Type::LIST)); in TEST() 426 EXPECT_EQ(nullptr, dict.FindKeyOfType("null", Value::Type::DICTIONARY)); in TEST() 428 EXPECT_EQ(nullptr, dict.FindKeyOfType("bool", Value::Type::NONE)); in TEST() [all …]
|
D | values.h | 192 Value* FindKeyOfType(StringPiece key, Type type); 193 const Value* FindKeyOfType(StringPiece key, Type type) const;
|
D | values.cc | 276 Value* Value::FindKeyOfType(StringPiece key, Type type) { in FindKeyOfType() function in base::Value 278 static_cast<const Value*>(this)->FindKeyOfType(key, type)); in FindKeyOfType() 281 const Value* Value::FindKeyOfType(StringPiece key, Type type) const { in FindKeyOfType() function in base::Value 747 current_dictionary->FindKeyOfType(key, Type::DICTIONARY); in Set()
|