Home | History | Annotate | Download | only in gmock

Lines Matching refs:Result

254   typedef typename internal::Function<F>::Result Result;
264 virtual Result Perform(const ArgumentTuple& args) = 0;
282 typedef typename internal::Function<F>::Result Result;
312 Result Perform(const ArgumentTuple& args) const {
339 // template <typename Result, typename ArgumentTuple>
340 // Result Perform(const ArgumentTuple& args) const {
341 // // Processes the arguments and returns a result, using
365 typedef typename internal::Function<F>::Result Result;
370 virtual Result Perform(const ArgumentTuple& args) {
371 return impl_.template Perform<Result>(args);
411 typedef typename internal::Function<F1>::Result Result;
416 virtual Result Perform(const ArgumentTuple& args) {
431 // Function<F>::Result when this action is cast to Action<F> rather than
447 // statement, and conversion of the result of Return to Action<T(U)> is a
470 typedef typename Function<F>::Result Result;
472 !internal::is_reference<Result>::value,
482 typedef typename Function<F>::Result Result;
485 // The implicit cast is necessary when Result has more than one
486 // single-argument constructor (e.g. Result is std::vector<int>) and R
489 // Result to call. ImplicitCast_ forces the compiler to convert R to
490 // Result without considering explicit constructors, thus resolving the
493 : value_(::testing::internal::ImplicitCast_<Result>(value)) {}
495 virtual Result Perform(const ArgumentTuple&) { return value_; }
498 GTEST_COMPILE_ASSERT_(!internal::is_reference<Result>::value,
500 Result value_;
514 template <typename Result, typename ArgumentTuple>
515 static Result Perform(const ArgumentTuple&) {
516 GTEST_COMPILE_ASSERT_(internal::is_pointer<Result>::value,
526 template <typename Result, typename ArgumentTuple>
528 CompileAssertTypesEqual<void, Result>();
545 typedef typename Function<F>::Result Result;
549 GTEST_COMPILE_ASSERT_(internal::is_reference<Result>::value,
559 typedef typename Function<F>::Result Result;
564 virtual Result Perform(const ArgumentTuple&) {
593 typedef typename Function<F>::Result Result;
598 internal::is_reference<Result>::value,
608 typedef typename Function<F>::Result Result;
613 virtual Result Perform(const ArgumentTuple&) {
644 template <typename Result, typename ArgumentTuple>
663 SetErrnoAndReturnAction(int errno_value, T result)
665 result_(result) {}
666 template <typename Result, typename ArgumentTuple>
667 Result Perform(const ArgumentTuple& /* args */) const {
692 template <typename Result, typename ArgumentTuple>
694 CompileAssertTypesEqual<void, Result>();
715 template <typename Result, typename ArgumentTuple>
717 CompileAssertTypesEqual<void, Result>();
742 template <typename Result, typename ArgumentTuple>
743 Result Perform(const ArgumentTuple&) { return function_impl_(); }
758 template <typename Result, typename ArgumentTuple>
759 Result Perform(const ArgumentTuple&) const {
786 typedef typename internal::Function<F>::Result Result;
789 CompileAssertTypesEqual<void, Result>();
798 typedef typename internal::Function<F>::Result Result;
804 // Performs the action and ignores its result.
871 typedef typename Function<F>::Result Result;
878 virtual Result Perform(const ArgumentTuple& args) {
1029 SetErrnoAndReturn(int errval, T result) {
1031 internal::SetErrnoAndReturnAction<T>(errval, result));
1057 // result. In other words, it changes the return type of an_action to