Lines Matching refs:Function
444 template <class Function, class Params>
447 RunnableFunction(Function function, const Params& params) in RunnableFunction()
466 Function function_;
470 template <class Function>
471 inline CancelableTask* NewRunnableFunction(Function function) { in NewRunnableFunction()
472 return new RunnableFunction<Function, Tuple0>(function, MakeTuple()); in NewRunnableFunction()
475 template <class Function, class A>
476 inline CancelableTask* NewRunnableFunction(Function function, const A& a) { in NewRunnableFunction()
477 return new RunnableFunction<Function, Tuple1<A> >(function, MakeTuple(a)); in NewRunnableFunction()
480 template <class Function, class A, class B>
481 inline CancelableTask* NewRunnableFunction(Function function, in NewRunnableFunction()
483 return new RunnableFunction<Function, Tuple2<A, B> >(function, in NewRunnableFunction()
487 template <class Function, class A, class B, class C>
488 inline CancelableTask* NewRunnableFunction(Function function, in NewRunnableFunction()
491 return new RunnableFunction<Function, Tuple3<A, B, C> >(function, in NewRunnableFunction()
495 template <class Function, class A, class B, class C, class D>
496 inline CancelableTask* NewRunnableFunction(Function function, in NewRunnableFunction()
499 return new RunnableFunction<Function, Tuple4<A, B, C, D> >(function, in NewRunnableFunction()
504 template <class Function, class A, class B, class C, class D, class E>
505 inline CancelableTask* NewRunnableFunction(Function function, in NewRunnableFunction()
509 return new RunnableFunction<Function, Tuple5<A, B, C, D, E> >(function, in NewRunnableFunction()
515 template <class Function, class A, class B, class C, class D, class E,
517 inline CancelableTask* NewRunnableFunction(Function function, in NewRunnableFunction()
521 return new RunnableFunction<Function, Tuple6<A, B, C, D, E, F> >(function, in NewRunnableFunction()
525 template <class Function, class A, class B, class C, class D, class E,
527 inline CancelableTask* NewRunnableFunction(Function function, in NewRunnableFunction()
532 return new RunnableFunction<Function, Tuple7<A, B, C, D, E, F, G> >(function, in NewRunnableFunction()
536 template <class Function, class A, class B, class C, class D, class E,
538 inline CancelableTask* NewRunnableFunction(Function function, in NewRunnableFunction()
543 return new RunnableFunction<Function, Tuple8<A, B, C, D, E, F, G, H> >( in NewRunnableFunction()