Home
last modified time | relevance | path

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

/libnativehelper/platform_include/nativehelper/detail/
Dsignature_checker.h301 struct ConstexprOptional { struct
303 constexpr ConstexprOptional() : _has_value(false), _nothing() { in ConstexprOptional() function
307 constexpr ConstexprOptional(const T& value) // NOLINT(google-explicit-constructor) in ConstexprOptional() argument
344 operator==(const ConstexprOptional<T>& lhs, const ConstexprOptional<T>& rhs) { argument
353 operator!=(const ConstexprOptional<T>& lhs, const ConstexprOptional<T>& rhs) {
358 inline std::ostream& operator<<(std::ostream& os, const ConstexprOptional<T>& val) {
370 constexpr operator ConstexprOptional<T>() const { // NOLINT(google-explicit-constructor)
371 return ConstexprOptional<T>();
426 constexpr ConstexprOptional<ParseTypeDescriptorResult>
492 ConstexprOptional<ParseTypeDescriptorResult>
[all …]
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp178 EXPECT_STRINGIFY_EQ(ConstexprOptional<JniSignatureDescriptor<sizeof(jni_descriptor)>>{},\ in TEST()
580 TEST(JniSafeRegisterNativeMethods, ConstexprOptional) { in TEST() argument
583 ConstexprOptional<int> int_opt; in TEST()
586 int_opt = ConstexprOptional<int>(12345); in TEST()