Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DJNIHelp.h78 int jniThrowExceptionFmt(C_JNIEnv* env, const char* className, const char* fmt, va_list args);
142 va_list args; in jniThrowExceptionFmt() local
143 va_start(args, fmt); in jniThrowExceptionFmt()
144 return jniThrowExceptionFmt(&env->functions, className, fmt, args); in jniThrowExceptionFmt()
145 va_end(args); in jniThrowExceptionFmt()
/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.h548 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_mts/jni/
Djni_helper_jni.cpp39 va_list args; in AssertionError() local
40 va_start(args, format); in AssertionError()
42 vsnprintf(messageBuffer, sizeof(messageBuffer), format, args); in AssertionError()
43 va_end(args); in AssertionError()
/libnativehelper/
DJNIHelp.c300 int jniThrowExceptionFmt(JNIEnv* env, const char* className, const char* fmt, va_list args) { in jniThrowExceptionFmt() argument
302 vsnprintf(msgBuf, sizeof(msgBuf), fmt, args); in jniThrowExceptionFmt()
/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp119 #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()