Lines Matching refs:Args
59 template <typename... Args>
60 inline std::enable_if_t<(sizeof...(Args) == 0), std::tuple<>> convertArgs( in convertArgs()
81 template <typename Ret, typename... Args>
82 std::tuple<Args...> getArgsForFunction( in getArgsForFunction()
83 std::function<Ret(Args...)> function, in getArgsForFunction()
87 assert(sizeof...(Args) == count); in getArgsForFunction()
88 return convertArgs<Args...>(rt, args); in getArgsForFunction()
94 template <typename Ret, typename... Args>
95 std::tuple<jsi::Runtime &, Args...> getArgsForFunction( in getArgsForFunction()
96 std::function<Ret(jsi::Runtime &, Args...)> function, in getArgsForFunction()
100 assert(sizeof...(Args) == count); in getArgsForFunction()
101 return std::tuple_cat(std::tie(rt), convertArgs<Args...>(rt, args)); in getArgsForFunction()
105 template <typename Ret, typename... Args>
107 std::function<Ret(Args...)> function, in apply()
108 std::tuple<Args...> args) { in apply()
114 template <typename... Args>
116 std::function<void(Args...)> function, in apply()
117 std::tuple<Args...> args) { in apply()
138 template <typename... Args>
152 template <typename Ret, typename... Args>
156 std::function<Ret(Args...)> function) {
158 auto argsCount = sizeof...(Args) - takes_runtime<Args...>::value;