Home
last modified time | relevance | path

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

/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp86 EXPECT_FALSE(parse.has_value()); in TEST()
91 EXPECT_FALSE(parse.has_value()); in TEST()
96 EXPECT_FALSE(parse.has_value()); in TEST()
123 EXPECT_EQ(true, jni_descriptor.has_value()); \ in TEST()
489 ASSERT_TRUE(cvrt.has_value()); in TEST()
499 EXPECT_FALSE(cvrt.has_value()); in TEST()
506 ASSERT_TRUE(cvrt.has_value()); in TEST()
515 ASSERT_TRUE(cvrt.has_value()); in TEST()
584 EXPECT_FALSE(int_opt.has_value()); in TEST()
676 EXPECT_TRUE((ReifiedJniTypeTrait::MostSimilarTypeDescriptor(type_desc)).has_value()); \
[all …]
/libnativehelper/platform_include/nativehelper/detail/
Dsignature_checker.h315 constexpr bool has_value() const { in has_value() function
320 X_ASSERT(has_value()); in value()
348 return lhs.has_value() == rhs.has_value();
1157 if (!user_reified_opt.has_value()) {
1363 if (!signature_descriptor_opt.has_value()) {