Home
last modified time | relevance | path

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

12

/external/autotest/client/deps/glbench/src/
Dcontexttest.cc16 bool IsEven(int value) { in IsEven() function
49 interface->MakeCurrent(IsEven(i) ? new_context : main_context); in TestFunc()
/external/webrtc/webrtc/base/
Dcommon.cc68 bool IsEven(int n) { in IsEven() function
Dcommon.h100 bool IsEven(int n);
/external/v8/testing/gmock/include/gmock/
Dgmock-generated-matchers.h.pump402 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
407 // EXPECT_CALL(mock_foo, Bar(IsEven()));
412 // EXPECT_THAT(some_expression, IsEven());
421 // matcher name IsEven.
430 // polymorphic. For example, IsEven() can be used to match any type
432 // a bool. In the "Bar(IsEven())" example above, if method Bar()
/external/googletest/googlemock/include/gmock/
Dgmock-generated-matchers.h.pump402 // MATCHER(IsEven, "") { return (arg % 2) == 0; }
407 // EXPECT_CALL(mock_foo, Bar(IsEven()));
412 // EXPECT_THAT(some_expression, IsEven());
421 // matcher name IsEven.
430 // polymorphic. For example, IsEven() can be used to match any type
432 // a bool. In the "Bar(IsEven())" example above, if method Bar()
/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/protobuf/gtest/test/
Dgtest_unittest.cc2082 bool IsEven(int n) { in IsEven() function
2088 bool operator()(int n) { return IsEven(n); } in operator ()()
2094 if (IsEven(n)) { in AssertIsEven()
2106 if (IsEven(n)) in ResultIsEven()
2116 if (IsEven(n)) in ResultIsEvenNoExplanation()
2132 return IsEven(n1 + n2); in SumIsEven2()
2139 return IsEven(n1 + n2 + n3); in operator ()()
2149 if (IsEven(sum)) { in AssertSumIsEven4()
2167 if (IsEven(sum)) { in operator ()()
2187 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/external/v8/testing/gtest/test/
Dgtest_unittest.cc2111 bool IsEven(int n) { in IsEven() function
2117 bool operator()(int n) { return IsEven(n); } in operator ()()
2123 if (IsEven(n)) { in AssertIsEven()
2135 if (IsEven(n)) in ResultIsEven()
2145 if (IsEven(n)) in ResultIsEvenNoExplanation()
2161 return IsEven(n1 + n2); in SumIsEven2()
2168 return IsEven(n1 + n2 + n3); in operator ()()
2178 if (IsEven(sum)) { in AssertSumIsEven4()
2196 if (IsEven(sum)) { in operator ()()
2216 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/external/googletest/googletest/test/
Dgtest_unittest.cc2111 bool IsEven(int n) { in IsEven() function
2117 bool operator()(int n) { return IsEven(n); } in operator ()()
2123 if (IsEven(n)) { in AssertIsEven()
2135 if (IsEven(n)) in ResultIsEven()
2145 if (IsEven(n)) in ResultIsEvenNoExplanation()
2161 return IsEven(n1 + n2); in SumIsEven2()
2168 return IsEven(n1 + n2 + n3); in operator ()()
2178 if (IsEven(sum)) { in AssertSumIsEven4()
2196 if (IsEven(sum)) { in operator ()()
2216 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_unittest.cc2104 bool IsEven(int n) { in IsEven() function
2110 bool operator()(int n) { return IsEven(n); } in operator ()()
2116 if (IsEven(n)) { in AssertIsEven()
2128 if (IsEven(n)) in ResultIsEven()
2138 if (IsEven(n)) in ResultIsEvenNoExplanation()
2154 return IsEven(n1 + n2); in SumIsEven2()
2161 return IsEven(n1 + n2 + n3); in operator ()()
2171 if (IsEven(sum)) { in AssertSumIsEven4()
2189 if (IsEven(sum)) { in operator ()()
2209 ASSERT_PRED1(IsEven, 4); in TEST()
[all …]
/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/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/
DV1_5_AdvancedGuide.md163 `IsEven()` as:
166 ::testing::AssertionResult IsEven(int n) {
177 bool IsEven(int n) {
182 the failed assertion `EXPECT_TRUE(IsEven(Fib(4)))` will print:
185 Value of: !IsEven(Fib(4))<br>
193 Value of: !IsEven(Fib(4))<br>
203 ::testing::AssertionResult IsEven(int n) {
211 Then the statement `EXPECT_FALSE(IsEven(Fib(6)))` will print
214 Value of: !IsEven(Fib(6))<br>
DV1_7_AdvancedGuide.md163 `IsEven()` as:
166 ::testing::AssertionResult IsEven(int n) {
177 bool IsEven(int n) {
182 the failed assertion `EXPECT_TRUE(IsEven(Fib(4)))` will print:
185 Value of: IsEven(Fib(4))<br>
193 Value of: IsEven(Fib(4))<br>
203 ::testing::AssertionResult IsEven(int n) {
211 Then the statement `EXPECT_FALSE(IsEven(Fib(6)))` will print
214 Value of: IsEven(Fib(6))<br>
DV1_6_AdvancedGuide.md163 `IsEven()` as:
166 ::testing::AssertionResult IsEven(int n) {
177 bool IsEven(int n) {
182 the failed assertion `EXPECT_TRUE(IsEven(Fib(4)))` will print:
185 Value of: !IsEven(Fib(4))<br>
193 Value of: !IsEven(Fib(4))<br>
203 ::testing::AssertionResult IsEven(int n) {
211 Then the statement `EXPECT_FALSE(IsEven(Fib(6)))` will print
214 Value of: !IsEven(Fib(6))<br>
DAdvancedGuide.md165 `IsEven()` as:
168 ::testing::AssertionResult IsEven(int n) {
179 bool IsEven(int n) {
184 the failed assertion `EXPECT_TRUE(IsEven(Fib(4)))` will print:
187 Value of: IsEven(Fib(4))<br>
195 Value of: IsEven(Fib(4))<br>
205 ::testing::AssertionResult IsEven(int n) {
213 Then the statement `EXPECT_FALSE(IsEven(Fib(6)))` will print
216 Value of: IsEven(Fib(6))<br>
/external/googletest/googlemock/test/
Dgmock-generated-matchers_test.cc725 MATCHER(IsEven, "") { return (arg % 2) == 0; }
728 const Matcher<int> m = IsEven(); in TEST()
/external/v8/testing/gmock/test/
Dgmock-generated-matchers_test.cc726 MATCHER(IsEven, "") { return (arg % 2) == 0; }
729 const Matcher<int> m = IsEven(); in TEST()
/external/googletest/googlemock/docs/v1_5/
DCheatSheet.md304 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
DCookBook.md968 int IsEven(int n) { return (n % 2) == 0 ? 1 : 0; }
972 EXPECT_CALL(foo, Bar(Truly(IsEven)));
/external/googletest/googlemock/docs/v1_6/
DCheatSheet.md309 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
DCookBook.md973 int IsEven(int n) { return (n % 2) == 0 ? 1 : 0; }
977 EXPECT_CALL(foo, Bar(Truly(IsEven)));
/external/googletest/googlemock/docs/
DCheatSheet.md337 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …
/external/googletest/googlemock/docs/v1_7/
DCheatSheet.md331 | `MATCHER(IsEven, "") { return (arg % 2) == 0; }` | Defines a matcher `IsEven()` to match an even …

12