Home
last modified time | relevance | path

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

/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp73 EXPECT_FALSE(parse.has_value()); in TEST()
78 EXPECT_FALSE(parse.has_value()); in TEST()
83 EXPECT_FALSE(parse.has_value()); in TEST()
110 EXPECT_EQ(true, jni_descriptor.has_value()); \ in TEST()
476 ASSERT_TRUE(cvrt.has_value()); in TEST()
486 EXPECT_FALSE(cvrt.has_value()); in TEST()
493 ASSERT_TRUE(cvrt.has_value()); in TEST()
502 ASSERT_TRUE(cvrt.has_value()); in TEST()
571 EXPECT_FALSE(int_opt.has_value()); in TEST()
663 EXPECT_TRUE((ReifiedJniTypeTrait::MostSimilarTypeDescriptor(type_desc)).has_value()); \
[all …]
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h316 constexpr bool has_value() const { in has_value() function
321 X_ASSERT(has_value()); in value()
349 return lhs.has_value() == rhs.has_value();
1158 if (!user_reified_opt.has_value()) {
1364 if (!signature_descriptor_opt.has_value()) {