Searched refs:IntFunction (Results 1 - 6 of 6) sorted by relevance
/external/libtextclassifier/tests/ |
H A D | functions.cc | 26 TC_DEFINE_CLASS_REGISTRY_NAME("int-function", functions::IntFunction);
|
H A D | registry_test.cc | 51 std::unique_ptr<IntFunction> f3(IntFunction::Create("inc")); 60 EXPECT_EQ(IntFunction::Create("dec"), nullptr); 62 // Function and IntFunction use different registries. 63 EXPECT_EQ(IntFunction::Create("exp"), nullptr);
|
H A D | functions.h | 47 class IntFunction : public RegisterableClass<IntFunction> { class in namespace:libtextclassifier::nlp_core::functions 49 virtual ~IntFunction() {} 53 class Inc : public IntFunction { 59 class Dec : public IntFunction { 68 TC_DECLARE_CLASS_REGISTRY_NAME(functions::IntFunction);
|
/external/google-breakpad/src/testing/test/ |
H A D | gmock-matchers_test.cc | 3356 int IntFunction(int input) { return input == 42 ? 80 : 90; } function in namespace:testing::gmock_matchers_test 3359 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85)); 3363 matcher = ResultOf(&IntFunction, GreaterThan(85)); 3371 Matcher<int> matcher = ResultOf(&IntFunction, Eq(80)); 3419 // IntFunction() returns int but the inner matcher expects a signed char. 3420 Matcher<int> matcher = ResultOf(IntFunction, Matcher<signed char>(Ge(85)));
|
/external/googletest/googlemock/test/ |
H A D | gmock-matchers_test.cc | 3825 int IntFunction(int input) { return input == 42 ? 80 : 90; } function in namespace:testing::gmock_matchers_test 3828 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85)); 3832 matcher = ResultOf(&IntFunction, GreaterThan(85)); 3840 Matcher<int> matcher = ResultOf(&IntFunction, Eq(80)); 3888 // IntFunction() returns int but the inner matcher expects a signed char. 3889 Matcher<int> matcher = ResultOf(IntFunction, Matcher<signed char>(Ge(85)));
|
/external/v8/testing/gmock/test/ |
H A D | gmock-matchers_test.cc | 3816 int IntFunction(int input) { return input == 42 ? 80 : 90; } function in namespace:testing::gmock_matchers_test 3819 Matcher<int> matcher = ResultOf(&IntFunction, Ge(85)); 3823 matcher = ResultOf(&IntFunction, GreaterThan(85)); 3831 Matcher<int> matcher = ResultOf(&IntFunction, Eq(80)); 3879 // IntFunction() returns int but the inner matcher expects a signed char. 3880 Matcher<int> matcher = ResultOf(IntFunction, Matcher<signed char>(Ge(85)));
|
Completed in 265 milliseconds