Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 926) sorted by relevance

12345678910>>...38

/expo/packages/expo-standard-web-crypto/build/
H A DgetRandomValues.js10 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 DgetRandomValues.js.map1values: TArray): TArray {\n if (arguments.length < 1) {\n throw new TypeError(\n `An Arra…
/expo/packages/expo-standard-web-crypto/src/
H A DgetRandomValues.ts29 !(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 DEnumButton.tsx14 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 DNavigationBar.js8 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 DSystemUI.js6 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 DTypedArraysSpec.swift47 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 DTypedArraysSpec.swift47 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 DRNAWSCognitoModule.java59 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 DRNAWSCognitoModule.java59 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 DRNAWSCognitoModule.java59 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 DRNAWSCognitoModule.java59 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 Darray.ts1 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 DABI48_0_0RNAWSCognito.m21 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 DABI49_0_0RNAWSCognito.m21 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 DABI47_0_0RNAWSCognito.m21 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 DRNAWSCognito.m21 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 Dtemplate.ts26 ...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 DSegmentedControlScreen.tsx11 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 DScale.java21 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 DScale.java21 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 Dhttp.js50 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 Dexpress.js31 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 Dhttp.ts73 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 Dexpress.ts49 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) {

12345678910>>...38