Home
last modified time | relevance | path

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

/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h302 struct ConstexprOptional { struct
304 constexpr ConstexprOptional() : _has_value(false), _nothing() { in ConstexprOptional() argument
308 constexpr ConstexprOptional(const T& value) // NOLINT(google-explicit-constructor) in ConstexprOptional() argument
345 operator==(const ConstexprOptional<T>& lhs, const ConstexprOptional<T>& rhs) { argument
354 operator!=(const ConstexprOptional<T>& lhs, const ConstexprOptional<T>& rhs) {
359 inline std::ostream& operator<<(std::ostream& os, const ConstexprOptional<T>& val) {
371 constexpr operator ConstexprOptional<T>() const { // NOLINT(google-explicit-constructor)
372 return ConstexprOptional<T>();
427 constexpr ConstexprOptional<ParseTypeDescriptorResult>
493 ConstexprOptional<ParseTypeDescriptorResult>
[all …]
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp165 EXPECT_STRINGIFY_EQ(ConstexprOptional<JniSignatureDescriptor<sizeof(jni_descriptor)>>{},\ in TEST()
567 TEST(JniSafeRegisterNativeMethods, ConstexprOptional) { in TEST() argument
570 ConstexprOptional<int> int_opt; in TEST()
573 int_opt = ConstexprOptional<int>(12345); in TEST()