Home
last modified time | relevance | path

Searched refs:TryGet (Results 1 – 4 of 4) sorted by relevance

/external/libbrillo/brillo/
Dany.h152 T TryGet(typename std::decay<T>::type const& def_val) const { in TryGet() function
161 T TryGet() const { in TryGet() function
162 return TryGet<T>(typename std::decay<T>::type()); in TryGet()
Dany_unittest.cc254 TEST(Any, TryGet) { in TEST() argument
257 EXPECT_EQ("dummy", val.TryGet<std::string>("dummy")); in TEST()
258 EXPECT_EQ(12, val.TryGet<int>(17)); in TEST()
259 EXPECT_EQ(17, empty.TryGet<int>(17)); in TEST()
Dvariant_dictionary.h28 return it->second.TryGet<T>(); in GetVariantValueOrDefault()
/external/valgrind/drd/tests/
Dtsan_thread_wrappers_pthread.h405 bool TryGet(void **res) { in TryGet() function