Home
last modified time | relevance | path

Searched refs:IsEven (Results 1 – 12 of 12) 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/libdrm/tests/tegra/
Dvic40.h45 uint64_t IsEven : 1; /* 6 */ member
Dvic41.h69 uint64_t IsEven : 1; /* 6 */ member
Dvic42.h67 uint64_t IsEven : 1; /* 6 */ member
/third_party/googletest/googletest/test/
Dgtest_unittest.cc2152 bool IsEven(int n) { return (n % 2) == 0; } in IsEven() function
2156 bool operator()(int n) { return IsEven(n); } in operator ()()
2162 if (IsEven(n)) { in AssertIsEven()
2174 if (IsEven(n)) in ResultIsEven()
2184 if (IsEven(n)) in ResultIsEvenNoExplanation()
2199 bool SumIsEven2(int n1, int n2) { return IsEven(n1 + n2); } in SumIsEven2()
2204 bool operator()(int n1, int n2, int n3) { return IsEven(n1 + n2 + n3); } in operator ()()
2213 if (IsEven(sum)) { in AssertSumIsEven4()
2231 if (IsEven(sum)) { in operator ()()
2249 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/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.md1154 int IsEven(int n) { return (n % 2) == 0 ? 1 : 0; }
1157 EXPECT_CALL(foo, Bar(Truly(IsEven)));
/third_party/googletest/docs/reference/
Dmatchers.md271 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
/third_party/googletest/googlemock/test/
Dgmock-matchers-misc_test.cc993 MATCHER(IsEven, "") { return (arg % 2) == 0; }
996 const Matcher<int> m = IsEven(); in TEST()
/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()