Home
last modified time | relevance | path

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

12

/external/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.cc128 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
152 erase_if(s, IsEven); in TEST()
158 erase_if(s, &IsEven); in TEST()
Dbtree_test.cc2301 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
2331 erase_if(s, IsEven); in TEST()
2337 erase_if(s, &IsEven); in TEST()
/external/openscreen/third_party/abseil/src/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()
/external/rust/crates/grpcio-sys/grpc/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()
/external/angle/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()
/external/webrtc/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.cc128 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
152 erase_if(s, IsEven); in TEST()
158 erase_if(s, &IsEven); in TEST()
Dbtree_test.cc2301 bool IsEven(int k) { return k % 2 == 0; } in IsEven() function
2331 erase_if(s, IsEven); in TEST()
2337 erase_if(s, &IsEven); in TEST()
/external/libtextclassifier/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()
/external/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.id/
Dp3.cpp59 concept IsEven = (x % 2) == 0;
61 static_assert(IsEven<20>);
62 static_assert(!IsEven<11>);
/external/python/apitools/apitools/base/py/testing/
Dmock_test.py164 def IsEven(x): function
168 return not IsEven(x)
171 request=Matcher(IsEven), response=1,
176 request=Matcher(IsEven), response=3,
/external/llvm-project/clang/test/CXX/expr/expr.prim/expr.prim.req/
Dcompound-requirement.cpp120 concept IsEven = (T % 2) == 0;
122 template<typename T> requires requires (T t) { { t } -> IsEven; } // expected-error{{concept named …
/external/llvm-project/llvm/unittests/ADT/
DIteratorTest.cpp263 auto IsEven = [](int N) { return N % 2 == 0; }; in TEST() local
264 auto Range4 = reverse(make_filter_range(A, IsEven)); in TEST()
/external/eigen/unsupported/Eigen/src/EulerAngles/
DEulerSystem.h146 IsEven = IsOdd ? 0 : 1, /*!< weather the Euler system is even */
/external/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 …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgtest_unittest.cc2168 bool IsEven(int n) { in IsEven() function
2174 bool operator()(int n) { return IsEven(n); } in operator ()()
2180 if (IsEven(n)) { in AssertIsEven()
2192 if (IsEven(n)) in ResultIsEven()
2202 if (IsEven(n)) in ResultIsEvenNoExplanation()
2218 return IsEven(n1 + n2); in SumIsEven2()
2225 return IsEven(n1 + n2 + n3); in operator ()()
2235 if (IsEven(sum)) { in AssertSumIsEven4()
2253 if (IsEven(sum)) { in operator ()()
2273 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/external/googletest/docs/reference/
Dmatchers.md263 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
/external/googletest/docs/
Dadvanced.md186 example, if you define `IsEven()` as:
189 testing::AssertionResult IsEven(int n) {
200 bool IsEven(int n) {
205 the failed assertion `EXPECT_TRUE(IsEven(Fib(4)))` will print:
208 Value of: IsEven(Fib(4))
216 Value of: IsEven(Fib(4))
227 testing::AssertionResult IsEven(int n) {
235 Then the statement `EXPECT_FALSE(IsEven(Fib(6)))` will print
238 Value of: IsEven(Fib(6))
/external/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()

12