| /expo/packages/expo-standard-web-crypto/build/ |
| H A D | getRandomValues.js | 10 export default function getRandomValues(values) { argument 14 if (!(values instanceof Int8Array) && 15 !(values instanceof Uint8Array) && 16 !(values instanceof Int16Array) && 17 !(values instanceof Uint16Array) && 18 !(values instanceof Int32Array) && 19 !(values instanceof Uint32Array) && 28 expoCryptoGetRandomValues(values); 35 return values; 39 const byteView = new Uint8Array(values.buffer, values.byteOffset, values.byteLength); [all …]
|
| H A D | getRandomValues.js.map | 1 …values: TArray): TArray {\n if (arguments.length < 1) {\n throw new TypeError(\n `An Arra…
|
| /expo/packages/expo-standard-web-crypto/src/ |
| H A D | getRandomValues.ts | 29 !(values instanceof Int8Array) && 30 !(values instanceof Uint8Array) && 31 !(values instanceof Int16Array) && 32 !(values instanceof Uint16Array) && 33 !(values instanceof Int32Array) && 34 !(values instanceof Uint32Array) && 35 !(values instanceof Uint8ClampedArray) 48 expoCryptoGetRandomValues(values); 55 return values; 60 const byteView = new Uint8Array(values.buffer, values.byteOffset, values.byteLength); [all …]
|
| /expo/apps/native-component-list/src/components/FunctionDemo/ |
| H A D | EnumButton.tsx | 14 values: Value[] | EnumValue[]; 18 function valuesAreEnumValues(values: (Value | EnumValue)[]): values is EnumValue[] { 22 function useEnumValues(values: Value[] | EnumValue[]): values is EnumValue[] { 23 return useMemo(() => valuesAreEnumValues(values), [values]); 26 function getSuccessorCyclically(values: Value[], value: Value) { 27 const valueIdx = values.findIndex((v) => v === value); 28 const successorIdx = (valueIdx + 1) % values.length; 29 return values[successorIdx]; 36 const valuesAreEnums = useEnumValues(values); 39 const plainValues = valuesAreEnums ? values.map((v) => v.value) : values; [all …]
|
| /expo/apps/test-suite/tests/ |
| H A D | NavigationBar.js | 8 async function flipValueAsync({ getAsync, setAsync, values }) { 10 await setAsync(values[0]); 15 t.expect(value).toBe(values[0]); 18 const nextValue = value === values[0] ? values[1] : values[0]; 29 values: ['light', 'dark'], property 39 values: ['absolute', 'relative'], property 49 values: ['visible', 'hidden'], property 58 values: ['overlay-swipe', 'inset-touch'], property 67 values: ['#ff0000', '#ff00ff'], property 76 values: ['#ff0000', '#ff00ff'], property
|
| H A D | SystemUI.js | 6 async function flipValueAsync({ getAsync, setAsync, values }) { 8 await setAsync(values[0]); 13 t.expect(value.toUpperCase()).toBe(values[0]); 16 const nextValue = value === values[0] ? values[1] : values[0]; 26 values: ['#FF0000', '#FFFFFF'], property
|
| /expo/packages/expo-modules-core/ios/Tests/ |
| H A D | TypedArraysSpec.swift | 47 let values = try runtime in spec() variable 55 expect(values.count) == 3 in spec() 56 expect(values[0]) == 8 in spec() 57 expect(values[1]) == 4 in spec() 58 expect(values[2]) == 1 in spec() 65 let values = try runtime in spec() variable 74 expect(values[1]?.getInt()) == random1 in spec() 75 expect(values[2]?.getInt()) == random2 in spec() 90 let values = try runtime in spec() variable 99 expect(values.filter({ $0 != 0 }).count) >= 1 in spec() [all …]
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/ |
| H A D | TypedArraysSpec.swift | 47 let values = try runtime in spec() variable 55 expect(values.count) == 3 in spec() 56 expect(values[0]) == 8 in spec() 57 expect(values[1]) == 4 in spec() 58 expect(values[2]) == 1 in spec() 65 let values = try runtime in spec() variable 74 expect(values[1]?.getInt()) == random1 in spec() 75 expect(values[2]?.getInt()) == random2 in spec() 90 let values = try runtime in spec() variable 99 expect(values.filter({ $0 != 0 }).count) >= 1 in spec() [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/cognito/ |
| H A D | RNAWSCognitoModule.java | 59 public void computeModPow(final ReadableMap values, final Callback callback) { in computeModPow() argument 61 final BigInteger target = new BigInteger(values.getString("target"), 16); in computeModPow() 62 final BigInteger value = new BigInteger(values.getString("value"), 16); in computeModPow() 63 final BigInteger modifier = new BigInteger(values.getString("modifier"), 16); in computeModPow() 72 public void computeS(final ReadableMap values, final Callback callback) { in computeS() argument 74 final BigInteger g = new BigInteger(values.getString("g"), 16); in computeS() 75 final BigInteger x = new BigInteger(values.getString("x"), 16); in computeS() 76 final BigInteger k = new BigInteger(values.getString("k"), 16); in computeS() 77 final BigInteger a = new BigInteger(values.getString("a"), 16); in computeS() 78 final BigInteger b = new BigInteger(values.getString("b"), 16); in computeS() [all …]
|
| /expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/cognito/ |
| H A D | RNAWSCognitoModule.java | 59 public void computeModPow(final ReadableMap values, final Callback callback) { in computeModPow() argument 61 final BigInteger target = new BigInteger(values.getString("target"), 16); in computeModPow() 62 final BigInteger value = new BigInteger(values.getString("value"), 16); in computeModPow() 63 final BigInteger modifier = new BigInteger(values.getString("modifier"), 16); in computeModPow() 72 public void computeS(final ReadableMap values, final Callback callback) { in computeS() argument 74 final BigInteger g = new BigInteger(values.getString("g"), 16); in computeS() 75 final BigInteger x = new BigInteger(values.getString("x"), 16); in computeS() 76 final BigInteger k = new BigInteger(values.getString("k"), 16); in computeS() 77 final BigInteger a = new BigInteger(values.getString("a"), 16); in computeS() 78 final BigInteger b = new BigInteger(values.getString("b"), 16); in computeS() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/cognito/ |
| H A D | RNAWSCognitoModule.java | 59 public void computeModPow(final ReadableMap values, final Callback callback) { in computeModPow() argument 61 final BigInteger target = new BigInteger(values.getString("target"), 16); in computeModPow() 62 final BigInteger value = new BigInteger(values.getString("value"), 16); in computeModPow() 63 final BigInteger modifier = new BigInteger(values.getString("modifier"), 16); in computeModPow() 72 public void computeS(final ReadableMap values, final Callback callback) { in computeS() argument 74 final BigInteger g = new BigInteger(values.getString("g"), 16); in computeS() 75 final BigInteger x = new BigInteger(values.getString("x"), 16); in computeS() 76 final BigInteger k = new BigInteger(values.getString("k"), 16); in computeS() 77 final BigInteger a = new BigInteger(values.getString("a"), 16); in computeS() 78 final BigInteger b = new BigInteger(values.getString("b"), 16); in computeS() [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/cognito/ |
| H A D | RNAWSCognitoModule.java | 59 public void computeModPow(final ReadableMap values, final Callback callback) { in computeModPow() argument 61 final BigInteger target = new BigInteger(values.getString("target"), 16); in computeModPow() 62 final BigInteger value = new BigInteger(values.getString("value"), 16); in computeModPow() 63 final BigInteger modifier = new BigInteger(values.getString("modifier"), 16); in computeModPow() 72 public void computeS(final ReadableMap values, final Callback callback) { in computeS() argument 74 final BigInteger g = new BigInteger(values.getString("g"), 16); in computeS() 75 final BigInteger x = new BigInteger(values.getString("x"), 16); in computeS() 76 final BigInteger k = new BigInteger(values.getString("k"), 16); in computeS() 77 final BigInteger a = new BigInteger(values.getString("a"), 16); in computeS() 78 final BigInteger b = new BigInteger(values.getString("b"), 16); in computeS() [all …]
|
| /expo/packages/create-expo/src/utils/ |
| H A D | array.ts | 1 export function replaceValue<T>(values: T[], original: T, replacement: T): T[] { 2 const index = values.indexOf(original); 4 values[index] = replacement; 6 return values;
|
| /expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Cognito/ |
| H A D | ABI48_0_0RNAWSCognito.m | 21 ABI48_0_0RCT_EXPORT_METHOD(computeModPow:(NSDictionary *)values 23 JKBigInteger *target = [[JKBigInteger alloc] initWithString:values[@"target"] andRadix:16]; 24 JKBigInteger *value = [[JKBigInteger alloc] initWithString:values[@"value"] andRadix:16]; 25 JKBigInteger *modifier = [[JKBigInteger alloc] initWithString:values[@"modifier"] andRadix:16]; 34 ABI48_0_0RCT_EXPORT_METHOD(computeS:(NSDictionary *)values 37 JKBigInteger *g = [[JKBigInteger alloc] initWithString:values[@"g"] andRadix:16]; 38 JKBigInteger *x = [[JKBigInteger alloc] initWithString:values[@"x"] andRadix:16]; 39 JKBigInteger *k = [[JKBigInteger alloc] initWithString:values[@"k"] andRadix:16]; 40 JKBigInteger *a = [[JKBigInteger alloc] initWithString:values[@"a"] andRadix:16]; 41 JKBigInteger *b = [[JKBigInteger alloc] initWithString:values[@"b"] andRadix:16]; [all …]
|
| /expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/Api/Cognito/ |
| H A D | ABI49_0_0RNAWSCognito.m | 21 ABI49_0_0RCT_EXPORT_METHOD(computeModPow:(NSDictionary *)values 23 JKBigInteger *target = [[JKBigInteger alloc] initWithString:values[@"target"] andRadix:16]; 24 JKBigInteger *value = [[JKBigInteger alloc] initWithString:values[@"value"] andRadix:16]; 25 JKBigInteger *modifier = [[JKBigInteger alloc] initWithString:values[@"modifier"] andRadix:16]; 34 ABI49_0_0RCT_EXPORT_METHOD(computeS:(NSDictionary *)values 37 JKBigInteger *g = [[JKBigInteger alloc] initWithString:values[@"g"] andRadix:16]; 38 JKBigInteger *x = [[JKBigInteger alloc] initWithString:values[@"x"] andRadix:16]; 39 JKBigInteger *k = [[JKBigInteger alloc] initWithString:values[@"k"] andRadix:16]; 40 JKBigInteger *a = [[JKBigInteger alloc] initWithString:values[@"a"] andRadix:16]; 41 JKBigInteger *b = [[JKBigInteger alloc] initWithString:values[@"b"] andRadix:16]; [all …]
|
| /expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Api/Cognito/ |
| H A D | ABI47_0_0RNAWSCognito.m | 21 ABI47_0_0RCT_EXPORT_METHOD(computeModPow:(NSDictionary *)values 23 JKBigInteger *target = [[JKBigInteger alloc] initWithString:values[@"target"] andRadix:16]; 24 JKBigInteger *value = [[JKBigInteger alloc] initWithString:values[@"value"] andRadix:16]; 25 JKBigInteger *modifier = [[JKBigInteger alloc] initWithString:values[@"modifier"] andRadix:16]; 34 ABI47_0_0RCT_EXPORT_METHOD(computeS:(NSDictionary *)values 37 JKBigInteger *g = [[JKBigInteger alloc] initWithString:values[@"g"] andRadix:16]; 38 JKBigInteger *x = [[JKBigInteger alloc] initWithString:values[@"x"] andRadix:16]; 39 JKBigInteger *k = [[JKBigInteger alloc] initWithString:values[@"k"] andRadix:16]; 40 JKBigInteger *a = [[JKBigInteger alloc] initWithString:values[@"a"] andRadix:16]; 41 JKBigInteger *b = [[JKBigInteger alloc] initWithString:values[@"b"] andRadix:16]; [all …]
|
| /expo/ios/Exponent/Versioned/Core/Api/Cognito/ |
| H A D | RNAWSCognito.m | 21 RCT_EXPORT_METHOD(computeModPow:(NSDictionary *)values 23 JKBigInteger *target = [[JKBigInteger alloc] initWithString:values[@"target"] andRadix:16]; 24 JKBigInteger *value = [[JKBigInteger alloc] initWithString:values[@"value"] andRadix:16]; 25 JKBigInteger *modifier = [[JKBigInteger alloc] initWithString:values[@"modifier"] andRadix:16]; 34 RCT_EXPORT_METHOD(computeS:(NSDictionary *)values 37 JKBigInteger *g = [[JKBigInteger alloc] initWithString:values[@"g"] andRadix:16]; 38 JKBigInteger *x = [[JKBigInteger alloc] initWithString:values[@"x"] andRadix:16]; 39 JKBigInteger *k = [[JKBigInteger alloc] initWithString:values[@"k"] andRadix:16]; 40 JKBigInteger *a = [[JKBigInteger alloc] initWithString:values[@"a"] andRadix:16]; 41 JKBigInteger *b = [[JKBigInteger alloc] initWithString:values[@"b"] andRadix:16]; [all …]
|
| /expo/packages/@expo/cli/src/utils/ |
| H A D | template.ts | 26 ...values: (string | number)[] | [...(string | number)[], Record<string | number, string>] 28 const lastValue = values[values.length - 1]; constant 32 const value = typeof key === 'number' && Number.isInteger(key) ? values[key] : dict[key];
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | SegmentedControlScreen.tsx | 11 const [values] = useState(['One', 'Two', 'Three']); 30 <Text style={styles.text}>Segmented controls can have values and images</Text> 36 values={[ 49 <Text style={styles.text}>Segmented controls can have pre-selected values</Text> 50 <SegmentedControl values={['One', 'Two']} selectedIndex={0} /> 55 <SegmentedControl values={['One', 'Two']} momentary /> 60 <SegmentedControl enabled={false} values={['One', 'Two']} selectedIndex={1} /> 67 values={['One', 'Two', 'Three', 'Four']} 76 values={['One', 'Two', 'Three']} 82 <SegmentedControl textColor="#ff00ff" values={['One', 'Two']} selectedIndex={1} /> [all …]
|
| /expo/android/vendored/sdk48/react-native-reanimated/android/src/main/java/abi48_0_0/com/swmansion/reanimated/transitions/ |
| H A D | Scale.java | 21 transitionValues.values.put(PROPNAME_SCALE_X, transitionValues.view.getScaleX()); in captureStartValues() 22 transitionValues.values.put(PROPNAME_SCALE_Y, transitionValues.view.getScaleY()); in captureStartValues() 33 final View view, float startScale, float endScale, TransitionValues values) { in createAnimation() argument 41 if (values != null) { in createAnimation() 42 Float savedScaleX = (Float) values.values.get(PROPNAME_SCALE_X); in createAnimation() 43 Float savedScaleY = (Float) values.values.get(PROPNAME_SCALE_Y); in createAnimation()
|
| /expo/android/vendored/sdk47/react-native-reanimated/android/src/main/java/abi47_0_0/com/swmansion/reanimated/transitions/ |
| H A D | Scale.java | 21 transitionValues.values.put(PROPNAME_SCALE_X, transitionValues.view.getScaleX()); in captureStartValues() 22 transitionValues.values.put(PROPNAME_SCALE_Y, transitionValues.view.getScaleY()); in captureStartValues() 33 final View view, float startScale, float endScale, TransitionValues values) { in createAnimation() argument 41 if (values != null) { in createAnimation() 42 Float savedScaleX = (Float) values.values.get(PROPNAME_SCALE_X); in createAnimation() 43 Float savedScaleY = (Float) values.values.get(PROPNAME_SCALE_Y); in createAnimation()
|
| /expo/packages/@expo/server/build/vendor/ |
| H A D | http.js | 50 for (const [key, values] of Object.entries(requestHeaders)) { 51 if (values) { 52 if (Array.isArray(values)) { 53 for (const value of values) { 58 headers.set(key, values); 68 for (const [key, values] of Object.entries(expoRes.headers.raw())) { 69 for (const value of values) {
|
| H A D | express.js | 31 for (const [key, values] of Object.entries(requestHeaders)) { 32 if (values) { 33 if (Array.isArray(values)) { 34 for (const value of values) { 39 headers.set(key, values); 67 for (const [key, values] of Object.entries(expoRes.headers.raw())) { 68 for (const value of values) {
|
| /expo/packages/@expo/server/src/vendor/ |
| H A D | http.ts | 73 for (const [key, values] of Object.entries(requestHeaders)) { constant 74 if (values) { 75 if (Array.isArray(values)) { 76 for (const value of values) { 80 headers.set(key, values); 92 for (const [key, values] of Object.entries(expoRes.headers.raw())) { constant 93 for (const value of values) {
|
| H A D | express.ts | 49 for (const [key, values] of Object.entries(requestHeaders)) { constant 50 if (values) { 51 if (Array.isArray(values)) { 52 for (const value of values) { 56 headers.set(key, values); 90 for (const [key, values] of Object.entries(expoRes.headers.raw())) { constant 91 for (const value of values) {
|