Searched refs:args (Results 1 – 6 of 6) sorted by relevance
/libnativehelper/include_jni/ |
D | jni.h | 570 va_list args; in NewObject() local 571 va_start(args, methodID); in NewObject() 572 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject() 573 va_end(args); in NewObject() 577 jobject NewObjectV(jclass clazz, jmethodID methodID, va_list args) in NewObjectV() 578 { return functions->NewObjectV(this, clazz, methodID, args); } in NewObjectV() 580 jobject NewObjectA(jclass clazz, jmethodID methodID, const jvalue* args) in NewObjectA() 581 { return functions->NewObjectA(this, clazz, methodID, args); } in NewObjectA() 596 va_list args; \ 597 va_start(args, methodID); \ [all …]
|
/libnativehelper/include_platform_header_only/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/ |
D | libnativehelper_lazy.c | 146 #define INVOKE_METHOD(name, method_type, args...) \ argument 150 return ((method_type) method)(args); \ 153 #define INVOKE_VOID_METHOD(name, method_type, args...) \ argument 157 ((method_type) method)(args); \
|
D | JNIHelp.c | 241 va_list args; in ThrowException() local 242 va_start(args, ctorSig); in ThrowException() 263 jobject instance = (*env)->NewObjectV(env, exceptionClass, init, args); in ThrowException() 280 va_end(args); in ThrowException() 362 int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt() argument 364 vsnprintf(msgBuf, sizeof(msgBuf), fmt, args); in jniThrowExceptionFmt()
|
/libnativehelper/include/nativehelper/ |
D | JNIHelp.h | 294 va_list args; in ThrowException() local 295 va_start(args, ctorSig); in ThrowException() 318 jobject instance = env->NewObjectV(exceptionClass, init, args); in ThrowException() 336 va_end(args); in ThrowException() 446 va_list args; in jniThrowExceptionFmt() local 447 va_start(args, fmt); in jniThrowExceptionFmt() 449 vsnprintf(msgBuf, sizeof(msgBuf), fmt, args); in jniThrowExceptionFmt() 450 va_end(args); in jniThrowExceptionFmt()
|
/libnativehelper/tests/ |
D | JniSafeRegisterNativeMethods_test.cpp | 119 #define EXPECT_OK_SIGNATURE_PARSE(signature, args, ret) \ in TEST() argument 123 EXPECT_STRINGIFY_EQ("args={" args "}, ret=" ret, jni_descriptor); \ in TEST() 490 EXPECT_CONSTEXPR_EQ(1u, cvrt->args.size()); in TEST() 506 EXPECT_EQ(2u, cvrt->args.size()); in TEST() 515 EXPECT_EQ(2u, cvrt->args.size()); in TEST()
|