Home
last modified time | relevance | path

Searched refs:IsOdd (Results 1 – 8 of 8) sorted by relevance

/external/eigen/unsupported/Eigen/src/EulerAngles/
DEulerSystem.h145IsOdd = ((AlphaAxisAbs)%3 == (BetaAxisAbs - 1)%3) ? 0 : 1, /*!< weather the Euler system is odd */
146 IsEven = IsOdd ? 0 : 1, /*!< weather the Euler system is even */
174 J = (AlphaAxisAbs - 1 + 1 + IsOdd)%3,
175 K = (AlphaAxisAbs - 1 + 2 - IsOdd)%3
191 if((IsOdd && res[0]<Scalar(0)) || ((!IsOdd) && res[0]>Scalar(0))) {
218 if((IsOdd && res[0]<Scalar(0)) || ((!IsOdd) && res[0]>Scalar(0)))
282 if (IsAlphaOpposite == IsOdd)
285 if (IsBetaOpposite == IsOdd)
288 if (IsGammaOpposite == IsOdd)
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DIteratorTest.cpp146 auto IsOdd = [](int N) { return N % 2 == 1; }; in TEST() local
148 auto Range = make_filter_range(A, IsOdd); in TEST()
165 Callable IsOdd(Counter); in TEST() local
167 auto Range = make_filter_range(A, IsOdd); in TEST()
175 bool (*IsOdd)(int) = [](int N) { return N % 2 == 1; }; in TEST() local
177 auto Range = make_filter_range(A, IsOdd); in TEST()
183 auto IsOdd = [](int N) { return N % 2 == 1; }; in TEST() local
191 IsOdd); in TEST()
205 auto IsOdd = [](int N) { return N % 2 == 1; }; in TEST() local
209 IsOdd); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dcommon.cc64 bool IsOdd(int n) { in IsOdd() function
69 return !IsOdd(n); in IsEven()
Dcommon.h98 bool IsOdd(int n);
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DPredicatesTest.java56 static class IsOdd implements Predicate<Integer>, Serializable { class in PredicatesTest
66 return obj instanceof IsOdd; in equals()
79 private static IsOdd isOdd() { in isOdd()
80 return new IsOdd(); in isOdd()
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java61 static class IsOdd implements Predicate<Integer>, Serializable { class in PredicatesTest
71 return obj instanceof IsOdd; in equals()
84 private static IsOdd isOdd() { in isOdd()
85 return new IsOdd(); in isOdd()
/external/google-breakpad/src/testing/test/
Dgmock-generated-matchers_test.cc685 MATCHER(IsOdd, "") { return (arg % 2) != 0; }
689 Matcher<int> m = matcher_test::IsOdd(); in TEST()
696 return Value(arg, matcher_test::IsOdd()) && arg > 0;
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc676 MATCHER(IsOdd, "") { return (arg % 2) != 0; }
680 Matcher<int> m = matcher_test::IsOdd(); in TEST()
687 return Value(arg, matcher_test::IsOdd()) && arg > 0;