Home
last modified time | relevance | path

Searched refs:getFunction (Results 1 – 25 of 101) sorted by relevance

12345

/expo/packages/expo-modules-core/android/src/androidTest/java/expo/modules/kotlin/jni/
H A DJavaScriptFunctionTest.kt24 val jsFunction = jsValue.getFunction() in <lambda>()
30 val function = jsiInterop.evaluateScript("() => { return 21 }").getFunction<Int>() in <lambda>()
37 val function = jsiInterop.evaluateScript("(a, b) => { return a + b }").getFunction<Int>() in <lambda>()
44 … val function = jsiInterop.evaluateScript("(object) => { return object.k1 }").getFunction<String>() in <lambda>()
/expo/android/vendored/sdk48/react-native-reanimated/Common/cpp/Registries/
H A DWorkletsCache.cpp17 return eval(rt, ("(" + code + ")").c_str()).getObject(rt).getFunction(rt); in function()
20 std::shared_ptr<jsi::Function> WorkletsCache::getFunction( in getFunction() function in reanimated::WorkletsCache
H A DWorkletsCache.h19 std::shared_ptr<jsi::Function> getFunction(
/expo/ios/vendored/sdk47/react-native-reanimated/Common/cpp/Registries/
H A DWorkletsCache.cpp17 return eval(rt, ("(" + code + ")").c_str()).getObject(rt).getFunction(rt); in function()
20 std::shared_ptr<jsi::Function> WorkletsCache::getFunction( in getFunction() function in ABI47_0_0reanimated::WorkletsCache
H A DWorkletsCache.h19 std::shared_ptr<jsi::Function> getFunction(
/expo/ios/vendored/sdk48/react-native-reanimated/Common/cpp/Registries/
H A DWorkletsCache.cpp17 return eval(rt, ("(" + code + ")").c_str()).getObject(rt).getFunction(rt); in function()
20 std::shared_ptr<jsi::Function> WorkletsCache::getFunction( in getFunction() function in ABI48_0_0reanimated::WorkletsCache
H A DWorkletsCache.h19 std::shared_ptr<jsi::Function> getFunction(
/expo/android/vendored/sdk47/react-native-reanimated/Common/cpp/Registries/
H A DWorkletsCache.cpp17 return eval(rt, ("(" + code + ")").c_str()).getObject(rt).getFunction(rt); in function()
20 std::shared_ptr<jsi::Function> WorkletsCache::getFunction( in getFunction() function in reanimated::WorkletsCache
H A DWorkletsCache.h19 std::shared_ptr<jsi::Function> getFunction(
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/jni/
H A DJavaScriptValue.kt38 inline fun <reified ReturnType : Any?> getFunction(): JavaScriptFunction<ReturnType> { in isValid() method in expo.modules.kotlin.jni.JavaScriptValue
44 fun getFunction(): JavaScriptFunction<Unit> { in getFunction() method in expo.modules.kotlin.jni.JavaScriptValue
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/jni/
H A DJavaScriptValue.kt38 inline fun <reified ReturnType : Any?> getFunction(): JavaScriptFunction<ReturnType> { in isValid() method in abi49_0_0.expo.modules.kotlin.jni.JavaScriptValue
44 fun getFunction(): JavaScriptFunction<Unit> { in getFunction() method
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/nativemodule/core/ReactCommon/
H A DABI48_0_0TurboCxxModule.cpp174 args[count - 1].getObject(runtime).getFunction(runtime), in invokeMethod()
180 args[count - 2].getObject(runtime).getFunction(runtime), in invokeMethod()
184 args[count - 1].getObject(runtime).getFunction(runtime), in invokeMethod()
203 promise->resolve_.getFunction(rt), rt, jsInvoker_); in invokeMethod()
205 promise->reject_.getFunction(rt), rt, jsInvoker_); in invokeMethod()
H A DABI48_0_0TurboModuleUtils.cpp36 return o.getFunction(rt); in deepCopyJSIValue()
93 jsi::Function resolve = args[0].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
94 jsi::Function reject = args[1].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/nativemodule/core/ReactCommon/
H A DABI49_0_0TurboCxxModule.cpp179 args[count - 1].getObject(runtime).getFunction(runtime), in invokeMethod()
185 args[count - 2].getObject(runtime).getFunction(runtime), in invokeMethod()
189 args[count - 1].getObject(runtime).getFunction(runtime), in invokeMethod()
208 promise->resolve_.getFunction(rt), rt, jsInvoker_); in invokeMethod()
210 promise->reject_.getFunction(rt), rt, jsInvoker_); in invokeMethod()
H A DABI49_0_0TurboModuleUtils.cpp36 return o.getFunction(rt); in deepCopyJSIValue()
93 jsi::Function resolve = args[0].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
94 jsi::Function reject = args[1].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/nativemodule/core/ReactCommon/
H A DABI47_0_0TurboCxxModule.cpp174 args[count - 1].getObject(runtime).getFunction(runtime), in invokeMethod()
180 args[count - 2].getObject(runtime).getFunction(runtime), in invokeMethod()
184 args[count - 1].getObject(runtime).getFunction(runtime), in invokeMethod()
203 promise->resolve_.getFunction(rt), rt, jsInvoker_); in invokeMethod()
205 promise->reject_.getFunction(rt), rt, jsInvoker_); in invokeMethod()
H A DABI47_0_0TurboModuleUtils.cpp36 return o.getFunction(rt); in deepCopyJSIValue()
93 jsi::Function resolve = args[0].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
94 jsi::Function reject = args[1].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
/expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/jsi/
H A DJsiPromises.cpp28 jsi::Function resolve = args[0].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
29 jsi::Function reject = args[1].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
/expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/jsi/
H A DJsiPromises.cpp28 jsi::Function resolve = args[0].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
29 jsi::Function reject = args[1].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
/expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/jsi/
H A DJsiPromises.cpp28 jsi::Function resolve = args[0].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
29 jsi::Function reject = args[1].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
/expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/jsi/
H A DJsiPromises.cpp28 jsi::Function resolve = args[0].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
29 jsi::Function reject = args[1].getObject(rt2).getFunction(rt2); in createPromiseAsJSIValue()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI48_0_0RuntimeScheduler.cpp102 result.getObject(runtime).getFunction(runtime); in callExpiredTasks()
147 result.getObject(runtime).getFunction(runtime); in startWorkLoop()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/runtimescheduler/
H A DABI47_0_0RuntimeScheduler.cpp102 result.getObject(runtime).getFunction(runtime); in callExpiredTasks()
147 result.getObject(runtime).getFunction(runtime); in startWorkLoop()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/jsi/jsi/test/
H A DABI49_0_0testlib.h35 return eval(("(" + code + ")").c_str()).getObject(rt).getFunction(rt); in function()
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/jsi/jsi/test/
H A DABI48_0_0testlib.h35 return eval(("(" + code + ")").c_str()).getObject(rt).getFunction(rt); in function()

12345