Searched refs:args (Results 1 – 5 of 5) sorted by relevance
/libnativehelper/include_jni/ |
D | jni.h | 571 va_list args; in NewObject() local 572 va_start(args, methodID); in NewObject() 573 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject() 574 va_end(args); in NewObject() 578 jobject NewObjectV(jclass clazz, jmethodID methodID, va_list args) in NewObjectV() 579 { return functions->NewObjectV(this, clazz, methodID, args); } in NewObjectV() 581 jobject NewObjectA(jclass clazz, jmethodID methodID, const jvalue* args) in NewObjectA() 582 { return functions->NewObjectA(this, clazz, methodID, args); } in NewObjectA() 597 va_list args; \ 598 va_start(args, methodID); \ [all …]
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 76 …_API int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args); 207 va_list args; in jniThrowExceptionFmt() local 208 va_start(args, fmt); in jniThrowExceptionFmt() 209 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt() 210 va_end(args); in jniThrowExceptionFmt()
|
/libnativehelper/platform_include/nativehelper/detail/ |
D | signature_checker.h | 548 ConstexprVector<T, kMaxSize> args; member 561 for (auto& arg : signature.args) { 564 if (count != signature.args.size() - 1) { 1033 constexpr auto MakeArray(Args&& ... args) { 1035 sizeof...(Args)>{args...}; 1124 ConstexprVector<ReifiedJniTypeTrait, kMaxSize> args; 1132 args.push_back(arg); 1138 return {{args, return_jni_trait}}; 1247 if (reified_signature.args.size() != user_jni_sig_desc.args.size()) { 1256 for (size_t i = 0; i < user_jni_sig_desc.args.size(); ++i) { [all …]
|
/libnativehelper/tests/ |
D | JniSafeRegisterNativeMethods_test.cpp | 120 #define EXPECT_OK_SIGNATURE_PARSE(signature, args, ret) \ in TEST() argument 124 EXPECT_STRINGIFY_EQ("args={" args "}, ret=" ret, jni_descriptor); \ in TEST() 491 EXPECT_CONSTEXPR_EQ(1u, cvrt->args.size()); in TEST() 507 EXPECT_EQ(2u, cvrt->args.size()); in TEST() 516 EXPECT_EQ(2u, cvrt->args.size()); in TEST()
|
/libnativehelper/ |
D | JNIHelp.cpp | 230 …API int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt() argument 232 vsnprintf(msgBuf, sizeof(msgBuf), fmt, args); in jniThrowExceptionFmt()
|