Lines Matching refs:std

127   const std::unique_ptr<const char> p1(raw_p1);
130 const std::shared_ptr<double> p2(raw_p2);
143 EXPECT_EQ(&n, GetRawPointer(std::ref(n)));
144 EXPECT_EQ(&n, GetRawPointer(std::cref(n)));
291 std::tuple<> matchers;
292 std::tuple<> values;
298 std::tuple<Matcher<int>> matchers(Eq(1));
299 std::tuple<int> values1(1), values2(2);
306 std::tuple<Matcher<int>, Matcher<char>> matchers(Eq(1), Eq('a'));
307 std::tuple<int, char> values1(1, 'a'), values2(1, 'b'), values3(2, 'a'),
317 std::tuple<Matcher<int>, Matcher<char>, Matcher<bool>,
319 Matcher<std::string>>
321 std::tuple<int, char, bool, long, std::string> // NOLINT
373 std::string original_verbose_;
400 void TestLogWithSeverity(const std::string& verbosity, LogSeverity severity,
402 const std::string old_flag = GMOCK_FLAG_GET(verbose);
421 const std::string saved_flag = GMOCK_FLAG_GET(verbose);
430 std::string CurrentStackTrace(int max_depth, int skip_count) override {
445 const std::string log = GetCapturedStdout();
447 std::string expected_trace =
450 std::string expected_message =
506 std::string GrabOutput(void (*logger)(), const char* verbosity) {
507 const std::string saved_flag = GMOCK_FLAG_GET(verbose);
529 EXPECT_THAT(std::string(GrabOutput(ExpectCallLogger, kInfoVerbosity)),
552 EXPECT_THAT(std::string(GrabOutput(OnCallLogger, kInfoVerbosity)),
575 EXPECT_THAT(std::string(GrabOutput(OnCallAnyArgumentLogger, kInfoVerbosity)),
584 StaticAssertTypeEq<std::vector<int>,
585 StlContainerView<std::vector<int>>::type>();
586 StaticAssertTypeEq<const std::vector<double>&,
587 StlContainerView<std::vector<double>>::const_reference>();
589 typedef std::vector<char> Chars;
627 StlContainerView<std::tuple<const int*, size_t>>::type>();
630 StlContainerView<std::tuple<std::shared_ptr<double>, int>>::type>();
634 StlContainerView<std::tuple<const int*, int>>::const_reference>();
639 StlContainerView<std::tuple<const int*, int>>::ConstReference(
640 std::make_tuple(p1, 3));
644 const NativeArray<int> a3 = StlContainerView<std::tuple<int*, size_t>>::Copy(
645 std::make_tuple(static_cast<int*>(a1), 3));
661 EXPECT_TRUE((std::is_same<int, F::Result>::value));
662 EXPECT_TRUE((std::is_same<std::tuple<>, F::ArgumentTuple>::value));
663 EXPECT_TRUE((std::is_same<std::tuple<>, F::ArgumentMatcherTuple>::value));
664 EXPECT_TRUE((std::is_same<void(), F::MakeResultVoid>::value));
665 EXPECT_TRUE((std::is_same<IgnoredValue(), F::MakeResultIgnoredValue>::value));
671 EXPECT_TRUE((std::is_same<int, F::Result>::value));
672 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value));
673 EXPECT_TRUE((std::is_same<std::tuple<bool>, F::ArgumentTuple>::value));
675 std::is_same<std::tuple<Matcher<bool>>, F::ArgumentMatcherTuple>::value));
676 EXPECT_TRUE((std::is_same<void(bool), F::MakeResultVoid>::value)); // NOLINT
677 EXPECT_TRUE((std::is_same<IgnoredValue(bool), // NOLINT
684 EXPECT_TRUE((std::is_same<int, F::Result>::value));
685 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value));
686 EXPECT_TRUE((std::is_same<const long&, F::Arg<1>::type>::value)); // NOLINT
687 EXPECT_TRUE((std::is_same<std::tuple<bool, const long&>, // NOLINT
690 (std::is_same<std::tuple<Matcher<bool>, Matcher<const long&>>, // NOLINT
692 EXPECT_TRUE((std::is_same<void(bool, const long&), // NOLINT
694 EXPECT_TRUE((std::is_same<IgnoredValue(bool, const long&), // NOLINT
701 EXPECT_TRUE((std::is_same<char, F::Result>::value));
702 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value));
703 EXPECT_TRUE((std::is_same<int, F::Arg<1>::type>::value));
704 EXPECT_TRUE((std::is_same<char*, F::Arg<2>::type>::value));
705 EXPECT_TRUE((std::is_same<int&, F::Arg<3>::type>::value));
706 EXPECT_TRUE((std::is_same<const long&, F::Arg<4>::type>::value)); // NOLINT
708 (std::is_same<std::tuple<bool, int, char*, int&, const long&>, // NOLINT
711 (std::is_same<
712 std::tuple<Matcher<bool>, Matcher<int>, Matcher<char*>, Matcher<int&>,
716 (std::is_same<void(bool, int, char*, int&, const long&), // NOLINT
719 std::is_same<IgnoredValue(bool, int, char*, int&, const long&), // NOLINT
724 std::string unescaped;
729 std::string unescaped;
735 std::string unescaped;
741 std::string unescaped;
747 std::string escaped =
753 std::string expected =
758 std::string unescaped;