Lines Matching refs:fn
208 template <typename T, T* fn>
211 template <typename R, typename Arg1, typename Arg2, typename ... Args, R (*fn)(Arg1, Arg2, Args...)>
212 struct remove_extra_parameters_helper<R(Arg1, Arg2, Args...), fn> {
217 return fn(env, kls, args...); in apply()
224 template <typename T, T* fn>
225 struct jni_remove_extra_parameters : public remove_extra_parameters_helper<T, fn> {};
579 template <typename T, T* fn>
583 template <typename R, typename ... Args, R (*fn)(JNIEnv*, jclass, Args...)>
584 struct make_jni_test_decorator<R(JNIEnv*, jclass kls, Args...), fn> {
593 return fn(env, kls, args...); in apply()
598 template <typename R, typename ... Args, R (*fn)(JNIEnv*, jobject, Args...)>
599 struct make_jni_test_decorator<R(JNIEnv*, jobject, Args...), fn> {
608 return fn(env, thisObj, args...); in apply()
615 #define MAKE_JNI_TEST_DECORATOR(fn) make_jni_test_decorator<decltype(fn), (fn)>::apply argument