Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 1008) sorted by relevance

12345678910>>...41

/expo/apps/router-e2e/__e2e__/server/app/
H A Dmethods+api.ts6 method: 'get',
12 method: 'post',
18 method: 'put',
24 method: 'delete',
30 method: 'patch',
36 method: 'head',
42 method: 'options',
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Base/
H A DABI49_0_0RCTBridgeModule.h227 #define ABI49_0_0RCT_EXPORT_METHOD(method) ABI49_0_0RCT_REMAP_METHOD(, method) argument
245 …49_0_0RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(method) ABI49_0_0RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(… argument
247 #define ABI49_0_0RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(returnType, method) \ argument
248 ABI49_0_0RCT_REMAP_BLOCKING_SYNCHRONOUS_METHOD(, returnType, method)
258 #define ABI49_0_0RCT_REMAP_METHOD(js_name, method) \ argument
259 _ABI49_0_0RCT_EXTERN_REMAP_METHOD(js_name, method, NO) \
260 -(void)method ABI49_0_0RCT_DYNAMIC;
272 -(returnType)method ABI49_0_0RCT_DYNAMIC;
319 #define ABI49_0_0RCT_EXTERN_METHOD(method) _ABI49_0_0RCT_EXTERN_REMAP_METHOD(, method, NO) argument
325 …e ABI49_0_0RCT_EXTERN__BLOCKING_SYNCHRONOUS_METHOD(method) _ABI49_0_0RCT_EXTERN_REMAP_METHOD(, met… argument
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Base/
H A DABI48_0_0RCTBridgeModule.h227 #define ABI48_0_0RCT_EXPORT_METHOD(method) ABI48_0_0RCT_REMAP_METHOD(, method) argument
245 …48_0_0RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(method) ABI48_0_0RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(… argument
247 #define ABI48_0_0RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(returnType, method) \ argument
248 ABI48_0_0RCT_REMAP_BLOCKING_SYNCHRONOUS_METHOD(, returnType, method)
258 #define ABI48_0_0RCT_REMAP_METHOD(js_name, method) \ argument
259 _ABI48_0_0RCT_EXTERN_REMAP_METHOD(js_name, method, NO) \
260 -(void)method ABI48_0_0RCT_DYNAMIC;
272 -(returnType)method ABI48_0_0RCT_DYNAMIC;
319 #define ABI48_0_0RCT_EXTERN_METHOD(method) _ABI48_0_0RCT_EXTERN_REMAP_METHOD(, method, NO) argument
325 …e ABI48_0_0RCT_EXTERN__BLOCKING_SYNCHRONOUS_METHOD(method) _ABI48_0_0RCT_EXTERN_REMAP_METHOD(, met… argument
[all …]
/expo/packages/expo-modules-core/android/src/main/cpp/types/
H A DExpectedType.cpp8 static const auto method = getClass()->getMethod<jni::local_ref<ExpectedType::javaobject>()>( in getFirstParameterType() local
10 return method(self()); in getFirstParameterType()
14 static const auto method = getClass()->getMethod<jni::local_ref<ExpectedType::javaobject>()>( in getSecondParameterType() local
16 return method(self()); in getSecondParameterType()
20 static const auto method = getClass()->getMethod<int()>("getCppType"); in getCppType() local
21 return static_cast<CppType>(method(self())); in getCppType()
25 static const auto method = getClass()->getMethod<int()>("getCombinedTypes"); in getCombinedTypes() local
26 return static_cast<CppType>(method(self())); in getCombinedTypes()
30 static const auto method = getClass()->getMethod<jni::local_ref<SingleType::javaobject>()>( in getFirstType() local
32 return method(self()); in getFirstType()
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI48_0_0CxxNativeModule.cpp99 for (auto &method : methods_) { in getMethods() local
100 descs.emplace_back(method.name, method.getType()); in getMethods()
143 if (!method.func) { in invoke()
150 if (params.size() < method.callbacks) { in invoke()
153 method.callbacks, in invoke()
159 if (method.callbacks == 1) { in invoke()
161 } else if (method.callbacks == 2) { in invoke()
191 messageQueueThread_->runOnQueue([method, in invoke()
234 const auto &method = methods_[hookId]; in callSerializableNativeHook() local
236 if (!method.syncFunc) { in callSerializableNativeHook()
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI49_0_0CxxNativeModule.cpp99 for (auto &method : methods_) { in getMethods() local
100 descs.emplace_back(method.name, method.getType()); in getMethods()
143 if (!method.func) { in invoke()
150 if (params.size() < method.callbacks) { in invoke()
153 method.callbacks, in invoke()
159 if (method.callbacks == 1) { in invoke()
161 } else if (method.callbacks == 2) { in invoke()
191 messageQueueThread_->runOnQueue([method, in invoke()
234 const auto &method = methods_[hookId]; in callSerializableNativeHook() local
236 if (!method.syncFunc) { in callSerializableNativeHook()
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/cxxreact/
H A DABI47_0_0CxxNativeModule.cpp99 for (auto &method : methods_) { in getMethods() local
100 descs.emplace_back(method.name, method.getType()); in getMethods()
143 if (!method.func) { in invoke()
150 if (params.size() < method.callbacks) { in invoke()
153 method.callbacks, in invoke()
159 if (method.callbacks == 1) { in invoke()
161 } else if (method.callbacks == 2) { in invoke()
197 SystraceSection s(method.name.c_str()); in invoke()
226 const auto &method = methods_[hookId]; in callSerializableNativeHook() local
228 if (!method.syncFunc) { in callSerializableNativeHook()
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/hermes/inspector/chrome/
H A DABI49_0_0MessageInterfaces.h43 explicit Request(std::string method) : method(method) {} in Request()
50 std::string method; member
65 explicit Notification(std::string method) : method(method) {} in Notification()
67 std::string method; member
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/hermes/inspector/chrome/
H A DABI48_0_0MessageInterfaces.h43 explicit Request(std::string method) : method(method) {} in Request()
50 std::string method; member
65 explicit Notification(std::string method) : method(method) {} in Notification()
67 std::string method; member
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/hermes/inspector/chrome/
H A DABI47_0_0MessageInterfaces.h43 explicit Request(std::string method) : method(method) {} in Request()
50 std::string method; member
65 explicit Notification(std::string method) : method(method) {} in Notification()
67 std::string method; member
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Base/
H A DABI47_0_0RCTBridgeModule.h224 #define ABI47_0_0RCT_EXPORT_METHOD(method) ABI47_0_0RCT_REMAP_METHOD(, method) argument
242 …47_0_0RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(method) ABI47_0_0RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(… argument
244 #define ABI47_0_0RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(returnType, method) \ argument
245 ABI47_0_0RCT_REMAP_BLOCKING_SYNCHRONOUS_METHOD(, returnType, method)
255 #define ABI47_0_0RCT_REMAP_METHOD(js_name, method) \ argument
256 _ABI47_0_0RCT_EXTERN_REMAP_METHOD(js_name, method, NO) \
257 -(void)method ABI47_0_0RCT_DYNAMIC;
269 -(returnType)method ABI47_0_0RCT_DYNAMIC;
316 #define ABI47_0_0RCT_EXTERN_METHOD(method) _ABI47_0_0RCT_EXTERN_REMAP_METHOD(, method, NO) argument
322 …e ABI47_0_0RCT_EXTERN__BLOCKING_SYNCHRONOUS_METHOD(method) _ABI47_0_0RCT_EXTERN_REMAP_METHOD(, met… argument
[all …]
/expo/apps/native-component-list/src/screens/
H A DHapticsScreen.tsx21 method: Haptics.notificationAsync,
39 method: Haptics.impactAsync,
57 method: Haptics.selectionAsync,
69 section: { method },
73 }) => <Item method={method} type={item} />;
102 method: (type: string) => void;
107 method,
114 method,
120 <HapticButton style={styles.button} method={method} type={value} />
134 method: (type: string) => void;
[all …]
/expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/devtools/
H A DExpoRequestCdpInterceptorTest.kt42 var method = json.getString("method") in simple json data() variable
51 method = json.getString("method") in simple json data()
58 method = json.getString("method") in simple json data()
69 method = json.getString("method") in simple json data()
78 method = json.getString("method") in simple json data()
80 Truth.assertThat(method).isEqualTo("Network.loadingFinished") in simple json data()
92 var method = json.getString("method") in http 302 redirection() variable
103 method = json.getString("method") in http 302 redirection()
118 method = json.getString("method") in http 302 redirection()
129 method = json.getString("method") in http 302 redirection()
[all …]
/expo/packages/@expo/cli/src/api/user/__tests__/
H A Dotp-test.ts38 method: UserSecondFactorDeviceMethod.SMS,
64 method: UserSecondFactorDeviceMethod.AUTHENTICATOR,
94 method: UserSecondFactorDeviceMethod.AUTHENTICATOR,
100 method: UserSecondFactorDeviceMethod.AUTHENTICATOR,
124 method: UserSecondFactorDeviceMethod.AUTHENTICATOR,
154 method: UserSecondFactorDeviceMethod.AUTHENTICATOR,
160 method: UserSecondFactorDeviceMethod.AUTHENTICATOR,
197 method: UserSecondFactorDeviceMethod.AUTHENTICATOR,
203 method: UserSecondFactorDeviceMethod.SMS,
233 method: UserSecondFactorDeviceMethod.AUTHENTICATOR,
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/nativemodule/core/ReactCommon/
H A DABI48_0_0TurboCxxModule.cpp95 for (auto &method : cxxMethods_) { in get() local
138 auto method = *it; in invokeMethod() local
139 if (method.name == methodName) { in invokeMethod()
149 auto method = *it; in invokeMethod() local
151 if (method.syncFunc) { in invokeMethod()
158 } else if (method.func && !method.isPromise) { in invokeMethod()
163 if (count < method.callbacks) { in invokeMethod()
166 method.callbacks, in invokeMethod()
172 if (method.callbacks == 1) { in invokeMethod()
197 } else if (method.isPromise) { in invokeMethod()
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/nativemodule/core/ReactCommon/
H A DABI49_0_0TurboCxxModule.cpp95 for (auto &method : cxxMethods_) { in get() local
143 auto method = *it; in invokeMethod() local
144 if (method.name == methodName) { in invokeMethod()
154 auto method = *it; in invokeMethod() local
156 if (method.syncFunc) { in invokeMethod()
163 } else if (method.func && !method.isPromise) { in invokeMethod()
168 if (count < method.callbacks) { in invokeMethod()
171 method.callbacks, in invokeMethod()
177 if (method.callbacks == 1) { in invokeMethod()
202 } else if (method.isPromise) { in invokeMethod()
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/nativemodule/core/ReactCommon/
H A DABI47_0_0TurboCxxModule.cpp95 for (auto &method : cxxMethods_) { in get() local
138 auto method = *it; in invokeMethod() local
139 if (method.name == methodName) { in invokeMethod()
149 auto method = *it; in invokeMethod() local
151 if (method.syncFunc) { in invokeMethod()
158 } else if (method.func && !method.isPromise) { in invokeMethod()
163 if (count < method.callbacks) { in invokeMethod()
166 method.callbacks, in invokeMethod()
172 if (method.callbacks == 1) { in invokeMethod()
197 } else if (method.isPromise) { in invokeMethod()
[all …]
/expo/packages/expo-modules-core/ios/Tests/
H A DExpoRequestCdpInterceptorSpec.swift57 var method = json["method"] as! String in spec() variable
66 method = json["method"] as! String in spec()
73 method = json["method"] as! String in spec()
84 method = json["method"] as! String in spec()
93 method = json["method"] as! String in spec()
95 expect(method).to(equal("Network.loadingFinished")) in spec()
113 var method = json["method"] as! String in spec() variable
124 method = json["method"] as! String in spec()
141 method = json["method"] as! String in spec()
152 method = json["method"] as! String in spec()
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DExpoRequestCdpInterceptorSpec.swift57 var method = json["method"] as! String in spec() variable
66 method = json["method"] as! String in spec()
73 method = json["method"] as! String in spec()
84 method = json["method"] as! String in spec()
93 method = json["method"] as! String in spec()
95 expect(method).to(equal("Network.loadingFinished")) in spec()
113 var method = json["method"] as! String in spec() variable
124 method = json["method"] as! String in spec()
141 method = json["method"] as! String in spec()
152 method = json["method"] as! String in spec()
[all …]
/expo/packages/eslint-config-universe/__tests__/fixtures/
H A Dtypescript-analysis-00.ts5 method?: () => void;
14 method?: () => void;
24 return foo && foo.a && foo.a.b.method && foo.a.b.method();
/expo/android/vendored/sdk48/react-native-reanimated/android/src/main/cpp/
H A DNativeProxy.cpp110 auto method = in installJSIBindings() local
272 static auto method = in requestRender() local
276 method( in requestRender()
286 method( in registerEventHandler()
298 method( in updateProps()
303 auto method = in scrollTo() local
310 auto method = in measure() local
336 return method( in registerSensor()
348 auto method = in setGestureState() local
361 method( in configureProps()
[all …]
/expo/android/vendored/sdk47/react-native-reanimated/android/src/main/cpp/
H A DNativeProxy.cpp105 auto method = in installJSIBindings() local
264 static auto method = in requestRender() local
268 method( in requestRender()
278 method( in registerEventHandler()
290 method( in updateProps()
295 auto method = in scrollTo() local
302 auto method = in measure() local
328 return method( in registerSensor()
340 auto method = in setGestureState() local
353 method( in configureProps()
[all …]
/expo/apps/test-suite/
H A DTestUtils.js33 export async function expectMethodToBeUnavailableAsync(expect, method) { argument
34 const error = await expectMethodToThrowAsync(method);
38 export async function expectMethodToThrowAsync(method) { argument
40 await method();
/expo/android/vendored/sdk49/@shopify/react-native-skia/android/cpp/jni/
H A DJniPlatformContext.cpp81 static auto method = javaPart_->getClass()->getMethod<jobject(int)>( in takeScreenshotFromViewTag() local
84 auto bitmap = method(javaPart_.get(), tag).release(); in takeScreenshotFromViewTag()
116 static auto method = in startDrawLoop() local
118 method(javaPart_.get()); in startDrawLoop()
124 static auto method = in stopDrawLoop() local
126 method(javaPart_.get()); in stopDrawLoop()
140 static auto method = javaPart_->getClass()->getMethod<void(void)>( in runTaskOnMainThread() local
142 method(javaPart_.get()); in runTaskOnMainThread()
170 auto array = method(javaPart_.get(), jstr); in performStreamOperation()
214 static auto method = in raiseError() local
[all …]
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/core/
H A DExportedModule.java28 MethodInfo(Method method) { in MethodInfo() argument
29 mParameterTypes = method.getParameterTypes(); in MethodInfo()
76 Method method = mExportedMethods.get(methodName); in invokeExportedMethod() local
78 if (method == null) { in invokeExportedMethod()
82 int expectedArgumentsCount = method.getParameterTypes().length; in invokeExportedMethod()
89 Class<?>[] expectedArgumentClasses = method.getParameterTypes(); in invokeExportedMethod()
98 return method.invoke(this, transformedArguments.toArray()); in invokeExportedMethod()
143 for (Method method : declaredMethodsArray) { in getExportedMethods()
144 if (method.getAnnotation(ExpoMethod.class) != null) { in getExportedMethods()
145 String methodName = method.getName(); in getExportedMethods()
[all …]

12345678910>>...41