Home
last modified time | relevance | path

Searched refs:argumentsCount (Results 1 – 25 of 34) sorted by relevance

12

/expo/packages/jest-expo/src/preset/
H A DexpoModules.js156 argumentsCount: 0, property
169 argumentsCount: 0, property
174 argumentsCount: 0, property
182 argumentsCount: 0, property
215 argumentsCount: 0, property
221 argumentsCount: 0, property
226 argumentsCount: 0, property
270 argumentsCount: 1, property
281 argumentsCount: 0, property
316 argumentsCount: 0, property
[all …]
/expo/packages/expo-modules-core/build/
H A DNativeModulesProxy.native.js24 const { key, argumentsCount } = methodInfo;
25 if (argumentsCount !== args.length) {
26 …r(`Native method ${moduleName}.${methodInfo.name} expects ${argumentsCount} ${argumentsCount === 1…
H A DNativeModulesProxy.native.js.map1argumentsCount } = methodInfo;\n if (argumentsCount !== args.length) {\n return Pr…
/expo/packages/expo-modules-core/ios/Swift/
H A DJavaScriptUtils.swift71 let argumentsCount = function.argumentsCount in validateArgumentsNumber() variable
74 if received < requiredArgumentsCount || received > argumentsCount { in validateArgumentsNumber()
77 expected: argumentsCount, in validateArgumentsNumber()
100 if arguments.count < function.argumentsCount {
101 result += Array(repeating: Any?.none as Any, count: function.argumentsCount - arguments.count)
H A DAppContext.swift334 "argumentsCount": function.argumentsCount, in exportedFunctionNames()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/
H A DJavaScriptUtils.swift71 let argumentsCount = function.argumentsCount in validateArgumentsNumber() variable
74 if received < requiredArgumentsCount || received > argumentsCount { in validateArgumentsNumber()
77 expected: argumentsCount, in validateArgumentsNumber()
100 if arguments.count < function.argumentsCount {
101 result += Array(repeating: Any?.none as Any, count: function.argumentsCount - arguments.count)
H A DAppContext.swift321 "argumentsCount": function.argumentsCount, in exportedFunctionNames()
/expo/packages/expo-modules-core/src/
H A DNativeModulesProxy.native.ts33 const { key, argumentsCount } = methodInfo; constant
34 if (argumentsCount !== args.length) {
37 `Native method ${moduleName}.${methodInfo.name} expects ${argumentsCount} ${
38 argumentsCount === 1 ? 'argument' : 'arguments'
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/Functions/
H A DAnyFunction.swift24 var argumentsCount: Int { get } variable
60 return argumentsCount - trailingOptionalArgumentsCount
63 var argumentsCount: Int { variable
H A DSyncFunctionComponent.swift46 var argumentsCount: Int { in call() variable
89 …return runtime.createSyncFunction(name, argsCount: argumentsCount) { [weak runtime, self] this, ar… in call()
H A DAsyncFunctionComponent.swift61 var argumentsCount: Int { in runOnQueue() variable
118 …return runtime.createAsyncFunction(name, argsCount: argumentsCount) { [weak self, name] this, args… in runOnQueue()
/expo/packages/expo-modules-core/ios/Swift/Functions/
H A DAnyFunction.swift24 var argumentsCount: Int { get } variable
61 return argumentsCount - trailingOptionalArgumentsCount
64 var argumentsCount: Int { variable
H A DSyncFunctionComponent.swift47 var argumentsCount: Int { in call() variable
100 …return try appContext.runtime.createSyncFunction(name, argsCount: argumentsCount) { [weak appConte… in call()
H A DAsyncFunctionComponent.swift59 var argumentsCount: Int { in runOnQueue() variable
121 …return try appContext.runtime.createAsyncFunction(name, argsCount: argumentsCount) { [weak self, n… in runOnQueue()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/Functions/
H A DAnyFunction.swift24 var argumentsCount: Int { get } variable
61 return argumentsCount - trailingOptionalArgumentsCount
64 var argumentsCount: Int { variable
H A DSyncFunctionComponent.swift47 var argumentsCount: Int { in call() variable
100 …return try appContext.runtime.createSyncFunction(name, argsCount: argumentsCount) { [weak appConte… in call()
H A DAsyncFunctionComponent.swift59 var argumentsCount: Int { in runOnQueue() variable
121 …return try appContext.runtime.createAsyncFunction(name, argsCount: argumentsCount) { [weak self, n… in runOnQueue()
/expo/ios/versioned/sdk48/ExpoModulesCore/ios/Swift/
H A DJavaScriptUtils.swift34 if arguments.count < requiredArgumentsCount || arguments.count > function.argumentsCount { in cast()
37 expected: function.argumentsCount, in cast()
63 if arguments.count < function.argumentsCount { in concat()
64 result += Array(repeating: Any?.none as Any, count: function.argumentsCount - arguments.count) in concat()
H A DAppContext.swift281 "argumentsCount": function.argumentsCount, in exportedFunctionNames()
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/
H A DJavaScriptUtils.swift31 if arguments.count != function.argumentsCount { in cast()
32 throw InvalidArgsNumberException((received: arguments.count, expected: function.argumentsCount)) in cast()
H A DAppContext.swift272 "argumentsCount": function.argumentsCount, in exportedFunctionNames()
/expo/ios/versioned/sdk47/ExpoModulesCore/ios/Swift/Functions/
H A DAnyFunction.swift24 var argumentsCount: Int { get } variable
H A DSyncFunctionComponent.swift46 var argumentsCount: Int { in call() variable
85 …return runtime.createSyncFunction(name, argsCount: argumentsCount) { [weak self, name] this, args … in call()
H A DAsyncFunctionComponent.swift61 var argumentsCount: Int { in runOnQueue() variable
118 …return runtime.createAsyncFunction(name, argsCount: argumentsCount) { [weak self, name] this, args… in runOnQueue()
/expo/packages/expo-modules-core/src/__tests__/
H A DNativeModulesProxy-test.native.ts11 ExpoTest: [{ key: 0, name: 'testAsync', argumentsCount: 1 }],

12