Home | History | Annotate | Download | only in gmock

Lines Matching refs:Callable

1865 template <typename Callable>
1868 typedef typename CallableTraits<Callable>::ResultType ResultType;
1870 ResultOfMatcher(Callable callable, const Matcher<ResultType>& matcher)
1871 : callable_(callable), matcher_(matcher) {
1872 CallableTraits<Callable
1881 typedef typename CallableTraits<Callable>::StorageType CallableStorageType;
1886 Impl(CallableStorageType callable, const Matcher<ResultType>& matcher)
1887 : callable_(callable), matcher_(matcher) {}
1890 *os << "is mapped by the given callable to a value that ";
1895 *os << "is mapped by the given callable to a value that ";
1900 *listener << "which is mapped by the given callable to ";
1904 CallableTraits<Callable>::template Invoke<T>(callable_, obj);
1913 // how many times the callable will be invoked.
2844 // a callable to x matches 'matcher'.
2848 // callable parameter can be a function, function pointer, or a functor.
2849 // Callable has to satisfy the following conditions:
2856 template <typename Callable, typename ResultOfMatcher>
2857 internal::ResultOfMatcher<Callable> ResultOf(
2858 Callable callable, const ResultOfMatcher& matcher) {
2859 return internal::ResultOfMatcher<Callable>(
2860 callable,
2861 MatcherCast<typename internal::CallableTraits<Callable>::ResultType>(