Home
last modified time | relevance | path

Searched refs:functionName (Results 1 – 25 of 54) sorted by relevance

123

/expo/packages/expo-modules-core/ios/Tests/
H A DFunctionSpec.swift8 let functionName = "test function name" in spec() variable
14 AsyncFunction(functionName) { in spec()
18 .call(function: functionName, args: []) { result in in spec()
32 AsyncFunction(functionName) { in spec()
36 .call(function: functionName, args: []) in spec()
65 AsyncFunction(functionName) { (a: String?) in in spec()
69 .callSync(function: functionName, args: [str as Any]) in spec()
76 AsyncFunction(functionName) { (a: [[String]]) in in spec()
80 .callSync(function: functionName, args: [array]) in spec()
168 AsyncFunction(functionName) { (_: Int) in in spec()
[all …]
H A DFunctionWithConvertiblesSpec.swift11 let functionName = "function" in spec() variable
20 … AsyncFunction(functionName) { (point: CGPoint, size: CGSize, vector: CGVector, rect: CGRect) in in spec()
33 .callSync(function: functionName, args: [ in spec()
50 …AsyncFunction(functionName) { (color1: CGColor, color2: CGColor, color3: CGColor, color4: CGColor)… in spec()
57 .callSync(function: functionName, args: [ in spec()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DFunctionSpec.swift8 let functionName = "test function name" in spec() variable
14 AsyncFunction(functionName) { in spec()
18 .call(function: functionName, args: []) { result in in spec()
32 AsyncFunction(functionName) { in spec()
36 .call(function: functionName, args: []) in spec()
65 AsyncFunction(functionName) { (a: String?) in in spec()
69 .callSync(function: functionName, args: [str as Any]) in spec()
76 AsyncFunction(functionName) { (a: [[String]]) in in spec()
80 .callSync(function: functionName, args: [array]) in spec()
168 AsyncFunction(functionName) { (_: Int) in in spec()
[all …]
H A DFunctionWithConvertiblesSpec.swift11 let functionName = "function" in spec() variable
20 … AsyncFunction(functionName) { (point: CGPoint, size: CGSize, vector: CGVector, rect: CGRect) in in spec()
33 .callSync(function: functionName, args: [ in spec()
50 …AsyncFunction(functionName) { (color1: CGColor, color2: CGColor, color3: CGColor, color4: CGColor)… in spec()
57 .callSync(function: functionName, args: [ in spec()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/Core/Devtools/__tests__/__snapshots__/
H A DparseHermesStack-test.js.snap7 "functionName": "global",
17 "functionName": "foo$bar",
35 "functionName": "foo$bar",
55 "functionName": "global",
69 "functionName": "foo$bar",
87 "functionName": "global",
97 "functionName": "foo$bar",
115 "functionName": "global",
125 "functionName": "foo$bar",
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/Core/Devtools/__tests__/__snapshots__/
H A DparseHermesStack-test.js.snap7 "functionName": "global",
17 "functionName": "foo$bar",
35 "functionName": "foo$bar",
55 "functionName": "global",
69 "functionName": "foo$bar",
87 "functionName": "global",
97 "functionName": "foo$bar",
115 "functionName": "global",
125 "functionName": "foo$bar",
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/
H A DModuleHolder.swift64 …func call(function functionName: String, args: [Any], _ callback: @escaping (FunctionCallResult) -…
65 guard let function = definition.functions[functionName] else {
66 … callback(.failure(FunctionNotFoundException((functionName: functionName, moduleName: self.name))))
73 func callSync(function functionName: String, args: [Any]) -> Any? { in callSync()
74 guard let function = definition.functions[functionName] as? AnySyncFunctionComponent else { in callSync()
156 …internal class FunctionNotFoundException: GenericException<(functionName: String, moduleName: Stri…
H A DAppContext.swift251 _ functionName: String,
259 .call(function: functionName, args: args) { result in
278 constants[holder.name] = holder.definition.functions.map({ functionName, function in in exportedFunctionNames()
280 "name": functionName, in exportedFunctionNames()
282 "key": functionName in exportedFunctionNames()
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/
H A DModuleHolder.swift64 …func call(function functionName: String, args: [Any], _ callback: @escaping (FunctionCallResult) -…
65 guard let function = definition.functions[functionName] else {
66 … callback(.failure(FunctionNotFoundException((functionName: functionName, moduleName: self.name))))
73 func callSync(function functionName: String, args: [Any]) -> Any? { in callSync()
74 guard let function = definition.functions[functionName] as? AnySyncFunctionComponent else { in callSync()
156 …internal class FunctionNotFoundException: GenericException<(functionName: String, moduleName: Stri…
H A DAppContext.swift242 _ functionName: String,
250 .call(function: functionName, args: args) { result in
269 constants[holder.name] = holder.definition.functions.map({ functionName, function in in exportedFunctionNames()
271 "name": functionName, in exportedFunctionNames()
273 "key": functionName in exportedFunctionNames()
/expo/packages/expo-modules-core/ios/Swift/
H A DModuleHolder.swift64 …func call(function functionName: String, args: [Any], _ callback: @escaping (FunctionCallResult) -…
69 guard let function = definition.functions[functionName] else {
70 … callback(.failure(FunctionNotFoundException((functionName: functionName, moduleName: self.name))))
77 func callSync(function functionName: String, args: [Any]) -> Any? { in callSync()
78 …guard let appContext, let function = definition.functions[functionName] as? AnySyncFunctionCompone… in callSync()
168 …internal class FunctionNotFoundException: GenericException<(functionName: String, moduleName: Stri…
H A DAppContext.swift304 _ functionName: String,
312 .call(function: functionName, args: args) { result in
331 constants[holder.name] = holder.definition.functions.map({ functionName, function in in exportedFunctionNames()
333 "name": functionName, in exportedFunctionNames()
335 "key": functionName in exportedFunctionNames()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/
H A DModuleHolder.swift64 …func call(function functionName: String, args: [Any], _ callback: @escaping (FunctionCallResult) -…
69 guard let function = definition.functions[functionName] else {
70 … callback(.failure(FunctionNotFoundException((functionName: functionName, moduleName: self.name))))
77 func callSync(function functionName: String, args: [Any]) -> Any? { in callSync()
78 …guard let appContext, let function = definition.functions[functionName] as? AnySyncFunctionCompone… in callSync()
168 …internal class FunctionNotFoundException: GenericException<(functionName: String, moduleName: Stri…
H A DAppContext.swift291 _ functionName: String,
299 .call(function: functionName, args: args) { result in
318 constants[holder.name] = holder.definition.functions.map({ functionName, function in in exportedFunctionNames()
320 "name": functionName, in exportedFunctionNames()
322 "key": functionName in exportedFunctionNames()
/expo/android/vendored/sdk48/react-native-reanimated/Common/cpp/SharedItems/
H A DHostFunctionHandler.h13 std::string functionName; member
19 functionName = f->getProperty(rt, "name").asString(rt).utf8(rt); in HostFunctionHandler()
/expo/ios/vendored/sdk47/react-native-reanimated/Common/cpp/SharedItems/
H A DHostFunctionHandler.h13 std::string functionName; member
19 functionName = f->getProperty(rt, "name").asString(rt).utf8(rt); in HostFunctionHandler()
/expo/ios/vendored/sdk48/react-native-reanimated/Common/cpp/SharedItems/
H A DHostFunctionHandler.h13 std::string functionName; member
19 functionName = f->getProperty(rt, "name").asString(rt).utf8(rt); in HostFunctionHandler()
/expo/android/vendored/sdk47/react-native-reanimated/Common/cpp/SharedItems/
H A DHostFunctionHandler.h13 std::string functionName; member
19 functionName = f->getProperty(rt, "name").asString(rt).utf8(rt); in HostFunctionHandler()
/expo/packages/@expo/fingerprint/src/utils/
H A DProfile.ts12 functionName: string = fn.name
18 const name = chalk.dim(`⏱ [profile] ${functionName ?? 'unknown'}`);
/expo/packages/@expo/cli/src/utils/
H A Dprofile.ts15 functionName: string = fn.name
21 const name = chalk.dim(`⏱ [profile] ${functionName ?? 'unknown'}`);
/expo/packages/@expo/fingerprint/build/utils/
H A DProfile.js15 function profile(fn, functionName = fn.name) { argument
19 const name = chalk_1.default.dim(`⏱ [profile] ${functionName ?? 'unknown'}`);
H A DProfile.d.ts8 …n profile<IArgs extends any[], T extends (...args: IArgs) => any>(fn: T, functionName?: string): T;
/expo/packages/expo-random/build/
H A DRandom.js4 … warnIsDeprecated = (functionName) => console.warn(`expo-random is deprecated in favor of expo-cry… argument
/expo/packages/expo-random/src/
H A DRandom.ts6 const warnIsDeprecated = (functionName: string) =>
8 …`expo-random is deprecated in favor of expo-crypto: use ExpoCrypto.${functionName}()instead. https…
/expo/ios/versioned/sdk48/ExpoClipboard/Tests/
H A DClipboardModuleSpec.swift13 … func testModuleFunction<T>(_ functionName: String, args: [Any], _ block: @escaping (T?) -> Void) { in spec()
15 holder.call(function: functionName, args: args) { result in in spec()
24 …func expectModuleFunctionThrows<T>(_ functionName: String, args: [Any], exception: T.Type) where T… in spec()
26 holder.call(function: functionName, args: args) { result in in spec()

123