Searched refs:make_tuple (Results 1 - 25 of 26) sorted by relevance

12

/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-actions_test.cc50 using testing::make_tuple;
172 EXPECT_EQ(1, a.Perform(make_tuple(2, &Nullary)));
178 EXPECT_EQ(1, a.Perform(make_tuple(UnaryFunctor())));
185 EXPECT_EQ(12345, a.Perform(make_tuple(&SumOf5)));
192 EXPECT_EQ(12345, a.Perform(make_tuple(SumOf5Functor())));
199 EXPECT_EQ(123456, a.Perform(make_tuple(&SumOf6)));
206 EXPECT_EQ(123456, a.Perform(make_tuple(SumOf6Functor())));
215 EXPECT_EQ("1234567", a.Perform(make_tuple(&Concat7)));
224 EXPECT_EQ("12345678", a.Perform(make_tuple(&Concat8)));
233 EXPECT_EQ("123456789", a.Perform(make_tuple(
[all...]
H A Dgmock-actions_test.cc73 using testing::make_tuple;
394 EXPECT_EQ(5, action.Perform(make_tuple(true, 5)));
407 EXPECT_EQ(5, action.Perform(make_tuple(true, 5)));
408 EXPECT_EQ(0, action.Perform(make_tuple(false, 1)));
417 EXPECT_EQ(5, a1.Perform(make_tuple(true, 5)));
418 EXPECT_EQ(0, a1.Perform(make_tuple(false, 1)));
421 EXPECT_EQ(5, a2.Perform(make_tuple(true, 5)));
422 EXPECT_EQ(0, a2.Perform(make_tuple(false, 1)));
427 EXPECT_EQ(5, a1.Perform(make_tuple(true, 5)));
428 EXPECT_EQ(0, a1.Perform(make_tuple(fals
[all...]
H A Dgmock-more-actions_test.cc51 using testing::make_tuple;
236 EXPECT_EQ(1, a.Perform(make_tuple()));
242 EXPECT_FALSE(a.Perform(make_tuple(1)));
243 EXPECT_TRUE(a.Perform(make_tuple(-1)));
250 EXPECT_EQ(p + 2, a.Perform(make_tuple(p, Short(2))));
256 EXPECT_EQ(6, a.Perform(make_tuple(1, '\2', Short(3))));
262 EXPECT_EQ(1234, a.Perform(make_tuple(1000, 200, 30, 4)));
268 EXPECT_EQ(12345, a.Perform(make_tuple(10000, 2000, 300, 40, 5)));
274 EXPECT_EQ(123456, a.Perform(make_tuple(100000, 20000, 3000, 400, 50, 6)));
287 a.Perform(make_tuple(CharPt
[all...]
H A Dgmock-generated-matchers_test.cc57 using testing::make_tuple;
118 EXPECT_THAT(t, Args<0>(Eq(make_tuple(5))));
119 EXPECT_THAT(t, Args<1>(Eq(make_tuple(true))));
120 EXPECT_THAT(t, Not(Args<1>(Eq(make_tuple(false)))));
158 EXPECT_THAT(make_tuple(-1, 2), (Args<0, 0, 1>(SumIsZero())));
159 EXPECT_THAT(make_tuple(1, 2), Not(Args<0, 0, 1>(SumIsZero())));
188 EXPECT_THAT(make_tuple(0, 1L, 2, 3L, 4, 5, 6, 7, 8, 9),
191 EXPECT_THAT(make_tuple(0, 1L, 2, 3L, 4, 5, 6, 7, 8, 9),
221 Explain(m, make_tuple(false, 42, 42)));
223 Explain(m, make_tuple(fals
[all...]
H A Dgmock-internal-utils_test.cc681 ConstReference(make_tuple(p1, 3));
686 Copy(make_tuple(static_cast<int*>(a1), 3));
H A Dgmock-matchers_test.cc158 using testing::make_tuple;
2587 EXPECT_THAT(make_tuple(1, 2L), AllArgs(Lt()));
2588 EXPECT_THAT(make_tuple(2L, 1), Not(AllArgs(Lt())));
4339 EXPECT_THAT(make_tuple(p1, 3), ContainerEq(a2));
4340 EXPECT_THAT(make_tuple(p1, 3), Not(ContainerEq(b)));
4343 EXPECT_THAT(make_tuple(p1, 3), Not(ContainerEq(c)));
5301 ExplainMatchFailureTupleTo(make_tuple(Matcher<char>(Eq('a')), GreaterThan(5)),
5302 make_tuple('a', 10), &ss1);
5306 ExplainMatchFailureTupleTo(make_tuple(GreaterThan(5), Matcher<char>(Eq('a'))),
5307 make_tuple(
[all...]
/gem5/ext/pybind11/tests/test_cmake_build/
H A Dembed.cpp19 py::module::import("sys").attr("argv") = py::make_tuple("test.py", "embed.cpp");
/gem5/ext/pybind11/tests/
H A Dtest_pickling.cpp45 return py::make_tuple(p.value(), p.extra1(), p.extra2());
62 return py::make_tuple(p.value(), p.extra1(), p.extra2());
96 return py::make_tuple(self.attr("value"), self.attr("extra"), self.attr("__dict__"));
116 return py::make_tuple(self.attr("value"), self.attr("extra"), self.attr("__dict__"));
H A Dtest_kwargs_and_defaults.cpp41 return py::make_tuple(args, kwargs);
46 return py::make_tuple(i, j, args);
49 return py::make_tuple(i, j, kwargs);
52 return py::make_tuple(i, j, args, kwargs);
H A Dtest_callbacks.cpp31 auto t1 = py::make_tuple(2, 3);
32 auto t2 = py::make_tuple(5, 6);
48 auto args = py::make_tuple(2);
56 return f("positional", *py::make_tuple(1), 2, *py::make_tuple(3, 4), 5,
H A Dtest_builtin_casters.cpp88 return std::make_tuple(std::get<2>(input), std::get<1>(input), std::get<0>(input));
96 m.def("rvalue_tuple", []() { return std::make_tuple(RValueCaster{}, RValueCaster{}, RValueCaster{}); });
99 return std::make_pair(RValueCaster{}, std::make_tuple(RValueCaster{}, std::make_pair(RValueCaster{}, RValueCaster{}))); });
H A Dtest_pytypes.cpp76 return py::make_tuple(s1, s2);
270 auto args = py::make_tuple("and", "a", "custom", "separator");
H A Dtest_stl.cpp222 return py::make_tuple(V(5), V("Hello"));
H A Dtest_sequences_and_iterators.cpp90 return std::make_tuple(istart,istop,istep);
H A Dtest_numpy_array.cpp387 return a[py::make_tuple(0, py::ellipsis(), 0)];
H A Dtest_class.cpp126 return py::make_tuple(
/gem5/ext/googletest/googletest/test/
H A Dgtest-param-test_test.cc68 using ::testing::make_tuple;
470 make_tuple(foo, 3), make_tuple(foo, 4),
471 make_tuple(bar, 3), make_tuple(bar, 4)};
481 make_tuple(0, 3, 5), make_tuple(0, 3, 6),
482 make_tuple(0, 4, 5), make_tuple(0, 4, 6),
483 make_tuple(
[all...]
H A Dgtest-tuple_test.cc39 using ::std::tr1::make_tuple;
298 a = make_tuple(true, 5);
303 b = make_tuple('a', 'b', 5);
315 t = make_tuple(str, p);
H A Dgtest-printers_test.cc1049 ::std::tr1::make_tuple(5, true), 'a');
1108 ::std::make_tuple(5, true), 'a');
1570 ::std::tr1::make_tuple());
1576 ::std::tr1::make_tuple(1));
1583 ::std::tr1::make_tuple(1, 'a'));
1603 Strings result = UniversalTersePrintTupleFieldsToStrings(::std::make_tuple());
1609 ::std::make_tuple(1));
1616 ::std::make_tuple(1, 'a'));
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-tuple.h672 // std::tr1::reference_wrapper<T> to make_tuple(). And we don't
675 inline tuple<> make_tuple() { return tuple<>(); } function in namespace:std::tr1
678 inline GTEST_1_TUPLE_(T) make_tuple(const T0& f0) { function in namespace:std::tr1
683 inline GTEST_2_TUPLE_(T) make_tuple(const T0& f0, const T1& f1) { function in namespace:std::tr1
688 inline GTEST_3_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2) { function in namespace:std::tr1
693 inline GTEST_4_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2, function in namespace:std::tr1
699 inline GTEST_5_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2, function in namespace:std::tr1
705 inline GTEST_6_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2, function in namespace:std::tr1
711 inline GTEST_7_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2, function in namespace:std::tr1
717 inline GTEST_8_TUPLE_(T) make_tuple(cons function in namespace:std::tr1
723 inline GTEST_9_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2, function in namespace:std::tr1
730 inline GTEST_10_TUPLE_(T) make_tuple(const T0& f0, const T1& f1, const T2& f2, function in namespace:std::tr1
[all...]
H A Dgtest-port.h699 using ::std::make_tuple;
997 using GTEST_TUPLE_NAMESPACE_::make_tuple;
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-generated-function-mockers.h92 this->current_spec().SetMatchers(::testing::make_tuple(m1));
113 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2));
135 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3));
157 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3, m4));
180 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3, m4, m5));
204 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3, m4, m5,
229 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3, m4, m5,
254 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3, m4, m5,
280 this->current_spec().SetMatchers(::testing::make_tuple(m1, m2, m3, m4, m5,
307 this->current_spec().SetMatchers(::testing::make_tuple(m
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Dcast.h1755 tuple make_tuple() { return tuple(0); }
1758 typename... Args> tuple make_tuple(Args&&... args_) {
1767 throw cast_error("make_tuple(): unable to convert arguments to Python object (compile in debug mode for details)");
1770 throw cast_error("make_tuple(): unable to convert argument of type '" +
1948 : m_args(pybind11::make_tuple<policy>(std::forward<Ts>(values)...)) { }
H A Deigen.h591 std::make_tuple(data, innerIndices, outerIndices),
H A Dnumpy.h121 return std::get<code_index::value>(std::make_tuple(codes...));
1069 return pybind11::dtype::from_args(pybind11::make_tuple(base_descr::dtype(), shape));

Completed in 105 milliseconds

12