Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 212) sorted by relevance

123456789

/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI49_0_0RuntimeSchedulerCallInvoker.cpp19 void RuntimeSchedulerCallInvoker::invokeAsync(CallFunc &&func) { in invokeAsync() argument
22 [func = std::move(func)](jsi::Runtime &) { func(); }); in invokeAsync()
26 void RuntimeSchedulerCallInvoker::invokeSync(CallFunc &&func) { in invokeSync() argument
29 [func = std::move(func)](jsi::Runtime &) { func(); }); in invokeSync()
35 CallFunc &&func) { in invokeAsync() argument
38 priority, [func = std::move(func)](jsi::Runtime &) { func(); }); in invokeAsync()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI48_0_0RuntimeSchedulerCallInvoker.cpp18 void RuntimeSchedulerCallInvoker::invokeAsync(std::function<void()> &&func) { in invokeAsync() argument
21 [func = std::move(func)](jsi::Runtime &) { func(); }); in invokeAsync()
25 void RuntimeSchedulerCallInvoker::invokeSync(std::function<void()> &&func) { in invokeSync() argument
28 [func = std::move(func)](jsi::Runtime &) { func(); }); in invokeSync()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI47_0_0RuntimeSchedulerCallInvoker.cpp19 void RuntimeSchedulerCallInvoker::invokeAsync(std::function<void()> &&func) { in invokeAsync() argument
22 [func = std::move(func)](jsi::Runtime &) { func(); }); in invokeAsync()
26 void RuntimeSchedulerCallInvoker::invokeSync(std::function<void()> &&func) { in invokeSync() argument
29 [func = std::move(func)](jsi::Runtime &) { func(); }); in invokeSync()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/CxxBridge/
H A DABI47_0_0RCTMessageThread.mm39 void ABI47_0_0RCTMessageThread::runAsync(std::function<void()> func)
45 func();
52 void ABI47_0_0RCTMessageThread::runSync(std::function<void()> func)
55 func();
60 runAsync([func = std::make_shared<std::function<void()>>(std::move(func)), &sema] {
61 (*func)();
69 NSError *error = tryAndReturnError(func);
80 …runAsync([sharedThis = shared_from_this(), func = std::make_shared<std::function<void()>>(std::mov…
82 sharedThis->tryFunc(*func);
92 runSync([sharedThis = shared_from_this(), func = std::move(func)] {
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/CxxBridge/
H A DABI49_0_0RCTMessageThread.mm39 void ABI49_0_0RCTMessageThread::runAsync(std::function<void()> func)
45 func();
52 void ABI49_0_0RCTMessageThread::runSync(std::function<void()> func)
55 func();
60 runAsync([func = std::make_shared<std::function<void()>>(std::move(func)), &sema] {
61 (*func)();
69 NSError *error = tryAndReturnError(func);
80 …runAsync([sharedThis = shared_from_this(), func = std::make_shared<std::function<void()>>(std::mov…
82 sharedThis->tryFunc(*func);
92 runSync([sharedThis = shared_from_this(), func = std::move(func)] {
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/CxxBridge/
H A DABI48_0_0RCTMessageThread.mm39 void ABI48_0_0RCTMessageThread::runAsync(std::function<void()> func)
45 func();
52 void ABI48_0_0RCTMessageThread::runSync(std::function<void()> func)
55 func();
60 runAsync([func = std::make_shared<std::function<void()>>(std::move(func)), &sema] {
61 (*func)();
69 NSError *error = tryAndReturnError(func);
80 …runAsync([sharedThis = shared_from_this(), func = std::make_shared<std::function<void()>>(std::mov…
82 sharedThis->tryFunc(*func);
92 runSync([sharedThis = shared_from_this(), func = std::move(func)] {
[all …]
/expo/packages/expo-gl/common/
H A DEXWebGLMethodsHelpers.h60 inline jsi::Value exglCall(EXGLContext *ctx, Func func, T &&... args) { in exglCall() argument
62 return std::apply(func, std::move(args)); in exglCall()
70 func(uniform, static_cast<int>(data.size() / dim), data.data()); in exglUniformv()
78 Func func, in exglUniformMatrixv() argument
106 std::function<void(GLsizei, EXGLObjectId *)> func, in exglGenObject() argument
110 func(1, &buffer); in exglGenObject()
119 std::function<GLuint()> func, in exglCreateObject() argument
121 auto id = ctx->addFutureToNextBatch(runtime, [=] { return func(); }); in exglCreateObject()
127 ctx->addToNextBatch([=] { func(ctx->lookupObject(id)); }); in exglDeleteObject()
134 std::function<void(GLsizei, const EXGLObjectId *)> func) { in exglDeleteObject() argument
[all …]
/expo/ios/versioned/sdk47/EXGL/common/
H A DABI47_0_0EXWebGLMethodsHelpers.h60 inline jsi::Value exglCall(ABI47_0_0EXGLContext *ctx, Func func, T &&... args) { in exglCall() argument
62 return std::apply(func, std::move(args)); in exglCall()
70 func(uniform, static_cast<int>(data.size() / dim), data.data()); in exglUniformv()
78 Func func, in exglUniformMatrixv() argument
106 std::function<void(GLsizei, ABI47_0_0EXGLObjectId *)> func, in exglGenObject() argument
110 func(1, &buffer); in exglGenObject()
119 std::function<GLuint()> func, in exglCreateObject() argument
121 auto id = ctx->addFutureToNextBatch(runtime, [=] { return func(); }); in exglCreateObject()
127 ctx->addToNextBatch([=] { func(ctx->lookupObject(id)); }); in exglDeleteObject()
134 std::function<void(GLsizei, const ABI47_0_0EXGLObjectId *)> func) { in exglDeleteObject() argument
[all …]
/expo/ios/versioned/sdk48/ExpoGL/common/
H A DABI48_0_0EXWebGLMethodsHelpers.h60 inline jsi::Value exglCall(ABI48_0_0EXGLContext *ctx, Func func, T &&... args) { in exglCall() argument
62 return std::apply(func, std::move(args)); in exglCall()
70 func(uniform, static_cast<int>(data.size() / dim), data.data()); in exglUniformv()
78 Func func, in exglUniformMatrixv() argument
106 std::function<void(GLsizei, ABI48_0_0EXGLObjectId *)> func, in exglGenObject() argument
110 func(1, &buffer); in exglGenObject()
119 std::function<GLuint()> func, in exglCreateObject() argument
121 auto id = ctx->addFutureToNextBatch(runtime, [=] { return func(); }); in exglCreateObject()
127 ctx->addToNextBatch([=] { func(ctx->lookupObject(id)); }); in exglDeleteObject()
134 std::function<void(GLsizei, const ABI48_0_0EXGLObjectId *)> func) { in exglDeleteObject() argument
[all …]
/expo/ios/versioned/sdk49/ExpoGL/common/
H A DABI49_0_0EXWebGLMethodsHelpers.h60 inline jsi::Value exglCall(ABI49_0_0EXGLContext *ctx, Func func, T &&... args) { in exglCall() argument
62 return std::apply(func, std::move(args)); in exglCall()
70 func(uniform, static_cast<int>(data.size() / dim), data.data()); in exglUniformv()
78 Func func, in exglUniformMatrixv() argument
106 std::function<void(GLsizei, ABI49_0_0EXGLObjectId *)> func, in exglGenObject() argument
110 func(1, &buffer); in exglGenObject()
119 std::function<GLuint()> func, in exglCreateObject() argument
121 auto id = ctx->addFutureToNextBatch(runtime, [=] { return func(); }); in exglCreateObject()
127 ctx->addToNextBatch([=] { func(ctx->lookupObject(id)); }); in exglDeleteObject()
134 std::function<void(GLsizei, const ABI49_0_0EXGLObjectId *)> func) { in exglDeleteObject() argument
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/hermes/inspector/detail/
H A DABI48_0_0SerialExecutor.cpp28 void SerialExecutor::add(folly::Func func) { in add() argument
30 funcs_.push(std::move(func)); in add()
37 folly::Func func; in runLoop() local
44 func = std::move(funcs_.front()); in runLoop()
51 if (func) { in runLoop()
52 func(); in runLoop()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/hermes/inspector/detail/
H A DABI47_0_0SerialExecutor.cpp28 void SerialExecutor::add(folly::Func func) { in add() argument
30 funcs_.push(std::move(func)); in add()
37 folly::Func func; in runLoop() local
44 func = std::move(funcs_.front()); in runLoop()
51 if (func) { in runLoop()
52 func(); in runLoop()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/hermes/inspector/detail/
H A DABI49_0_0SerialExecutor.cpp28 void SerialExecutor::add(folly::Func func) { in add() argument
30 funcs_.push(std::move(func)); in add()
37 folly::Func func; in runLoop() local
44 func = std::move(funcs_.front()); in runLoop()
51 if (func) { in runLoop()
52 func(); in runLoop()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/debug/
H A DABI48_0_0react_native_assert.cpp15 const char *func,
21 const char *func, in ABI48_0_0React_native_assert_fail() argument
32 func, in ABI48_0_0React_native_assert_fail()
41 func, in ABI48_0_0React_native_assert_fail()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/debug/
H A DABI49_0_0react_native_assert.cpp15 const char *func,
21 const char *func, in ABI49_0_0React_native_assert_fail() argument
32 func, in ABI49_0_0React_native_assert_fail()
41 func, in ABI49_0_0React_native_assert_fail()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/debug/
H A DABI47_0_0react_native_assert.cpp15 const char *func,
21 const char *func, in ABI47_0_0React_native_assert_fail() argument
32 func, in ABI47_0_0React_native_assert_fail()
41 func, in ABI47_0_0React_native_assert_fail()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/CxxModule/
H A DABI47_0_0DispatchMessageQueueThread.h24 void runOnQueue(std::function<void()> &&func) override in runOnQueue() argument
27 dispatch_block_t block = [func = std::move(func)] { func(); }; in runOnQueue()
33 void runOnQueueSync(std::function<void()> &&__unused func) override in runOnQueueSync() argument
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/CxxModule/
H A DABI49_0_0DispatchMessageQueueThread.h24 void runOnQueue(std::function<void()> &&func) override in runOnQueue() argument
27 dispatch_block_t block = [func = std::move(func)] { func(); }; in runOnQueue()
33 void runOnQueueSync(std::function<void()> &&__unused func) override in runOnQueueSync() argument
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/CxxModule/
H A DABI48_0_0DispatchMessageQueueThread.h24 void runOnQueue(std::function<void()> &&func) override in runOnQueue() argument
27 dispatch_block_t block = [func = std::move(func)] { func(); }; in runOnQueue()
33 void runOnQueueSync(std::function<void()> &&__unused func) override in runOnQueueSync() argument
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/callinvoker/ReactCommon/
H A DABI49_0_0CallInvoker.h26 virtual void invokeAsync(CallFunc &&func) = 0;
27 virtual void invokeAsync(SchedulerPriority /*priority*/, CallFunc &&func) { in invokeAsync() argument
30 invokeAsync(std::move(func)); in invokeAsync()
32 virtual void invokeSync(CallFunc &&func) = 0;
/expo/packages/expo-dev-launcher/bundle/functions/
H A Ddebounce.ts1 export function debounce<T>(func: (...args: T[]) => unknown, delay = 200): typeof func {
5 timeout = setTimeout(() => func(...args), delay);
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI48_0_0ErrorUtils.h31 auto func = errorUtils.asObject(runtime).getPropertyAsFunction( in handleJSError() local
34 func.call(runtime, error.value()); in handleJSError()
36 auto func = errorUtils.asObject(runtime).getPropertyAsFunction( in handleJSError() local
39 func.call(runtime, error.value()); in handleJSError()
H A DABI48_0_0CxxModule.h79 assert(func || syncFunc); in getType()
80 return func ? (isPromise ? "promise" : "async") : "sync"; in getType()
89 func(std::bind(std::move(afunc))) {} in Method()
103 func(std::bind( in Method()
114 func(std::move(afunc)) {} in Method()
123 func(std::move(afunc)) {} in Method()
132 func(std::bind(method, t)) {} in Method()
139 func(std::bind(method, t, std::placeholders::_1)) {} in Method()
146 func(std::bind( in Method()
160 func(std::bind( in Method()
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI47_0_0ErrorUtils.h31 auto func = errorUtils.asObject(runtime).getPropertyAsFunction( in handleJSError() local
34 func.call(runtime, error.value()); in handleJSError()
36 auto func = errorUtils.asObject(runtime).getPropertyAsFunction( in handleJSError() local
39 func.call(runtime, error.value()); in handleJSError()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI49_0_0ErrorUtils.h31 auto func = errorUtils.asObject(runtime).getPropertyAsFunction( in handleJSError() local
34 func.call(runtime, error.value()); in handleJSError()
36 auto func = errorUtils.asObject(runtime).getPropertyAsFunction( in handleJSError() local
39 func.call(runtime, error.value()); in handleJSError()

123456789