Home
last modified time | relevance | path

Searched refs:body (Results 1 – 25 of 725) sorted by relevance

12345678910>>...29

/expo/packages/expo-modules-core/ios/Swift/Objects/
H A DObjectDefinitionComponents.swift6 public func Object(@ObjectDefinitionBuilder @_implicitSelfCapture _ body: () -> [AnyDefinition]) ->…
7 return ObjectDefinition(definitions: body())
15 public func Constants(@_implicitSelfCapture _ body: @escaping () -> [String: Any?]) -> AnyDefinitio…
16 return ConstantsDefinition(body: body)
22 public func Constants(@_implicitSelfCapture _ body: @autoclosure @escaping () -> [String: Any?]) ->…
23 return ConstantsDefinition(body: body)
45 public func OnStartObserving(@_implicitSelfCapture _ body: @escaping () -> Void) -> AsyncFunctionCo…
46 …n AsyncFunctionComponent("startObserving", firstArgType: Void.self, dynamicArgumentTypes: [], body)
52 public func OnStopObserving(@_implicitSelfCapture _ body: @escaping () -> Void) -> AsyncFunctionCom…
53 …rn AsyncFunctionComponent("stopObserving", firstArgType: Void.self, dynamicArgumentTypes: [], body)
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Objects/
H A DObjectDefinitionComponents.swift6 public func Object(@ObjectDefinitionBuilder @_implicitSelfCapture _ body: () -> [AnyDefinition]) ->…
7 return ObjectDefinition(definitions: body())
15 public func Constants(@_implicitSelfCapture _ body: @escaping () -> [String: Any?]) -> AnyDefinitio…
16 return ConstantsDefinition(body: body)
22 public func Constants(@_implicitSelfCapture _ body: @autoclosure @escaping () -> [String: Any?]) ->…
23 return ConstantsDefinition(body: body)
45 public func OnStartObserving(@_implicitSelfCapture _ body: @escaping () -> Void) -> AsyncFunctionCo…
46 …n AsyncFunctionComponent("startObserving", firstArgType: Void.self, dynamicArgumentTypes: [], body)
52 public func OnStopObserving(@_implicitSelfCapture _ body: @escaping () -> Void) -> AsyncFunctionCom…
53 …rn AsyncFunctionComponent("stopObserving", firstArgType: Void.self, dynamicArgumentTypes: [], body)
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Objects/
H A DObjectDefinitionComponents.swift6 public func Object(@ObjectDefinitionBuilder @_implicitSelfCapture _ body: () -> [AnyDefinition]) ->…
7 return ObjectDefinition(definitions: body())
15 public func Constants(@_implicitSelfCapture _ body: @escaping () -> [String: Any?]) -> AnyDefinitio…
16 return ConstantsDefinition(body: body)
22 public func Constants(@_implicitSelfCapture _ body: @autoclosure @escaping () -> [String: Any?]) ->…
23 return ConstantsDefinition(body: body)
45 public func OnStartObserving(@_implicitSelfCapture _ body: @escaping () -> Void) -> AsyncFunctionCo…
46 …n AsyncFunctionComponent("startObserving", firstArgType: Void.self, dynamicArgumentTypes: [], body)
52 public func OnStopObserving(@_implicitSelfCapture _ body: @escaping () -> Void) -> AsyncFunctionCom…
53 …rn AsyncFunctionComponent("stopObserving", firstArgType: Void.self, dynamicArgumentTypes: [], body)
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Objects/
H A DObjectDefinitionComponents.swift9 public func Constants(@_implicitSelfCapture _ body: @escaping () -> [String: Any?]) -> AnyDefinitio…
10 return ConstantsDefinition(body: body)
16 public func Constants(@_implicitSelfCapture _ body: @autoclosure @escaping () -> [String: Any?]) ->…
17 return ConstantsDefinition(body: body)
32 public func OnStartObserving(@_implicitSelfCapture _ body: @escaping () -> Void) -> AsyncFunctionCo…
33 …n AsyncFunctionComponent("startObserving", firstArgType: Void.self, dynamicArgumentTypes: [], body)
39 public func OnStopObserving(@_implicitSelfCapture _ body: @escaping () -> Void) -> AsyncFunctionCom…
40 …rn AsyncFunctionComponent("stopObserving", firstArgType: Void.self, dynamicArgumentTypes: [], body)
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/views/
H A DViewGroupDefinitionBuilder.kt45 crossinline body: (view: ParentType) -> Int in <lambda>()
48 body(view as ParentType) in <lambda>()
57 body(view as ParentType, index) in <lambda>()
63 crossinline body: (view: ParentType, index: Int) -> Unit in <lambda>()
66 body(view as ParentType, index) in <lambda>()
75 body(view as ParentType, child as ChildViewType) in <lambda>()
115 noinline body: (view: ParentViewType) -> Int in GetChildCount()
118 body(view as ParentViewType) in GetChildCount()
126 body(view as ParentViewType, index) in GetChildViewAt()
134 body(view as ParentViewType, index) in RemoveChildViewAt()
[all …]
H A DViewManagerDefinitionBuilder.kt45 viewFactory = body in <lambda>()
52 onViewDestroys = { body(it as ViewType) } in <lambda>()
60 noinline body: (view: ViewType, prop: PropType) -> Unit in <lambda>()
65 body in <lambda>()
74 noinline body: (view: ViewType, name: String, prop: PropType) -> Unit in <lambda>()
80 ) { view, prop -> body(view, name, prop) } in <lambda>()
95 ) { view, prop -> body(view, value, prop) } in <lambda>()
105 noinline body: (view: ViewType, value: Int, prop: PropType) -> Unit in <lambda>()
111 ) { view, prop -> body(view, index, prop) } in <lambda>()
125 inline fun GroupView(body: ViewGroupDefinitionLegacyBuilder.() -> Unit) { in <lambda>()
[all …]
/expo/packages/@expo/cli/src/api/rest/cache/
H A DwrapFetchWithCache.ts91 if (!body) {
92 return body;
95 return body;
98 return body.toString();
101 return body.path;
103 if (body.toString && body.toString() === '[object FormData]') {
107 return body.toString();
127 body: getBodyCacheKeyJson(req.body),
141 resourceCacheKeyJson.body = getBodyCacheKeyJson(resourceCacheKeyJson.body);
142 initCacheKeyJson.body = getBodyCacheKeyJson(initCacheKeyJson.body);
[all …]
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/modules/
H A DModuleDefinitionBuilder.kt67 body.invoke(viewDefinitionBuilder) in <lambda>()
74 inline fun OnCreate(crossinline body: () -> Unit) { in <lambda>()
82 registerContracts = body in <lambda>()
88 inline fun OnDestroy(crossinline body: () -> Unit) { in <lambda>()
95 inline fun OnActivityEntersForeground(crossinline body: () -> Unit) { in <lambda>()
102 inline fun OnActivityEntersBackground(crossinline body: () -> Unit) { in <lambda>()
109 inline fun OnActivityDestroys(crossinline body: () -> Unit) { in <lambda>()
116 inline fun OnNewIntent(crossinline body: (Intent) -> Unit) { in <lambda>()
130 body.invoke(clazzBuilder) in <lambda>()
136 body: ClassComponentBuilder<SharedObjectType>.() -> Unit = {} in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/modules/
H A DModuleDefinitionBuilder.kt67 body.invoke(viewDefinitionBuilder) in <lambda>()
74 inline fun OnCreate(crossinline body: () -> Unit) { in <lambda>()
82 registerContracts = body in <lambda>()
88 inline fun OnDestroy(crossinline body: () -> Unit) { in <lambda>()
95 inline fun OnActivityEntersForeground(crossinline body: () -> Unit) { in <lambda>()
102 inline fun OnActivityEntersBackground(crossinline body: () -> Unit) { in <lambda>()
109 inline fun OnActivityDestroys(crossinline body: () -> Unit) { in <lambda>()
116 inline fun OnNewIntent(crossinline body: (Intent) -> Unit) { in <lambda>()
130 body.invoke(clazzBuilder) in <lambda>()
136 body: ClassComponentBuilder<SharedObjectType>.() -> Unit = {} in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/modules/
H A DModuleDefinitionBuilder.kt57 inline fun ViewManager(body: ViewManagerDefinitionBuilder.() -> Unit) { in <lambda>()
61 body.invoke(viewManagerDefinitionBuilder) in <lambda>()
72 body.invoke(viewDefinitionBuilder) in <lambda>()
79 inline fun OnCreate(crossinline body: () -> Unit) { in <lambda>()
86 fun RegisterActivityContracts(body: suspend AppContextActivityResultCaller.() -> Unit) { in <lambda>()
87 registerContracts = body in <lambda>()
93 inline fun OnDestroy(crossinline body: () -> Unit) { in <lambda>()
100 inline fun OnActivityEntersForeground(crossinline body: () -> Unit) { in <lambda>()
107 inline fun OnActivityEntersBackground(crossinline body: () -> Unit) { in <lambda>()
114 inline fun OnActivityDestroys(crossinline body: () -> Unit) { in <lambda>()
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/modules/
H A DModuleDefinitionBuilder.kt57 inline fun ViewManager(body: ViewManagerDefinitionBuilder.() -> Unit) { in <lambda>()
61 body.invoke(viewManagerDefinitionBuilder) in <lambda>()
72 body.invoke(viewDefinitionBuilder) in <lambda>()
79 inline fun OnCreate(crossinline body: () -> Unit) { in <lambda>()
86 fun RegisterActivityContracts(body: suspend AppContextActivityResultCaller.() -> Unit) { in <lambda>()
87 registerContracts = body in <lambda>()
93 inline fun OnDestroy(crossinline body: () -> Unit) { in <lambda>()
100 inline fun OnActivityEntersForeground(crossinline body: () -> Unit) { in <lambda>()
107 inline fun OnActivityEntersBackground(crossinline body: () -> Unit) { in <lambda>()
114 inline fun OnActivityDestroys(crossinline body: () -> Unit) { in <lambda>()
[all …]
/expo/apps/bare-expo/relapse/
H A Dserver.js27 const body = JSON.parse(message);
28 if (body.code === RelapseCode.SerializationError) {
29 console.error(`Client failed to serialize the arguments for a call to ${body.call}`);
30 } else if (body.code === RelapseCode.ProxyCall) {
31 if (!Array.isArray(body.arguments)) {
33 … `Proxied invocation of ${body.call} from the client did not send an array of arguments:`,
34 body.arguments
37 options.onEvent && options.onEvent(body.call, body.arguments);
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/views/
H A DViewGroupDefinitionBuilder.kt36 crossinline body: (parent: ParentType, child: ChildViewType, index: Int) -> Unit in <lambda>()
39 body(parent as ParentType, child as ChildViewType, index) in <lambda>()
45 crossinline body: (view: ParentType) -> Int in <lambda>()
48 body(view as ParentType) in <lambda>()
54 crossinline body: (view: ParentType, index: Int) -> ChildViewType? in <lambda>()
57 body(view as ParentType, index) in <lambda>()
63 crossinline body: (view: ParentType, index: Int) -> Unit in <lambda>()
66 body(view as ParentType, index) in <lambda>()
72 noinline body: (parent: ParentType, child: ChildViewType) -> Unit in <lambda>()
75 body(view as ParentType, child as ChildViewType) in <lambda>()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/views/
H A DViewGroupDefinitionBuilder.kt36 crossinline body: (parent: ParentType, child: ChildViewType, index: Int) -> Unit in <lambda>()
39 body(parent as ParentType, child as ChildViewType, index) in <lambda>()
45 crossinline body: (view: ParentType) -> Int in <lambda>()
48 body(view as ParentType) in <lambda>()
54 crossinline body: (view: ParentType, index: Int) -> ChildViewType? in <lambda>()
57 body(view as ParentType, index) in <lambda>()
63 crossinline body: (view: ParentType, index: Int) -> Unit in <lambda>()
66 body(view as ParentType, index) in <lambda>()
72 noinline body: (parent: ParentType, child: ChildViewType) -> Unit in <lambda>()
75 body(view as ParentType, child as ChildViewType) in <lambda>()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/views/
H A DViewGroupDefinitionBuilder.kt35 noinline body: (parent: ParentViewType, child: ChildViewType, index: Int) -> Unit in <lambda>()
38 body(parent as ParentViewType, child as ChildViewType, index) in <lambda>()
43 noinline body: (view: ParentViewType) -> Int in <lambda>()
46 body(view as ParentViewType) in <lambda>()
51 noinline body: (view: ParentViewType, index: Int) -> ChildViewType? in <lambda>()
54 body(view as ParentViewType, index) in <lambda>()
59 noinline body: (view: ParentViewType, index: Int) -> Unit in <lambda>()
62 body(view as ParentViewType, index) in <lambda>()
67 noinline body: (parent: ParentViewType, child: ChildViewType) -> Unit in <lambda>()
70 body(view as ParentViewType, child as ChildViewType) in <lambda>()
/expo/packages/expo-modules-core/ios/Swift/Classes/
H A DClassComponentFactories.swift7 @_implicitSelfCapture _ body: @escaping () throws -> R
9 return Function("constructor", body)
16 @_implicitSelfCapture _ body: @escaping (A0) throws -> R
18 return Function("constructor", body)
25 @_implicitSelfCapture _ body: @escaping (A0, A1) throws -> R
27 return Function("constructor", body)
34 @_implicitSelfCapture _ body: @escaping (A0, A1, A2) throws -> R
36 return Function("constructor", body)
45 return Function("constructor", body)
54 return Function("constructor", body)
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponentFactories.swift7 @_implicitSelfCapture _ body: @escaping () throws -> R
9 return Function("constructor", body)
16 @_implicitSelfCapture _ body: @escaping (A0) throws -> R
18 return Function("constructor", body)
25 @_implicitSelfCapture _ body: @escaping (A0, A1) throws -> R
27 return Function("constructor", body)
34 @_implicitSelfCapture _ body: @escaping (A0, A1, A2) throws -> R
36 return Function("constructor", body)
45 return Function("constructor", body)
54 return Function("constructor", body)
[all …]
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponentFactories.swift7 @_implicitSelfCapture _ body: @escaping () throws -> R
9 return Function("constructor", body)
16 @_implicitSelfCapture _ body: @escaping (A0) throws -> R
18 return Function("constructor", body)
25 @_implicitSelfCapture _ body: @escaping (A0, A1) throws -> R
27 return Function("constructor", body)
34 @_implicitSelfCapture _ body: @escaping (A0, A1, A2) throws -> R
36 return Function("constructor", body)
45 return Function("constructor", body)
54 return Function("constructor", body)
[all …]
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Classes/
H A DClassComponentFactories.swift7 @_implicitSelfCapture _ body: @escaping () throws -> R
9 return Function("constructor", body)
16 @_implicitSelfCapture _ body: @escaping (A0) throws -> R
18 return Function("constructor", body)
25 @_implicitSelfCapture _ body: @escaping (A0, A1) throws -> R
27 return Function("constructor", body)
34 @_implicitSelfCapture _ body: @escaping (A0, A1, A2) throws -> R
36 return Function("constructor", body)
45 return Function("constructor", body)
54 return Function("constructor", body)
[all …]
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/events/
H A DEventListener.kt10 val body: () -> Unit constant
13 body() in call()
22 val body: (Payload) -> Unit constant
25 body(sender) in call()
34 val body: (Sender, Payload) -> Unit constant
37 body(sender, payload) in call()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/events/
H A DEventListener.kt10 val body: () -> Unit constant
13 body() in call()
22 val body: (Payload) -> Unit constant
25 body(sender) in call()
34 val body: (Sender, Payload) -> Unit constant
37 body(sender, payload) in call()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/events/
H A DEventListener.kt10 val body: () -> Unit constant
13 body() in call()
22 val body: (Payload) -> Unit constant
25 body(sender) in call()
34 val body: (Sender, Payload) -> Unit constant
37 body(sender, payload) in call()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/events/
H A DEventListener.kt10 val body: () -> Unit constant
13 body() in call()
22 val body: (Payload) -> Unit constant
25 body(sender) in call()
34 val body: (Sender, Payload) -> Unit constant
37 body(sender, payload) in call()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/objects/
H A DObjectDefinitionBuilder.kt90 crossinline body: () -> Any? in <lambda>()
99 crossinline body: () -> R in <lambda>()
108 crossinline body: (p0: P0) -> R in <lambda>()
117 crossinline body: (p0: P0, p1: P1) -> R in <lambda>()
145 crossinline body: () -> Any? in <lambda>()
154 crossinline body: () -> R in <lambda>()
163 crossinline body: (p0: P0) -> R in <lambda>()
176 crossinline body: (p0: P0, p1: P1) -> R in <lambda>()
280 AsyncFunction("startObserving", body) in <lambda>()
287 AsyncFunction("stopObserving", body) in <lambda>()
[all …]
/expo/packages/@expo/server/src/vendor/
H A Dnetlify.ts20 let body: string | undefined;
23 if (res.body) {
25 body = await readableStreamToString(res.body, 'base64');
27 body = await res.text();
36 body,
103 if (event.httpMethod !== 'GET' && event.httpMethod !== 'HEAD' && event.body) {
105 init.body = event.isBase64Encoded
107 ? Buffer.from(event.body, 'base64')
108 : Buffer.from(event.body, 'base64').toString()
109 : event.body;

12345678910>>...29