Home
last modified time | relevance | path

Searched refs:R (Results 1 – 25 of 369) sorted by relevance

12345678910>>...15

/expo/packages/expo-modules-core/ios/Swift/Classes/
H A DClassComponentFactories.swift6 public func Constructor<R>(
7 @_implicitSelfCapture _ body: @escaping () throws -> R
8 ) -> SyncFunctionComponent<(), Void, R> {
15 public func Constructor<R, A0: AnyArgument>(
16 @_implicitSelfCapture _ body: @escaping (A0) throws -> R
17 ) -> SyncFunctionComponent<(A0), A0, R> {
24 public func Constructor<R, A0: AnyArgument, A1: AnyArgument>(
26 ) -> SyncFunctionComponent<(A0, A1), A0, R> {
35 ) -> SyncFunctionComponent<(A0, A1, A2), A0, R> {
44 ) -> SyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponentFactories.swift6 public func Constructor<R>(
7 @_implicitSelfCapture _ body: @escaping () throws -> R
8 ) -> SyncFunctionComponent<(), Void, R> {
15 public func Constructor<R, A0: AnyArgument>(
16 @_implicitSelfCapture _ body: @escaping (A0) throws -> R
17 ) -> SyncFunctionComponent<(A0), A0, R> {
24 public func Constructor<R, A0: AnyArgument, A1: AnyArgument>(
26 ) -> SyncFunctionComponent<(A0, A1), A0, R> {
35 ) -> SyncFunctionComponent<(A0, A1, A2), A0, R> {
44 ) -> SyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
[all …]
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponentFactories.swift6 public func Constructor<R>(
7 @_implicitSelfCapture _ body: @escaping () throws -> R
8 ) -> SyncFunctionComponent<(), Void, R> {
15 public func Constructor<R, A0: AnyArgument>(
16 @_implicitSelfCapture _ body: @escaping (A0) throws -> R
17 ) -> SyncFunctionComponent<(A0), A0, R> {
24 public func Constructor<R, A0: AnyArgument, A1: AnyArgument>(
26 ) -> SyncFunctionComponent<(A0, A1), A0, R> {
35 ) -> SyncFunctionComponent<(A0, A1, A2), A0, R> {
44 ) -> SyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
[all …]
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponentFactories.swift6 public func Constructor<R>(
7 @_implicitSelfCapture _ body: @escaping () throws -> R
8 ) -> SyncFunctionComponent<(), Void, R> {
15 public func Constructor<R, A0: AnyArgument>(
16 @_implicitSelfCapture _ body: @escaping (A0) throws -> R
17 ) -> SyncFunctionComponent<(A0), A0, R> {
24 public func Constructor<R, A0: AnyArgument, A1: AnyArgument>(
26 ) -> SyncFunctionComponent<(A0, A1), A0, R> {
35 ) -> SyncFunctionComponent<(A0, A1, A2), A0, R> {
44 ) -> SyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/jsi/jsi/
H A DABI49_0_0threadsafe.h27 template <typename R, typename L>
30 WithLock(R& r) : lock(r) {} in WithLock()
47 template <typename R, typename L>
49 : public WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime> {
53 : WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime>( in ThreadSafeRuntimeImpl()
59 R& getUnsafeRuntime() override { in getUnsafeRuntime()
60 return WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime>::plain(); in getUnsafeRuntime()
72 R unsafe_;
73 mutable WithLock<R, L> lock_;
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/jsi/jsi/
H A DABI48_0_0threadsafe.h27 template <typename R, typename L>
30 WithLock(R& r) : lock(r) {} in WithLock()
47 template <typename R, typename L>
49 : public WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime> {
53 : WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime>( in ThreadSafeRuntimeImpl()
59 R& getUnsafeRuntime() override { in getUnsafeRuntime()
60 return WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime>::plain(); in getUnsafeRuntime()
72 R unsafe_;
73 mutable WithLock<R, L> lock_;
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/jsi/jsi/
H A DABI47_0_0threadsafe.h27 template <typename R, typename L>
30 WithLock(R& r) : lock(r) {} in WithLock()
47 template <typename R, typename L>
49 : public WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime> {
53 : WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime>( in ThreadSafeRuntimeImpl()
59 R& getUnsafeRuntime() override { in getUnsafeRuntime()
60 return WithRuntimeDecorator<WithLock<R, L>, R, ThreadSafeRuntime>::plain(); in getUnsafeRuntime()
72 R unsafe_;
73 mutable WithLock<R, L> lock_;
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/functions/
H A DAsyncFunctionBuilder.kt13 inline fun <reified R> SuspendBody(crossinline block: suspend () -> R): SuspendFunctionComponent { in SuspendBody()
19 …inline fun <reified R, reified P0> SuspendBody(crossinline block: suspend (p0: P0) -> R): SuspendF… in SuspendBody()
25 …inline fun <reified R, reified P0, reified P1> SuspendBody(crossinline block: suspend (p0: P0, p1:… in SuspendBody()
31 …inline fun <reified R, reified P0, reified P1, reified P2> SuspendBody(crossinline block: suspend … in SuspendBody()
37 …fun <reified R, reified P0, reified P1, reified P2, reified P3> SuspendBody(crossinline block: sus… in SuspendBody()
43 …ed R, reified P0, reified P1, reified P2, reified P3, reified P4> SuspendBody(crossinline block: s… in SuspendBody()
70 inline infix fun <reified R> AsyncFunctionBuilder.Coroutine(crossinline block: suspend () -> R) = S…
71 inline infix fun <reified R, reified P0> AsyncFunctionBuilder.Coroutine(crossinline block: suspend …
72 inline infix fun <reified R, reified P0, reified P1> AsyncFunctionBuilder.Coroutine(crossinline blo…
73 …infix fun <reified R, reified P0, reified P1, reified P2> AsyncFunctionBuilder.Coroutine(crossinli…
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/functions/
H A DAsyncFunctionBuilder.kt13 inline fun <reified R> SuspendBody(crossinline block: suspend () -> R): SuspendFunctionComponent { in SuspendBody()
19 …inline fun <reified R, reified P0> SuspendBody(crossinline block: suspend (p0: P0) -> R): SuspendF… in SuspendBody()
25 …inline fun <reified R, reified P0, reified P1> SuspendBody(crossinline block: suspend (p0: P0, p1:… in SuspendBody()
31 …inline fun <reified R, reified P0, reified P1, reified P2> SuspendBody(crossinline block: suspend … in SuspendBody()
37 …fun <reified R, reified P0, reified P1, reified P2, reified P3> SuspendBody(crossinline block: sus… in SuspendBody()
43 …ed R, reified P0, reified P1, reified P2, reified P3, reified P4> SuspendBody(crossinline block: s… in SuspendBody()
70 inline infix fun <reified R> AsyncFunctionBuilder.Coroutine(crossinline block: suspend () -> R) = S…
71 inline infix fun <reified R, reified P0> AsyncFunctionBuilder.Coroutine(crossinline block: suspend …
72 inline infix fun <reified R, reified P0, reified P1> AsyncFunctionBuilder.Coroutine(crossinline blo…
73 …infix fun <reified R, reified P0, reified P1, reified P2> AsyncFunctionBuilder.Coroutine(crossinli…
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/functions/
H A DAsyncFunctionBuilder.kt13 inline fun <reified R> SuspendBody(crossinline block: suspend () -> R): SuspendFunctionComponent { in SuspendBody()
19 …inline fun <reified R, reified P0> SuspendBody(crossinline block: suspend (p0: P0) -> R): SuspendF… in SuspendBody()
25 …inline fun <reified R, reified P0, reified P1> SuspendBody(crossinline block: suspend (p0: P0, p1:… in SuspendBody()
31 …inline fun <reified R, reified P0, reified P1, reified P2> SuspendBody(crossinline block: suspend … in SuspendBody()
37 …fun <reified R, reified P0, reified P1, reified P2, reified P3> SuspendBody(crossinline block: sus… in SuspendBody()
43 …ed R, reified P0, reified P1, reified P2, reified P3, reified P4> SuspendBody(crossinline block: s… in SuspendBody()
70 inline infix fun <reified R> AsyncFunctionBuilder.Coroutine(crossinline block: suspend () -> R) = S…
71 inline infix fun <reified R, reified P0> AsyncFunctionBuilder.Coroutine(crossinline block: suspend …
72 inline infix fun <reified R, reified P0, reified P1> AsyncFunctionBuilder.Coroutine(crossinline blo…
73 …infix fun <reified R, reified P0, reified P1, reified P2> AsyncFunctionBuilder.Coroutine(crossinli…
[all …]
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Functions/
H A DSyncFunctionComponent.swift98 public func Function<R>(
100 @_implicitSelfCapture _ closure: @escaping () throws -> R
101 ) -> SyncFunctionComponent<(), Void, R> {
113 public func Function<R, A0: AnyArgument>(
115 @_implicitSelfCapture _ closure: @escaping (A0) throws -> R
116 ) -> SyncFunctionComponent<(A0), A0, R> {
128 public func Function<R, A0: AnyArgument, A1: AnyArgument>(
131 ) -> SyncFunctionComponent<(A0, A1), A0, R> {
146 ) -> SyncFunctionComponent<(A0, A1, A2), A0, R> {
165 ) -> SyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
[all …]
H A DAsyncFunctionComponent.swift155 public func AsyncFunction<R>(
157 @_implicitSelfCapture _ closure: @escaping () throws -> R
158 ) -> AsyncFunctionComponent<(), Void, R> {
170 public func AsyncFunction<R, A0: AnyArgument>(
172 @_implicitSelfCapture _ closure: @escaping (A0) throws -> R
173 ) -> AsyncFunctionComponent<(A0), A0, R> {
188 ) -> AsyncFunctionComponent<(A0, A1), A0, R> {
203 ) -> AsyncFunctionComponent<(A0, A1, A2), A0, R> {
222 ) -> AsyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
242 ) -> AsyncFunctionComponent<(A0, A1, A2, A3, A4), A0, R> {
[all …]
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Functions/
H A DSyncFunctionComponent.swift102 public func Function<R>(
104 @_implicitSelfCapture _ closure: @escaping () throws -> R
105 ) -> SyncFunctionComponent<(), Void, R> {
117 public func Function<R, A0: AnyArgument>(
119 @_implicitSelfCapture _ closure: @escaping (A0) throws -> R
120 ) -> SyncFunctionComponent<(A0), A0, R> {
132 public func Function<R, A0: AnyArgument, A1: AnyArgument>(
135 ) -> SyncFunctionComponent<(A0, A1), A0, R> {
150 ) -> SyncFunctionComponent<(A0, A1, A2), A0, R> {
169 ) -> SyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
[all …]
H A DConcurrentFunctionDefinition.swift92 public func AsyncFunction<R>(
94 @_implicitSelfCapture _ closure: @escaping () async throws -> R
95 ) -> ConcurrentFunctionDefinition<(), Void, R> {
107 public func AsyncFunction<R, A0: AnyArgument>(
110 ) -> ConcurrentFunctionDefinition<(A0), A0, R> {
122 public func AsyncFunction<R, A0: AnyArgument, A1: AnyArgument>(
125 ) -> ConcurrentFunctionDefinition<(A0, A1), A0, R> {
140 ) -> ConcurrentFunctionDefinition<(A0, A1, A2), A0, R> {
159 ) -> ConcurrentFunctionDefinition<(A0, A1, A2, A3), A0, R> {
179 ) -> ConcurrentFunctionDefinition<(A0, A1, A2, A3, A4), A0, R> {
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI48_0_0JsArgumentHelpers-inl.h34 template <typename R, typename... T>
35 R jsArg( in jsArg()
37 R (folly::dynamic::*asFoo)() const, in jsArg()
42 template <typename R, typename... T>
43 R jsArg( in jsArg()
45 R (folly::dynamic::*asFoo)() const &, in jsArg()
67 template <typename R>
68 R jsArgN( in jsArgN()
71 R (folly::dynamic::*asFoo)() const) { in jsArgN()
74 template <typename R>
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI47_0_0JsArgumentHelpers-inl.h34 template <typename R, typename... T>
35 R jsArg( in jsArg()
37 R (folly::dynamic::*asFoo)() const, in jsArg()
42 template <typename R, typename... T>
43 R jsArg( in jsArg()
45 R (folly::dynamic::*asFoo)() const &, in jsArg()
67 template <typename R>
68 R jsArgN( in jsArgN()
71 R (folly::dynamic::*asFoo)() const) { in jsArgN()
74 template <typename R>
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI49_0_0JsArgumentHelpers-inl.h34 template <typename R, typename... T>
35 R jsArg( in jsArg()
37 R (folly::dynamic::*asFoo)() const, in jsArg()
42 template <typename R, typename... T>
43 R jsArg( in jsArg()
45 R (folly::dynamic::*asFoo)() const &, in jsArg()
67 template <typename R>
68 R jsArgN( in jsArgN()
71 R (folly::dynamic::*asFoo)() const) { in jsArgN()
74 template <typename R>
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/bridging/
H A DABI48_0_0Function.h59 template <typename R, typename... Args>
60 class SyncCallback<R(Args...)> {
81 R operator()(Args... args) const { in operator()
85 R call(Args... args) const { in call()
95 if constexpr (std::is_void_v<R>) { in call()
99 return bridging::fromJs<R>( in call()
140 template <typename R, typename... Args>
156 template <typename R, typename... Args>
194 static R callFromJs(
209 struct Bridging<R(Args...)> : Bridging<folly::Function<R(Args...)>> {};
[all …]
/expo/packages/expo-modules-core/ios/Swift/Functions/
H A DSyncFunctionComponent.swift113 public func Function<R>(
115 @_implicitSelfCapture _ closure: @escaping () throws -> R
116 ) -> SyncFunctionComponent<(), Void, R> {
128 public func Function<R, A0: AnyArgument>(
130 @_implicitSelfCapture _ closure: @escaping (A0) throws -> R
131 ) -> SyncFunctionComponent<(A0), A0, R> {
143 public func Function<R, A0: AnyArgument, A1: AnyArgument>(
146 ) -> SyncFunctionComponent<(A0, A1), A0, R> {
161 ) -> SyncFunctionComponent<(A0, A1, A2), A0, R> {
180 ) -> SyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
[all …]
H A DConcurrentFunctionDefinition.swift108 public func AsyncFunction<R>(
110 @_implicitSelfCapture _ closure: @escaping () async throws -> R
111 ) -> ConcurrentFunctionDefinition<(), Void, R> {
123 public func AsyncFunction<R, A0: AnyArgument>(
126 ) -> ConcurrentFunctionDefinition<(A0), A0, R> {
138 public func AsyncFunction<R, A0: AnyArgument, A1: AnyArgument>(
141 ) -> ConcurrentFunctionDefinition<(A0, A1), A0, R> {
156 ) -> ConcurrentFunctionDefinition<(A0, A1, A2), A0, R> {
175 ) -> ConcurrentFunctionDefinition<(A0, A1, A2, A3), A0, R> {
195 ) -> ConcurrentFunctionDefinition<(A0, A1, A2, A3, A4), A0, R> {
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Functions/
H A DSyncFunctionComponent.swift113 public func Function<R>(
115 @_implicitSelfCapture _ closure: @escaping () throws -> R
116 ) -> SyncFunctionComponent<(), Void, R> {
128 public func Function<R, A0: AnyArgument>(
130 @_implicitSelfCapture _ closure: @escaping (A0) throws -> R
131 ) -> SyncFunctionComponent<(A0), A0, R> {
143 public func Function<R, A0: AnyArgument, A1: AnyArgument>(
146 ) -> SyncFunctionComponent<(A0, A1), A0, R> {
161 ) -> SyncFunctionComponent<(A0, A1, A2), A0, R> {
180 ) -> SyncFunctionComponent<(A0, A1, A2, A3), A0, R> {
[all …]
H A DConcurrentFunctionDefinition.swift108 public func AsyncFunction<R>(
110 @_implicitSelfCapture _ closure: @escaping () async throws -> R
111 ) -> ConcurrentFunctionDefinition<(), Void, R> {
123 public func AsyncFunction<R, A0: AnyArgument>(
126 ) -> ConcurrentFunctionDefinition<(A0), A0, R> {
138 public func AsyncFunction<R, A0: AnyArgument, A1: AnyArgument>(
141 ) -> ConcurrentFunctionDefinition<(A0, A1), A0, R> {
156 ) -> ConcurrentFunctionDefinition<(A0, A1, A2), A0, R> {
175 ) -> ConcurrentFunctionDefinition<(A0, A1, A2, A3), A0, R> {
195 ) -> ConcurrentFunctionDefinition<(A0, A1, A2, A3, A4), A0, R> {
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/bridging/
H A DABI47_0_0Function.h59 template <typename R, typename... Args>
60 class SyncCallback<R(Args...)> {
81 R operator()(Args... args) const { in operator()
85 R call(Args... args) const { in call()
95 if constexpr (std::is_void_v<R>) { in call()
99 return bridging::fromJs<R>( in call()
140 template <typename R, typename... Args>
156 template <typename R, typename... Args>
194 static R callFromJs(
209 struct Bridging<R(Args...)> : Bridging<folly::Function<R(Args...)>> {};
[all …]
/expo/android/expoview/src/main/java/host/exp/exponent/utils/
H A DScopedPermissionsRequester.kt14 import host.exp.expoview.R
114 R.string.experience_needs_permissions, in requestExperienceAndGlobalPermissions()
126 Manifest.permission.CAMERA -> R.string.perm_camera in permissionToResId()
127 Manifest.permission.READ_CONTACTS -> R.string.perm_contacts_read in permissionToResId()
128 Manifest.permission.WRITE_CONTACTS -> R.string.perm_contacts_write in permissionToResId()
132 Manifest.permission.RECORD_AUDIO -> R.string.perm_audio_recording in permissionToResId()
134 Manifest.permission.READ_CALENDAR -> R.string.perm_calendar_read in permissionToResId()
135 Manifest.permission.WRITE_CALENDAR -> R.string.perm_calendar_write in permissionToResId()
139 Manifest.permission.READ_PHONE_STATE -> R.string.perm_read_phone_state in permissionToResId()
142 Manifest.permission.READ_MEDIA_AUDIO -> R.string.perm_read_media_audio in permissionToResId()
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/bridging/
H A DABI49_0_0Function.h74 template <typename R, typename... Args>
75 class SyncCallback<R(Args...)> {
96 R operator()(Args... args) const { in operator()
100 R call(Args... args) const { in call()
110 if constexpr (std::is_void_v<R>) { in call()
114 return bridging::fromJs<R>( in call()
209 static R callFromJs(
221 std::function<R(Args...)>,
223 std::function<R(Args...)>,
228 struct Bridging<R(Args...)> : Bridging<butter::function<R(Args...)>> {};
[all …]

12345678910>>...15