Home
last modified time | relevance | path

Searched refs:IsOdd (Results 1 – 12 of 12) 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/llvm-project/llvm/unittests/ADT/
DIteratorTest.cpp174 auto IsOdd = [](int N) { return N % 2 == 1; }; in TEST() local
176 auto Range = make_filter_range(A, IsOdd); in TEST()
193 Callable IsOdd(Counter); in TEST() local
195 auto Range = make_filter_range(A, IsOdd); in TEST()
203 bool (*IsOdd)(int) = [](int N) { return N % 2 == 1; }; in TEST() local
205 auto Range = make_filter_range(A, IsOdd); in TEST()
211 auto IsOdd = [](int N) { return N % 2 == 1; }; in TEST() local
219 IsOdd); in TEST()
233 auto IsOdd = [](int N) { return N % 2 == 1; }; in TEST() local
237 IsOdd); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/algorithm/
Dcontainer_test.cc69 bool IsOdd(int x) { return x % 2 != 0; } in IsOdd() function
531 absl::c_is_partitioned(std::vector<int>{1, 3, 5, 2, 4, 6}, IsOdd)); in TEST()
533 absl::c_is_partitioned(std::vector<int>{1, 2, 3, 4, 5, 6}, IsOdd)); in TEST()
535 absl::c_is_partitioned(std::vector<int>{2, 4, 6, 1, 3, 5}, IsOdd)); in TEST()
540 absl::c_partition(actual, IsOdd); in TEST()
542 return absl::c_is_partitioned(c, IsOdd); in TEST()
548 absl::c_stable_partition(actual, IsOdd); in TEST()
556 back_inserter(evens), IsOdd); in TEST()
565 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
712 absl::c_replace_if(actual, IsOdd, 0); in TEST()
[all …]
/external/abseil-cpp/absl/algorithm/
Dcontainer_test.cc69 bool IsOdd(int x) { return x % 2 != 0; } in IsOdd() function
531 absl::c_is_partitioned(std::vector<int>{1, 3, 5, 2, 4, 6}, IsOdd)); in TEST()
533 absl::c_is_partitioned(std::vector<int>{1, 2, 3, 4, 5, 6}, IsOdd)); in TEST()
535 absl::c_is_partitioned(std::vector<int>{2, 4, 6, 1, 3, 5}, IsOdd)); in TEST()
540 absl::c_partition(actual, IsOdd); in TEST()
542 return absl::c_is_partitioned(c, IsOdd); in TEST()
548 absl::c_stable_partition(actual, IsOdd); in TEST()
556 back_inserter(evens), IsOdd); in TEST()
565 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
712 absl::c_replace_if(actual, IsOdd, 0); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/algorithm/
Dcontainer_test.cc67 bool IsOdd(int x) { return x % 2 != 0; } in IsOdd() function
603 absl::c_is_partitioned(std::vector<int>{1, 3, 5, 2, 4, 6}, IsOdd)); in TEST()
605 absl::c_is_partitioned(std::vector<int>{1, 2, 3, 4, 5, 6}, IsOdd)); in TEST()
607 absl::c_is_partitioned(std::vector<int>{2, 4, 6, 1, 3, 5}, IsOdd)); in TEST()
612 absl::c_partition(actual, IsOdd); in TEST()
614 return absl::c_is_partitioned(c, IsOdd); in TEST()
620 absl::c_stable_partition(actual, IsOdd); in TEST()
628 back_inserter(evens), IsOdd); in TEST()
637 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
807 absl::c_replace_if(actual, IsOdd, 0); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/algorithm/
Dcontainer_test.cc67 bool IsOdd(int x) { return x % 2 != 0; } in IsOdd() function
603 absl::c_is_partitioned(std::vector<int>{1, 3, 5, 2, 4, 6}, IsOdd)); in TEST()
605 absl::c_is_partitioned(std::vector<int>{1, 2, 3, 4, 5, 6}, IsOdd)); in TEST()
607 absl::c_is_partitioned(std::vector<int>{2, 4, 6, 1, 3, 5}, IsOdd)); in TEST()
612 absl::c_partition(actual, IsOdd); in TEST()
614 return absl::c_is_partitioned(c, IsOdd); in TEST()
620 absl::c_stable_partition(actual, IsOdd); in TEST()
628 back_inserter(evens), IsOdd); in TEST()
637 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
807 absl::c_replace_if(actual, IsOdd, 0); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/algorithm/
Dcontainer_test.cc67 bool IsOdd(int x) { return x % 2 != 0; } in IsOdd() function
603 absl::c_is_partitioned(std::vector<int>{1, 3, 5, 2, 4, 6}, IsOdd)); in TEST()
605 absl::c_is_partitioned(std::vector<int>{1, 2, 3, 4, 5, 6}, IsOdd)); in TEST()
607 absl::c_is_partitioned(std::vector<int>{2, 4, 6, 1, 3, 5}, IsOdd)); in TEST()
612 absl::c_partition(actual, IsOdd); in TEST()
614 return absl::c_is_partitioned(c, IsOdd); in TEST()
620 absl::c_stable_partition(actual, IsOdd); in TEST()
628 back_inserter(evens), IsOdd); in TEST()
637 auto middle = absl::c_partition_point(initial, IsOdd); in TEST()
807 absl::c_replace_if(actual, IsOdd, 0); in TEST()
[all …]
/external/python/apitools/apitools/base/py/testing/
Dmock_test.py167 def IsOdd(x): function
174 request=Matcher(IsOdd), response=2, enable_type_checking=False)
179 request=Matcher(IsOdd), response=4, enable_type_checking=False)
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DGpMacros.h155 #ifndef IsOdd
156 # define IsOdd(a) (((a) & 1) != 0) macro
/external/guava/android/guava-tests/test/com/google/common/base/
DPredicatesTest.java58 static class IsOdd implements Predicate<Integer>, Serializable { class in PredicatesTest
73 return obj instanceof IsOdd; in equals()
88 private static IsOdd isOdd() { in isOdd()
89 return new IsOdd(); in isOdd()
/external/guava/guava-tests/test/com/google/common/base/
DPredicatesTest.java58 static class IsOdd implements Predicate<Integer>, Serializable { class in PredicatesTest
73 return obj instanceof IsOdd; in equals()
88 private static IsOdd isOdd() { in isOdd()
89 return new IsOdd(); in isOdd()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc7726 MATCHER(IsOdd, "") { return (arg % 2) != 0; } in TEST()
7730 Matcher<int> m = matcher_test::IsOdd(); in TEST()
7737 return Value(arg, matcher_test::IsOdd()) && arg > 0; in TEST()