Home
last modified time | relevance | path

Searched refs:IsEven (Results 1 – 15 of 15) sorted by relevance

/external/autotest/client/deps/glbench/src/
Dcontexttest.cc13 bool IsEven(int value) { in IsEven() function
46 interface->MakeCurrent(IsEven(i) ? new_context : main_context); in TestFunc()
/external/googletest/googlemock/include/gmock/
Dgmock-generated-matchers.h.pump77 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
82 // EXPECT_CALL(mock_foo, Bar(IsEven()));
87 // EXPECT_THAT(some_expression, IsEven());
96 // matcher name IsEven.
105 // polymorphic. For example, IsEven() can be used to match any type
107 // a bool. In the "Bar(IsEven())" example above, if method Bar()
/external/webrtc/webrtc/base/
Dcommon.cc68 bool IsEven(int n) { in IsEven() function
Dcommon.h100 bool IsEven(int n);
/external/google-breakpad/src/testing/include/gmock/
Dgmock-generated-matchers.h.pump435 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
440 // EXPECT_CALL(mock_foo, Bar(IsEven()));
445 // EXPECT_THAT(some_expression, IsEven());
454 // matcher name IsEven.
463 // polymorphic. For example, IsEven() can be used to match any type
465 // a bool. In the "Bar(IsEven())" example above, if method Bar()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DIteratorTest.cpp235 auto IsEven = [](int N) { return N % 2 == 0; }; in TEST() local
236 auto Range4 = reverse(make_filter_range(A, IsEven)); in TEST()
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc2249 bool IsEven(int n) { in IsEven() function
2255 bool operator()(int n) { return IsEven(n); } in operator ()()
2261 if (IsEven(n)) { in AssertIsEven()
2273 if (IsEven(n)) in ResultIsEven()
2283 if (IsEven(n)) in ResultIsEvenNoExplanation()
2299 return IsEven(n1 + n2); in SumIsEven2()
2306 return IsEven(n1 + n2 + n3); in operator ()()
2316 if (IsEven(sum)) { in AssertSumIsEven4()
2334 if (IsEven(sum)) { in operator ()()
2354 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/external/eigen/unsupported/Eigen/src/EulerAngles/
DEulerSystem.h146 IsEven = IsOdd ? 0 : 1, /*!< weather the Euler system is even */
/external/googletest/googletest/test/
Dgtest_unittest.cc2181 bool IsEven(int n) { in IsEven() function
2187 bool operator()(int n) { return IsEven(n); } in operator ()()
2193 if (IsEven(n)) { in AssertIsEven()
2205 if (IsEven(n)) in ResultIsEven()
2215 if (IsEven(n)) in ResultIsEvenNoExplanation()
2231 return IsEven(n1 + n2); in SumIsEven2()
2238 return IsEven(n1 + n2 + n3); in operator ()()
2248 if (IsEven(sum)) { in AssertSumIsEven4()
2266 if (IsEven(sum)) { in operator ()()
2286 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-generated-matchers_test.cc594 MATCHER(IsEven, "") { return (arg % 2) == 0; }
597 const Matcher<int> m = IsEven(); in TEST()
/external/googletest/googletest/docs/
Dadvanced.md189 example, if you define `IsEven()` as:
192 ::testing::AssertionResult IsEven(int n) {
203 bool IsEven(int n) {
208 the failed assertion `EXPECT_TRUE(IsEven(Fib(4)))` will print:
211 Value of: IsEven(Fib(4))
219 Value of: IsEven(Fib(4))
230 ::testing::AssertionResult IsEven(int n) {
238 Then the statement `EXPECT_FALSE(IsEven(Fib(6)))` will print
241 Value of: IsEven(Fib(6))
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc585 MATCHER(IsEven, "") { return (arg % 2) == 0; }
588 const Matcher<int> m = IsEven(); in TEST()
/external/googletest/googlemock/docs/
DCheatSheet.md356 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
DCookBook.md966 int IsEven(int n) { return (n % 2) == 0 ? 1 : 0; }
970 EXPECT_CALL(foo, Bar(Truly(IsEven)));
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dfrontend.cpp593 INLINE static bool IsEven(T value) in IsEven() function
1329 SWR_ASSERT(IsEven(dsContext.vectorStride)); // simd8 -> simd16 in TessellationStages()