Lines Matching refs:name

18 //     * Neither the name of Google Inc. nor the names of its
1174 // MATCHER(name, description_string) { statements; }
1176 // defines a matcher with the given name that executes the statements,
1186 // case we'll use the sequence of words in the matcher name as the
1210 // matcher name IsEven.
1231 // MATCHER_P(name, param_name, description_string) { statements; }
1286 // contain the sequence of words in the matcher name followed by the
1381 #define MATCHER(name, description)\
1382 class name##Matcher {\
1403 negation, #name, \
1414 name##Matcher() {\
1417 GTEST_DISALLOW_ASSIGN_(name##Matcher);\
1419 inline name##Matcher name() {\
1420 return name##Matcher();\
1423 bool name##Matcher::gmock_Impl<arg_type>::MatchAndExplain(\
1428 #define MATCHER_P(name, p0, description)\
1430 class name##MatcherP {\
1452 negation, #name, \
1463 explicit name##MatcherP(p0##_type gmock_p0) : p0(gmock_p0) {\
1467 GTEST_DISALLOW_ASSIGN_(name##MatcherP);\
1470 inline name##MatcherP<p0##_type> name(p0##_type p0) {\
1471 return name##MatcherP<p0##_type>(p0);\
1475 bool name##MatcherP<p0##_type>::gmock_Impl<arg_type>::MatchAndExplain(\
1480 #define MATCHER_P2(name, p0, p1, description)\
1482 class name##MatcherP2 {\
1505 negation, #name, \
1516 name##MatcherP2(p0##_type gmock_p0, p1##_type gmock_p1) : p0(gmock_p0), \
1522 GTEST_DISALLOW_ASSIGN_(name##MatcherP2);\
1525 inline name##MatcherP2<p0##_type, p1##_type> name(p0##_type p0, \
1527 return name##MatcherP2<p0##_type, p1##_type>(p0, p1);\
1531 bool name##MatcherP2<p0##_type, \
1537 #define MATCHER_P3(name, p0, p1, p2, description)\
1539 class name##MatcherP3 {\
1563 negation, #name, \
1575 name##MatcherP3(p0##_type gmock_p0, p1##_type gmock_p1, \
1582 GTEST_DISALLOW_ASSIGN_(name##MatcherP3);\
1585 inline name##MatcherP3<p0##_type, p1##_type, p2##_type> name(p0##_type p0, \
1587 return name##MatcherP3<p0##_type, p1##_type, p2##_type>(p0, p1, p2);\
1591 bool name##MatcherP3<p0##_type, p1##_type, \
1597 #define MATCHER_P4(name, p0, p1, p2, p3, description)\
1600 class name##MatcherP4 {\
1626 negation, #name, \
1638 name##MatcherP4(p0##_type gmock_p0, p1##_type gmock_p1, \
1647 GTEST_DISALLOW_ASSIGN_(name##MatcherP4);\
1651 inline name##MatcherP4<p0##_type, p1##_type, p2##_type, \
1652 p3##_type> name(p0##_type p0, p1##_type p1, p2##_type p2, \
1654 return name##MatcherP4<p0##_type, p1##_type, p2##_type, p3##_type>(p0, \
1660 bool name##MatcherP4<p0##_type, p1##_type, p2##_type, \
1666 #define MATCHER_P5(name, p0, p1, p2, p3, p4, description)\
1669 class name##MatcherP5 {\
1697 negation, #name, \
1709 name##MatcherP5(p0##_type gmock_p0, p1##_type gmock_p1, \
1720 GTEST_DISALLOW_ASSIGN_(name##MatcherP5);\
1724 inline name##MatcherP5<p0##_type, p1##_type, p2##_type, p3##_type, \
1725 p4##_type> name(p0##_type p0, p1##_type p1, p2##_type p2, p3##_type p3, \
1727 return name##MatcherP5<p0##_type, p1##_type, p2##_type, p3##_type, \
1733 bool name##MatcherP5<p0##_type, p1##_type, p2##_type, p3##_type, \
1739 #define MATCHER_P6(name, p0, p1, p2, p3, p4, p5, description)\
1742 class name##MatcherP6 {\
1771 negation, #name, \
1783 name##MatcherP6(p0##_type gmock_p0, p1##_type gmock_p1, \
1795 GTEST_DISALLOW_ASSIGN_(name##MatcherP6);\
1799 inline name##MatcherP6<p0##_type, p1##_type, p2##_type, p3##_type, \
1800 p4##_type, p5##_type> name(p0##_type p0, p1##_type p1, p2##_type p2, \
1802 return name##MatcherP6<p0##_type, p1##_type, p2##_type, p3##_type, \
1808 bool name##MatcherP6<p0##_type, p1##_type, p2##_type, p3##_type, p4##_type, \
1814 #define MATCHER_P7(name, p0, p1, p2, p3, p4, p5, p6, description)\
1818 class name##MatcherP7 {\
1849 negation, #name, \
1862 name##MatcherP7(p0##_type gmock_p0, p1##_type gmock_p1, \
1876 GTEST_DISALLOW_ASSIGN_(name##MatcherP7);\
1881 inline name##MatcherP7<p0##_type, p1##_type, p2##_type, p3##_type, \
1882 p4##_type, p5##_type, p6##_type> name(p0##_type p0, p1##_type p1, \
1885 return name##MatcherP7<p0##_type, p1##_type, p2##_type, p3##_type, \
1892 bool name##MatcherP7<p0##_type, p1##_type, p2##_type, p3##_type, p4##_type, \
1898 #define MATCHER_P8(name, p0, p1, p2, p3, p4, p5, p6, p7, description)\
1902 class name##MatcherP8 {\
1934 negation, #name, \
1947 name##MatcherP8(p0##_type gmock_p0, p1##_type gmock_p1, \
1963 GTEST_DISALLOW_ASSIGN_(name##MatcherP8);\
1968 inline name##MatcherP8<p0##_type, p1##_type, p2##_type, p3##_type, \
1969 p4##_type, p5##_type, p6##_type, p7##_type> name(p0##_type p0, \
1972 return name##MatcherP8<p0##_type, p1##_type, p2##_type, p3##_type, \
1980 bool name##MatcherP8<p0##_type, p1##_type, p2##_type, p3##_type, p4##_type, \
1987 #define MATCHER_P9(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, description)\
1991 class name##MatcherP9 {\
2025 negation, #name, \
2038 name##MatcherP9(p0##_type gmock_p0, p1##_type gmock_p1, \
2055 GTEST_DISALLOW_ASSIGN_(name##MatcherP9);\
2060 inline name##MatcherP9<p0##_type, p1##_type, p2##_type, p3##_type, \
2062 p8##_type> name(p0##_type p0, p1##_type p1, p2##_type p2, p3##_type p3, \
2065 return name##MatcherP9<p0##_type, p1##_type, p2##_type, p3##_type, \
2073 bool name##MatcherP9<p0##_type, p1##_type, p2##_type, p3##_type, p4##_type, \
2080 #define MATCHER_P10(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, description)\
2085 class name##MatcherP10 {\
2121 negation, #name, \
2134 name##MatcherP10(p0##_type gmock_p0, p1##_type gmock_p1, \
2152 GTEST_DISALLOW_ASSIGN_(name##MatcherP10);\
2158 inline name##MatcherP10<p0##_type, p1##_type, p2##_type, p3##_type, \
2160 p9##_type> name(p0##_type p0, p1##_type p1, p2##_type p2, p3##_type p3, \
2163 return name##MatcherP10<p0##_type, p1##_type, p2##_type, p3##_type, \
2172 bool name##MatcherP10<p0##_type, p1##_type, p2##_type, p3##_type, \