Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 4 of 4) sorted by relevance

/libnativehelper/include/nativehelper/
DJNIHelp.h343 [[maybe_unused]] static jstring CreateExceptionMsg(JNIEnv* env, const char* msg) { in CreateExceptionMsg() argument
344 jstring detailMessage = env->NewStringUTF(msg); in CreateExceptionMsg()
405 [[maybe_unused]] static int jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument
407 jstring _detailMessage = CreateExceptionMsg(env, msg); in jniThrowException()
454 [[maybe_unused]] static int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException() argument
455 return jniThrowException(env, "java/lang/NullPointerException", msg); in jniThrowNullPointerException()
458 [[maybe_unused]] static int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() argument
459 return jniThrowException(env, "java/lang/RuntimeException", msg); in jniThrowRuntimeException()
507 int jniThrowException(JNIEnv* env, const char* className, const char* msg);
509 int jniThrowNullPointerException(JNIEnv* env, const char* msg);
/libnativehelper/
DJNIHelp.c289 static jstring CreateExceptionMsg(JNIEnv* env, const char* msg) { in CreateExceptionMsg() argument
290 jstring detailMessage = (*env)->NewStringUTF(env, msg); in CreateExceptionMsg()
309 #define THROW_EXCEPTION_WITH_MESSAGE(env, className, ctorSig, msg, ...) ({ \ argument
310 jstring _detailMessage = CreateExceptionMsg(env, msg); \
370 int jniThrowNullPointerException(JNIEnv* env, const char* msg) { in jniThrowNullPointerException() argument
371 return jniThrowException(env, "java/lang/NullPointerException", msg); in jniThrowNullPointerException()
374 int jniThrowRuntimeException(JNIEnv* env, const char* msg) { in jniThrowRuntimeException() argument
375 return jniThrowException(env, "java/lang/RuntimeException", msg); in jniThrowRuntimeException()
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h385 #define PARSE_FAILURE(msg) X_ASSERT(! #msg) argument
386 #define PARSE_ASSERT_MSG(cond, msg) X_ASSERT(#msg && (cond)) argument
389 #define PARSE_FAILURE(msg) return NullConstexprOptional{}; argument
390 #define PARSE_ASSERT_MSG(cond, msg) if (!(cond)) { PARSE_FAILURE(msg); } argument
395 constexpr void ParseFailure(const char* msg) { in ParseFailure() argument
396 (void) msg; // intentionally no-op. in ParseFailure()
1142 #define COMPARE_DESCRIPTOR_FAILURE_MSG(msg) if ((true)) return false
/libnativehelper/include_jni/
Djni.h538 void FatalError(const char* msg) in FatalError()
539 { functions->FatalError(this, msg); } in FatalError()