Lines Matching refs:Function
43 void initializeMainThread(void (*function)(MainThreadFunction, void*))
49 callOnMainThreadFunction = function;
54 void callOnMainThread(MainThreadFunction* function, void* context)
56 (*callOnMainThreadFunction)(function, context);
61 Function<void()>* function = static_cast<Function<void()>*>(context);
62 (*function)();
63 delete function;
66 void callOnMainThread(const Function<void()>& function)
68 callOnMainThread(callFunctionObject, new Function<void()>(function));