Home
last modified time | relevance | path

Searched refs:IsTypeCompatible (Results 1 – 3 of 3) sorted by relevance

/external/libbrillo/brillo/
Dany_unittest.cc31 EXPECT_TRUE(val.IsTypeCompatible<int>()); in TEST()
36 EXPECT_TRUE(val2.IsTypeCompatible<double>()); in TEST()
37 EXPECT_FALSE(val2.IsTypeCompatible<int>()); in TEST()
41 EXPECT_TRUE(val3.IsTypeCompatible<std::string>()); in TEST()
60 EXPECT_TRUE(val.IsTypeCompatible<double>()); in TEST()
87 EXPECT_TRUE(val2.IsTypeCompatible<std::vector<int>>()); in TEST()
91 EXPECT_TRUE(val.IsTypeCompatible<std::vector<int>>()); in TEST()
92 EXPECT_TRUE(val2.IsTypeCompatible<std::vector<int>>()); in TEST()
143 EXPECT_FALSE(val.IsTypeCompatible<char*>()); in TEST()
144 EXPECT_TRUE(val.IsTypeCompatible<const char*>()); in TEST()
[all …]
Dany.h77 bool IsTypeCompatible() const { in IsTypeCompatible() function
119 CHECK(IsTypeCompatible<T>()) in Get()
130 if (!IsTypeCompatible<T>()) { in GetValue()
143 if (!IsTypeCompatible<T>()) in GetPtr()
153 if (!IsTypeCompatible<T>()) in TryGet()
/external/libbrillo/brillo/dbus/
Dexported_property_set.h198 if (!value.IsTypeCompatible<T>()) { in SetValue()