Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 876) sorted by relevance

12345678910>>...36

/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/yoga/yoga/
H A DABI47_0_0Utils.cpp22 if (!yoga::isUndefined(a) && !yoga::isUndefined(b)) { in ABI47_0_0YGFloatMax()
23 return fmaxf(a, b); in ABI47_0_0YGFloatMax()
25 return yoga::isUndefined(a) ? b : a; in ABI47_0_0YGFloatMax()
29 if (!yoga::isUndefined(a) && !yoga::isUndefined(b)) { in ABI47_0_0YGFloatMin()
30 return fminf(a, b); in ABI47_0_0YGFloatMin()
33 return yoga::isUndefined(a) ? b : a; in ABI47_0_0YGFloatMin()
37 if (a.unit != b.unit) { in ABI47_0_0YGValueEqual()
46 return fabs(a.value - b.value) < 0.0001f; in ABI47_0_0YGValueEqual()
51 return fabs(a - b) < 0.0001f; in ABI47_0_0YGFloatsEqual()
53 return yoga::isUndefined(a) && yoga::isUndefined(b); in ABI47_0_0YGFloatsEqual()
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/yoga/yoga/
H A DABI49_0_0Utils.cpp22 if (!yoga::isUndefined(a) && !yoga::isUndefined(b)) { in ABI49_0_0YGFloatMax()
23 return fmaxf(a, b); in ABI49_0_0YGFloatMax()
25 return yoga::isUndefined(a) ? b : a; in ABI49_0_0YGFloatMax()
29 if (!yoga::isUndefined(a) && !yoga::isUndefined(b)) { in ABI49_0_0YGFloatMin()
30 return fminf(a, b); in ABI49_0_0YGFloatMin()
33 return yoga::isUndefined(a) ? b : a; in ABI49_0_0YGFloatMin()
37 if (a.unit != b.unit) { in ABI49_0_0YGValueEqual()
46 return fabs(a.value - b.value) < 0.0001f; in ABI49_0_0YGValueEqual()
51 return fabs(a - b) < 0.0001f; in ABI49_0_0YGFloatsEqual()
53 return yoga::isUndefined(a) && yoga::isUndefined(b); in ABI49_0_0YGFloatsEqual()
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/yoga/yoga/
H A DABI48_0_0Utils.cpp22 if (!yoga::isUndefined(a) && !yoga::isUndefined(b)) { in ABI48_0_0YGFloatMax()
23 return fmaxf(a, b); in ABI48_0_0YGFloatMax()
25 return yoga::isUndefined(a) ? b : a; in ABI48_0_0YGFloatMax()
29 if (!yoga::isUndefined(a) && !yoga::isUndefined(b)) { in ABI48_0_0YGFloatMin()
30 return fminf(a, b); in ABI48_0_0YGFloatMin()
33 return yoga::isUndefined(a) ? b : a; in ABI48_0_0YGFloatMin()
37 if (a.unit != b.unit) { in ABI48_0_0YGValueEqual()
46 return fabs(a.value - b.value) < 0.0001f; in ABI48_0_0YGValueEqual()
51 return fabs(a - b) < 0.0001f; in ABI48_0_0YGFloatsEqual()
53 return yoga::isUndefined(a) && yoga::isUndefined(b); in ABI48_0_0YGFloatsEqual()
[all …]
/expo/packages/expo-router/src/
H A DsortRoutes.ts5 if (a.dynamic && !b.dynamic) {
8 if (!a.dynamic && b.dynamic) {
11 if (a.dynamic && b.dynamic) {
12 if (a.dynamic.length !== b.dynamic.length) {
13 return b.dynamic.length - a.dynamic.length;
17 const bDynamic = b.dynamic[i];
29 const bIndex = b.route === 'index' || matchGroupName(b.route) != null;
38 return a.route.length - b.route.length;
42 return (a: RouteNode, b: RouteNode): number => {
47 if (b.route === initialRouteName) {
[all …]
/expo/packages/expo-router/build/
H A DsortRoutes.js5 function sortRoutes(a, b) { argument
6 if (a.dynamic && !b.dynamic) {
9 if (!a.dynamic && b.dynamic) {
12 if (a.dynamic && b.dynamic) {
13 if (a.dynamic.length !== b.dynamic.length) {
18 const bDynamic = b.dynamic[i];
29 const bIndex = b.route === 'index' || (0, matchers_1.matchGroupName)(b.route) != null;
36 return a.route.length - b.route.length;
40 return (a, b) => {
45 if (b.route === initialRouteName) {
[all …]
/expo/android/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkPoint3.h28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) {
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
33 return !(a == b);
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 return { a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ };
87 return { a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ };
131 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in DotProduct()
142 result.fX = a.fY*b.fZ - a.fZ*b.fY; in CrossProduct()
143 result.fY = a.fZ*b.fX - a.fX*b.fZ; in CrossProduct()
[all …]
H A DSkPoint.h112 return a.fX == b.fX && a.fY == b.fY;
122 return a.fX != b.fX || a.fY != b.fY;
134 return { Sk32_sat_sub(a.fX, b.fX), Sk32_sat_sub(a.fY, b.fY) };
148 return { Sk32_sat_add(a.fX, b.fX), Sk32_sat_add(a.fY, b.fY) };
441 return a.fX == b.fX && a.fY == b.fY;
451 return a.fX != b.fX || a.fY != b.fY;
464 return {a.fX - b.fX, a.fY - b.fY};
478 return {a.fX + b.fX, a.fY + b.fY};
517 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
527 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
[all …]
/expo/ios/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkPoint3.h28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) {
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
33 return !(a == b);
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 return { a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ };
87 return { a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ };
131 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in DotProduct()
142 result.fX = a.fY*b.fZ - a.fZ*b.fY; in CrossProduct()
143 result.fY = a.fZ*b.fX - a.fX*b.fZ; in CrossProduct()
[all …]
H A DSkPoint.h112 return a.fX == b.fX && a.fY == b.fY;
122 return a.fX != b.fX || a.fY != b.fY;
134 return { Sk32_sat_sub(a.fX, b.fX), Sk32_sat_sub(a.fY, b.fY) };
148 return { Sk32_sat_add(a.fX, b.fX), Sk32_sat_add(a.fY, b.fY) };
441 return a.fX == b.fX && a.fY == b.fY;
451 return a.fX != b.fX || a.fY != b.fY;
464 return {a.fX - b.fX, a.fY - b.fY};
478 return {a.fX + b.fX, a.fY + b.fY};
517 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
527 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
[all …]
/expo/ios/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkPoint3.h28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) {
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
33 return !(a == b);
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 return { a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ };
87 return { a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ };
131 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in DotProduct()
142 result.fX = a.fY*b.fZ - a.fZ*b.fY; in CrossProduct()
143 result.fY = a.fZ*b.fX - a.fX*b.fZ; in CrossProduct()
[all …]
/expo/ios/vendored/unversioned/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkPoint3.h28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) {
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
33 return !(a == b);
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 return { a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ };
87 return { a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ };
131 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in DotProduct()
142 result.fX = a.fY*b.fZ - a.fZ*b.fY; in CrossProduct()
143 result.fY = a.fZ*b.fX - a.fX*b.fZ; in CrossProduct()
[all …]
H A DSkPoint.h112 return a.fX == b.fX && a.fY == b.fY;
122 return a.fX != b.fX || a.fY != b.fY;
134 return { Sk32_sat_sub(a.fX, b.fX), Sk32_sat_sub(a.fY, b.fY) };
148 return { Sk32_sat_add(a.fX, b.fX), Sk32_sat_add(a.fY, b.fY) };
441 return a.fX == b.fX && a.fY == b.fY;
451 return a.fX != b.fX || a.fY != b.fY;
464 return {a.fX - b.fX, a.fY - b.fY};
478 return {a.fX + b.fX, a.fY + b.fY};
517 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
527 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
[all …]
/expo/android/vendored/sdk48/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkPoint3.h28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) {
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
33 return !(a == b);
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 return { a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ };
87 return { a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ };
131 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in DotProduct()
142 result.fX = a.fY*b.fZ - a.fZ*b.fY; in CrossProduct()
143 result.fY = a.fZ*b.fX - a.fX*b.fZ; in CrossProduct()
[all …]
H A DSkPoint.h110 return a.fX == b.fX && a.fY == b.fY;
120 return a.fX != b.fX || a.fY != b.fY;
132 return { Sk32_sat_sub(a.fX, b.fX), Sk32_sat_sub(a.fY, b.fY) };
146 return { Sk32_sat_add(a.fX, b.fX), Sk32_sat_add(a.fY, b.fY) };
439 return a.fX == b.fX && a.fY == b.fY;
449 return a.fX != b.fX || a.fY != b.fY;
462 return {a.fX - b.fX, a.fY - b.fY};
476 return {a.fX + b.fX, a.fY + b.fY};
515 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
525 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
[all …]
/expo/android/vendored/sdk47/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkPoint3.h28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) {
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
33 return !(a == b);
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 return { a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ };
87 return { a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ };
131 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in DotProduct()
142 result.fX = a.fY*b.fZ - a.fZ*b.fY; in CrossProduct()
143 result.fY = a.fZ*b.fX - a.fX*b.fZ; in CrossProduct()
[all …]
H A DSkPoint.h110 return a.fX == b.fX && a.fY == b.fY;
120 return a.fX != b.fX || a.fY != b.fY;
132 return { Sk32_sat_sub(a.fX, b.fX), Sk32_sat_sub(a.fY, b.fY) };
146 return { Sk32_sat_add(a.fX, b.fX), Sk32_sat_add(a.fY, b.fY) };
439 return a.fX == b.fX && a.fY == b.fY;
449 return a.fX != b.fX || a.fY != b.fY;
462 return {a.fX - b.fX, a.fY - b.fY};
476 return {a.fX + b.fX, a.fY + b.fY};
515 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
525 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
[all …]
/expo/ios/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkPoint3.h28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) {
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
33 return !(a == b);
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 return { a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ };
87 return { a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ };
131 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in DotProduct()
142 result.fX = a.fY*b.fZ - a.fZ*b.fY; in CrossProduct()
143 result.fY = a.fZ*b.fX - a.fX*b.fZ; in CrossProduct()
[all …]
H A DSkPoint.h112 return a.fX == b.fX && a.fY == b.fY;
122 return a.fX != b.fX || a.fY != b.fY;
134 return { Sk32_sat_sub(a.fX, b.fX), Sk32_sat_sub(a.fY, b.fY) };
148 return { Sk32_sat_add(a.fX, b.fX), Sk32_sat_add(a.fY, b.fY) };
441 return a.fX == b.fX && a.fY == b.fY;
451 return a.fX != b.fX || a.fY != b.fY;
464 return {a.fX - b.fX, a.fY - b.fY};
478 return {a.fX + b.fX, a.fY + b.fY};
517 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
527 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
[all …]
/expo/android/vendored/sdk49/@shopify/react-native-skia/cpp/skia/include/core/
H A DSkPoint3.h28 friend bool operator==(const SkPoint3& a, const SkPoint3& b) {
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
32 friend bool operator!=(const SkPoint3& a, const SkPoint3& b) {
33 return !(a == b);
80 friend SkPoint3 operator-(const SkPoint3& a, const SkPoint3& b) {
81 return { a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ };
87 return { a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ };
131 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in DotProduct()
142 result.fX = a.fY*b.fZ - a.fZ*b.fY; in CrossProduct()
143 result.fY = a.fZ*b.fX - a.fX*b.fZ; in CrossProduct()
[all …]
H A DSkPoint.h112 return a.fX == b.fX && a.fY == b.fY;
122 return a.fX != b.fX || a.fY != b.fY;
134 return { Sk32_sat_sub(a.fX, b.fX), Sk32_sat_sub(a.fY, b.fY) };
148 return { Sk32_sat_add(a.fX, b.fX), Sk32_sat_add(a.fY, b.fY) };
441 return a.fX == b.fX && a.fY == b.fY;
451 return a.fX != b.fX || a.fY != b.fY;
464 return {a.fX - b.fX, a.fY - b.fY};
478 return {a.fX + b.fX, a.fY + b.fY};
517 return Length(a.fX - b.fX, a.fY - b.fY); in Distance()
527 return a.fX * b.fX + a.fY * b.fY; in DotProduct()
[all …]
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/host/exp/exponent/modules/api/components/maps/
H A DLatLngBoundsUtils.java7 public static boolean BoundsAreDifferent(LatLngBounds a, LatLngBounds b) { in BoundsAreDifferent() argument
14 LatLng centerB = b.getCenter(); in BoundsAreDifferent()
17 double latDeltaB = b.northeast.latitude - b.southwest.latitude; in BoundsAreDifferent()
18 double lngDeltaB = b.northeast.longitude - b.southwest.longitude; in BoundsAreDifferent()
20 double latEps = LatitudeEpsilon(a, b); in BoundsAreDifferent()
21 double lngEps = LongitudeEpsilon(a, b); in BoundsAreDifferent()
30 private static boolean different(double a, double b, double epsilon) { in different() argument
31 return Math.abs(a - b) > epsilon; in different()
34 private static double LatitudeEpsilon(LatLngBounds a, LatLngBounds b) { in LatitudeEpsilon() argument
36 double sizeB = b.northeast.latitude - b.southwest.latitude; // something mod 180? in LatitudeEpsilon()
[all …]
/expo/android/expoview/src/main/java/versioned/host/exp/exponent/modules/api/components/maps/
H A DLatLngBoundsUtils.java7 public static boolean BoundsAreDifferent(LatLngBounds a, LatLngBounds b) { in BoundsAreDifferent() argument
14 LatLng centerB = b.getCenter(); in BoundsAreDifferent()
17 double latDeltaB = b.northeast.latitude - b.southwest.latitude; in BoundsAreDifferent()
18 double lngDeltaB = b.northeast.longitude - b.southwest.longitude; in BoundsAreDifferent()
20 double latEps = LatitudeEpsilon(a, b); in BoundsAreDifferent()
21 double lngEps = LongitudeEpsilon(a, b); in BoundsAreDifferent()
30 private static boolean different(double a, double b, double epsilon) { in different() argument
31 return Math.abs(a - b) > epsilon; in different()
34 private static double LatitudeEpsilon(LatLngBounds a, LatLngBounds b) { in LatitudeEpsilon() argument
36 double sizeB = b.northeast.latitude - b.southwest.latitude; // something mod 180? in LatitudeEpsilon()
[all …]
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/host/exp/exponent/modules/api/components/maps/
H A DLatLngBoundsUtils.java7 public static boolean BoundsAreDifferent(LatLngBounds a, LatLngBounds b) { in BoundsAreDifferent() argument
14 LatLng centerB = b.getCenter(); in BoundsAreDifferent()
17 double latDeltaB = b.northeast.latitude - b.southwest.latitude; in BoundsAreDifferent()
18 double lngDeltaB = b.northeast.longitude - b.southwest.longitude; in BoundsAreDifferent()
20 double latEps = LatitudeEpsilon(a, b); in BoundsAreDifferent()
21 double lngEps = LongitudeEpsilon(a, b); in BoundsAreDifferent()
30 private static boolean different(double a, double b, double epsilon) { in different() argument
31 return Math.abs(a - b) > epsilon; in different()
34 private static double LatitudeEpsilon(LatLngBounds a, LatLngBounds b) { in LatitudeEpsilon() argument
36 double sizeB = b.northeast.latitude - b.southwest.latitude; // something mod 180? in LatitudeEpsilon()
[all …]
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/host/exp/exponent/modules/api/components/maps/
H A DLatLngBoundsUtils.java7 public static boolean BoundsAreDifferent(LatLngBounds a, LatLngBounds b) { in BoundsAreDifferent() argument
14 LatLng centerB = b.getCenter(); in BoundsAreDifferent()
17 double latDeltaB = b.northeast.latitude - b.southwest.latitude; in BoundsAreDifferent()
18 double lngDeltaB = b.northeast.longitude - b.southwest.longitude; in BoundsAreDifferent()
20 double latEps = LatitudeEpsilon(a, b); in BoundsAreDifferent()
21 double lngEps = LongitudeEpsilon(a, b); in BoundsAreDifferent()
30 private static boolean different(double a, double b, double epsilon) { in different() argument
31 return Math.abs(a - b) > epsilon; in different()
34 private static double LatitudeEpsilon(LatLngBounds a, LatLngBounds b) { in LatitudeEpsilon() argument
36 double sizeB = b.northeast.latitude - b.southwest.latitude; // something mod 180? in LatitudeEpsilon()
[all …]
/expo/packages/@expo/fingerprint/src/
H A DSort.ts9 return sources.sort((a, b) => {
10 const typeResult = typeOrder[a.type] - typeOrder[b.type]; constant
12 if (a.type === 'file' && b.type === 'file') {
13 return a.filePath.localeCompare(b.filePath);
14 } else if (a.type === 'dir' && b.type === 'dir') {
15 return a.filePath.localeCompare(b.filePath);
16 } else if (a.type === 'contents' && b.type === 'contents') {
17 return a.id.localeCompare(b.id);

12345678910>>...36