Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 106) sorted by relevance

12345

/expo/packages/expo-random/build/
H A DRandom.js9 Math.floor(value) < 0 ||
10 Math.floor(value) > 1024) {
25 const validByteCount = Math.floor(byteCount);
31 array[i] = Math.floor(Math.random() * 256);
57 const validByteCount = Math.floor(byteCount);
H A DRandom.js.map1floor(value) < 0 ||\n Math.floor(value) > 1024\n ) {\n throw new TypeError(\n `expo-ra…
/expo/packages/expo-random/src/
H A DRandom.ts17 Math.floor(value) < 0 ||
18 Math.floor(value) > 1024
37 const validByteCount = Math.floor(byteCount);
43 array[i] = Math.floor(Math.random() * 256);
68 const validByteCount = Math.floor(byteCount);
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/graphics/
H A DABI47_0_0rounding.h74 inline float floor(float value) noexcept { in floor() function
77 inline double floor(double value) noexcept { in floor() function
78 return ::floor(value); in floor()
80 inline long double floor(long double value) noexcept { in floor() function
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/graphics/
H A DABI49_0_0rounding.h74 inline float floor(float value) noexcept { in floor() function
77 inline double floor(double value) noexcept { in floor() function
78 return ::floor(value); in floor()
80 inline long double floor(long double value) noexcept { in floor() function
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/graphics/
H A DABI48_0_0rounding.h74 inline float floor(float value) noexcept { in floor() function
77 inline double floor(double value) noexcept { in floor() function
78 return ::floor(value); in floor()
80 inline long double floor(long double value) noexcept { in floor() function
/expo/packages/expo-crypto/build/
H A DCrypto.js22 const validByteCount = Math.floor(byteCount);
28 array[i] = Math.floor(Math.random() * 256);
53 const validByteCount = Math.floor(byteCount);
68 Math.floor(value) < 0 ||
69 Math.floor(value) > 1024) {
/expo/packages/expo-crypto/src/
H A DCrypto.ts29 const validByteCount = Math.floor(byteCount);
35 array[i] = Math.floor(Math.random() * 256);
59 const validByteCount = Math.floor(byteCount);
74 Math.floor(value) < 0 ||
75 Math.floor(value) > 1024
/expo/packages/expo-image/src/utils/blurhash/
H A Dbase83.ts100 const digit = (Math.floor(n) / Math.pow(83, length - i)) % 83;
101 result += digitCharacters[Math.floor(digit)];
H A Ddecode.ts15 const numY = Math.floor(sizeFlag / 9) + 1;
45 const quantR = Math.floor(value / (19 * 19));
46 const quantG = Math.floor(value / 19) % 19;
64 const numY = Math.floor(sizeFlag / 9) + 1;
/expo/packages/expo-image/build/utils/blurhash/
H A Dbase83.js98 const digit = (Math.floor(n) / Math.pow(83, length - i)) % 83;
99 result += digitCharacters[Math.floor(digit)];
H A Ddecode.js13 const numY = Math.floor(sizeFlag / 9) + 1;
35 const quantR = Math.floor(value / (19 * 19));
36 const quantG = Math.floor(value / 19) % 19;
49 const numY = Math.floor(sizeFlag / 9) + 1;
/expo/apps/native-component-list/src/utilities/
H A DgetRandomColor.ts5 color += letters[Math.floor(Math.random() * 16)];
/expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/private/
H A DSkFloatingPoint.h140 #define sk_double_floor(x) floor(x)
141 #define sk_double_round(x) floor((x) + 0.5)
143 #define sk_double_floor2int(x) (int)floor(x)
144 #define sk_double_round2int(x) (int)floor((x) + 0.5)
/expo/packages/expo-modules-core/src/uuid/lib/
H A Dsha1.ts52 M[N - 1][14] = Math.floor(M[N - 1][14]);
70 const s = Math.floor(t / 20);
/expo/packages/expo-modules-core/build/uuid/lib/
H A Dsha1.js45 M[N - 1][14] = Math.floor(M[N - 1][14]);
60 const s = Math.floor(t / 20);
/expo/packages/expo-image-manipulator/src/actions/
H A DResizeAction.web.ts51 const yy_start = Math.floor(j * hRatio);
57 const xx_start = Math.floor(i * wRatio);
/expo/packages/expo-image-manipulator/build/actions/
H A DResizeAction.web.js39 const yy_start = Math.floor(j * hRatio);
45 const xx_start = Math.floor(i * wRatio);
/expo/packages/expo-random/src/__tests__/
H A DRandom-test.ts14 expect(ExpoRandom.getRandomBytesAsync).lastCalledWith(Math.floor(value));
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/CoreModules/
H A DABI47_0_0RCTFPSGraph.m44 _length = (NSUInteger)floor(frame.size.width);
45 _height = (NSUInteger)floor(frame.size.height);
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/CoreModules/
H A DABI48_0_0RCTFPSGraph.m44 _length = (NSUInteger)floor(frame.size.width);
45 _height = (NSUInteger)floor(frame.size.height);
/expo/apps/native-component-list/src/screens/AV/
H A DRecorder.tsx164 const paddedSecs = _leftPad(`${Math.floor(duration % 60)}`, '0', 2);
165 const paddedMins = _leftPad(`${Math.floor(duration / 60)}`, '0', 2);
167 return `${Math.floor(duration / 3600)}:${paddedMins}:${paddedSecs}`;
/expo/android/vendored/sdk49/react-native-svg/android/src/main/java/abi49_0_0/com/horcrux/svg/
H A DVirtualView.java121 infoBoundsInScreen.left = rootPositionOnScreen[0] + (int) Math.floor(mClientRect.left); in onInitializeAccessibilityNodeInfo()
122 infoBoundsInScreen.top = rootPositionOnScreen[1] + (int) Math.floor(mClientRect.top); in onInitializeAccessibilityNodeInfo()
565 int left = (int) Math.floor(mClientRect.left); in onLayout()
566 int top = (int) Math.floor(mClientRect.top); in onLayout()
589 int left = (int) Math.floor(mClientRect.left); in setClientRect()
590 int top = (int) Math.floor(mClientRect.top); in setClientRect()
/expo/android/vendored/unversioned/react-native-svg/android/src/main/java/com/horcrux/svg/
H A DVirtualView.java121 infoBoundsInScreen.left = rootPositionOnScreen[0] + (int) Math.floor(mClientRect.left); in onInitializeAccessibilityNodeInfo()
122 infoBoundsInScreen.top = rootPositionOnScreen[1] + (int) Math.floor(mClientRect.top); in onInitializeAccessibilityNodeInfo()
565 int left = (int) Math.floor(mClientRect.left); in onLayout()
566 int top = (int) Math.floor(mClientRect.top); in onLayout()
589 int left = (int) Math.floor(mClientRect.left); in setClientRect()
590 int top = (int) Math.floor(mClientRect.top); in setClientRect()
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/CoreModules/
H A DABI49_0_0RCTFPSGraph.m45 _length = (NSUInteger)floor(frame.size.width);
46 _height = (NSUInteger)floor(frame.size.height);

12345