Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dnode_hash_set_test.cc105 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
129 erase_if(s, IsEven); in TEST()
135 erase_if(s, &IsEven); in TEST()
Dflat_hash_set_test.cc140 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
164 erase_if(s, IsEven); in TEST()
170 erase_if(s, &IsEven); in TEST()
Dbtree_test.cc2449 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
2479 erase_if(s, IsEven); in TEST()
2485 erase_if(s, &IsEven); in TEST()
/third_party/abseil-cpp/absl/container/
Dnode_hash_set_test.cc105 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
129 erase_if(s, IsEven); in TEST()
135 erase_if(s, &IsEven); in TEST()
Dflat_hash_set_test.cc140 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
164 erase_if(s, IsEven); in TEST()
170 erase_if(s, &IsEven); in TEST()
Dbtree_test.cc2315 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
2345 erase_if(s, IsEven); in TEST()
2351 erase_if(s, &IsEven); in TEST()
/third_party/boost/libs/algorithm/doc/
Dgather.qbk43 a call to gather ( arr, arr + 10, arr + 4, IsEven ) will result in:
/third_party/googletest/googletest/test/
Dgtest_unittest.cc2180 bool IsEven(int n) { in IsEven() function
2186 bool operator()(int n) { return IsEven(n); } in operator ()()
2192 if (IsEven(n)) { in AssertIsEven()
2204 if (IsEven(n)) in ResultIsEven()
2214 if (IsEven(n)) in ResultIsEvenNoExplanation()
2230 return IsEven(n1 + n2); in SumIsEven2()
2237 return IsEven(n1 + n2 + n3); in operator ()()
2247 if (IsEven(sum)) { in AssertSumIsEven4()
2265 if (IsEven(sum)) { in operator ()()
2285 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/third_party/googletest/docs/reference/
Dmatchers.md264 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
/third_party/googletest/docs/
Dadvanced.md78 example, if you define `IsEven()` as:
81 testing::AssertionResult IsEven(int n) {
92 bool IsEven(int n) {
97 the failed assertion `EXPECT_TRUE(IsEven(Fib(4)))` will print:
100 Value of: IsEven(Fib(4))
108 Value of: IsEven(Fib(4))
119 testing::AssertionResult IsEven(int n) {
127 Then the statement `EXPECT_FALSE(IsEven(Fib(6)))` will print
130 Value of: IsEven(Fib(6))
Dgmock_cook_book.md1155 int IsEven(int n) { return (n % 2) == 0 ? 1 : 0; }
1158 EXPECT_CALL(foo, Bar(Truly(IsEven)));
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dfrontend.cpp605 INLINE static bool IsEven(T value) in IsEven() function
1468 SWR_ASSERT(IsEven(dsContext.vectorStride)); // simd8 -> simd16 in TessellationStages()
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/
DReactorUnitTests.cpp2036 static bool IsEven(int a) in TEST() function
2045 Bool res = Call(Class::IsEven, a); in TEST()
/third_party/googletest/googlemock/test/
Dgmock-matchers_test.cc7635 MATCHER(IsEven, "") { return (arg % 2) == 0; } in TEST()
7638 const Matcher<int> m = IsEven(); in TEST()