Lines Matching refs:fn
150 template <typename T, T fn>
153 template <typename R, typename ... Args, R fn(Args...)>
154 struct count_refs_fn_helper<R(Args...), fn> : public count_refs_helper<Args...> {};
162 template <typename T, T fn>
163 struct count_refs : public count_refs_fn_helper<T, fn> {};
203 template <typename T, T fn>
206 template <typename R, typename Arg1, typename Arg2, typename ... Args, R fn(Arg1, Arg2, Args...)>
207 struct remove_extra_parameters_helper<R(Arg1, Arg2, Args...), fn> {
212 return fn(env, kls, args...); in apply()
219 template <typename T, T fn>
220 struct jni_remove_extra_parameters : public remove_extra_parameters_helper<T, fn> {};
578 template <typename T, T fn>
582 template <typename R, typename ... Args, R fn(JNIEnv*, jclass, Args...)>
583 struct make_jni_test_decorator<R(JNIEnv*, jclass kls, Args...), fn> {
592 return fn(env, kls, args...); in apply()
597 template <typename R, typename ... Args, R fn(JNIEnv*, jobject, Args...)>
598 struct make_jni_test_decorator<R(JNIEnv*, jobject, Args...), fn> {
607 return fn(env, thisObj, args...); in apply()
614 #define MAKE_JNI_TEST_DECORATOR(fn) make_jni_test_decorator<decltype(fn), (fn)>::apply argument