Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 3 of 3) sorted by relevance

/libnativehelper/header_only_include/nativehelper/
Dutils.h100 #define GET_UTF_OR_RETURN(env, expr) \ argument
101 GET_UTF_OR_RETURN_IMPL_((env), (expr), android::jnihelp::JniDefaultValue())
102 #define GET_UTF_OR_RETURN_VOID(env, expr) GET_UTF_OR_RETURN_IMPL_((env), (expr)) argument
104 #define GET_UTF_OR_RETURN_IMPL_(env, expr, ...) \ argument
106 ScopedUtfChars __or_return_scoped_utf_chars(env, expr); \
136 #define CREATE_UTF_OR_RETURN(env, expr) \ argument
137 CREATE_UTF_OR_RETURN_IMPL_((env), (expr), android::jnihelp::JniDefaultValue())
138 #define CREATE_UTF_OR_RETURN_VOID(env, expr) CREATE_UTF_OR_RETURN_IMPL_((env), (expr)) argument
140 #define CREATE_UTF_OR_RETURN_IMPL_(env, expr, ...) \ argument
145 env->NewStringUTF(__or_return_c_str = android::jnihelp::internal::GetCStr(expr))); \
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp200 #define EXPECT_IS_VALID_JNI_ARGUMENT_TYPE(expected, expr) \ argument
201 { constexpr bool is_valid = (expr); \
202 EXPECT_EQ(expected, is_valid) << #expr; \
696 #define ENFORCE_CONSTEXPR(expr) \ argument
697 static_assert(__builtin_constant_p(expr), "Expression must be constexpr")
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h1142 #define COMPARE_DESCRIPTOR_CHECK(expr) if (!(expr)) return false