Home
last modified time | relevance | path

Searched refs:args (Results 1 – 6 of 6) sorted by relevance

/libnativehelper/include_jni/
Djni.h570 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/
Dsignature_checker.h549 ConstexprVector<T, kMaxSize> args; member
562 for (auto& arg : signature.args) {
565 if (count != signature.args.size() - 1) {
1034 constexpr auto MakeArray(Args&& ... args) {
1036 sizeof...(Args)>{args...};
1125 ConstexprVector<ReifiedJniTypeTrait, kMaxSize> args;
1133 args.push_back(arg);
1139 return {{args, return_jni_trait}};
1248 if (reified_signature.args.size() != user_jni_sig_desc.args.size()) {
1257 for (size_t i = 0; i < user_jni_sig_desc.args.size(); ++i) {
[all …]
/libnativehelper/
Dlibnativehelper_lazy.c146 #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); \
DJNIHelp.c243 va_list args; in ThrowException() local
244 va_start(args, ctorSig); in ThrowException()
265 jobject instance = (*env)->NewObjectV(env, exceptionClass, init, args); in ThrowException()
282 va_end(args); in ThrowException()
364 int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt() argument
366 vsnprintf(msgBuf, sizeof(msgBuf), fmt, args); in jniThrowExceptionFmt()
/libnativehelper/include/nativehelper/
DJNIHelp.h299 va_list args; in ThrowException() local
300 va_start(args, ctorSig); in ThrowException()
323 jobject instance = env->NewObjectV(exceptionClass, init, args); in ThrowException()
341 va_end(args); in ThrowException()
451 va_list args; in jniThrowExceptionFmt() local
452 va_start(args, fmt); in jniThrowExceptionFmt()
454 vsnprintf(msgBuf, sizeof(msgBuf), fmt, args); in jniThrowExceptionFmt()
455 va_end(args); in jniThrowExceptionFmt()
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp107 #define EXPECT_OK_SIGNATURE_PARSE(signature, args, ret) \ in TEST() argument
111 EXPECT_STRINGIFY_EQ("args={" args "}, ret=" ret, jni_descriptor); \ in TEST()
478 EXPECT_CONSTEXPR_EQ(1u, cvrt->args.size()); in TEST()
494 EXPECT_EQ(2u, cvrt->args.size()); in TEST()
503 EXPECT_EQ(2u, cvrt->args.size()); in TEST()