Searched refs:tuple (Results 26 - 50 of 72) sorted by relevance

123

/gem5/site_scons/site_tools/
H A Dmercurial.py82 style_hooks = tuple()
/gem5/ext/googletest/googletest/samples/
H A Dsample8_unittest.cc93 class PrimeTableTest : public TestWithParam< ::testing::tuple<bool, int> > {
/gem5/ext/pybind11/tests/
H A Dtest_builtin_casters.cpp87 m.def("tuple_passthrough", [](std::tuple<bool, std::string, int> input) {
90 m.def("empty_tuple", []() { return std::tuple<>(); });
92 static std::tuple<RValueCaster, RValueCaster, RValueCaster> lvtuple;
93 static std::pair<RValueCaster, std::tuple<RValueCaster, std::pair<RValueCaster, RValueCaster>>> lvnested;
H A Dtest_pytypes.py161 assert m.tuple_accessor(tuple()) == (0, 1, 2)
173 types = [str, bool, int, float, tuple, list, dict, set]
182 tuple: range(3),
H A Dtest_stl.py14 assert m.load_vector(tuple(lst))
32 assert m.load_deque(tuple(lst))
H A Dtest_sequences_and_iterators.py153 assert all(m.tuple_iterator(tuple(r)))
/gem5/tests/testing/
H A Dunits.py224 self.line_filters = DiffOutFile.diff_ignore_regexes.get(fname, tuple())
252 tuple(self._filter_file(ref)),
253 tuple(self._filter_file(out)),
/gem5/ext/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h466 // represented as a (pointer, size) tuple.
468 class StlContainerView< ::testing::tuple<ElementPointer, Size> > {
476 const ::testing::tuple<ElementPointer, Size>& array) {
479 static type Copy(const ::testing::tuple<ElementPointer, Size>& array) {
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-generated-actions.h47 // InvokeHelper<F> knows how to unpack an N-tuple and invoke an N-ary
54 class InvokeHelper<R, ::testing::tuple<> > {
57 static R Invoke(Function function, const ::testing::tuple<>&) {
64 const ::testing::tuple<>&) {
70 class InvokeHelper<R, ::testing::tuple<A1> > {
73 static R Invoke(Function function, const ::testing::tuple<A1>& args) {
80 const ::testing::tuple<A1>& args) {
86 class InvokeHelper<R, ::testing::tuple<A1, A2> > {
89 static R Invoke(Function function, const ::testing::tuple<A1, A2>& args) {
96 const ::testing::tuple<A
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-actions_test.cc51 using testing::tuple;
371 virtual int Perform(const tuple<int, int>& args) { argument
380 EXPECT_EQ(8, a.Perform(tuple<const string&, int, int>(s, 2, 10)));
640 // Tests that the body of ACTION() can reference the argument tuple
643 StaticAssertTypeEq<tuple<int, char, int*>, args_type>();
693 EXPECT_EQ(&b, a.Perform(tuple<int, const bool&>(0, b)));
705 EXPECT_EQ(&n, a.Perform(tuple<int&, bool, int>(n, true, 1)));
757 EXPECT_EQ("retail", a1.Perform(tuple<const std::string&>(re)));
799 EXPECT_EQ("retail->", a2.Perform(tuple<const std::string&>(re)));
989 const tuple<> empt
[all...]
H A Dgmock-more-actions_test.cc52 using testing::tuple;
332 tuple<int, int, double, const string&>(10, 2, 5.6, s)));
385 tuple<const string&, char>(s, 'o')));
543 a1.Perform(tuple<int&>(value));
550 a1.Perform(tuple<int, int&>(0, value));
557 a1.Perform(tuple<bool, int, int&, const char*>(true, 0, value, "hi"));
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h90 // GTEST_HAS_TR1_TUPLE - Define it to 1/0 to indicate tr1::tuple
100 // Test's own tr1 tuple implementation should be
366 // C++11 specifies that <tuple> provides std::tuple.
372 # if defined(__has_include) && !__has_include(<tuple>)
625 // Determines whether Google Test can use tr1/tuple. You can define
626 // this macro to 0 to prevent Google Test from using tuple (any
627 // feature depending on tuple with be disabled in this mode).
630 // STLport, provided with the Android NDK, has neither <tr1/tuple> or <tuple>
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Dcast.h19 #include <tuple>
93 for (handle parent : reinterpret_borrow<tuple>(t->tp_bases))
130 for (handle parent : reinterpret_borrow<tuple>(type->tp_bases))
1360 // Base implementation for std::tuple and std::pair
1404 /* Implementation: Convert a C++ tuple into a Python tuple */
1413 tuple result(size);
1426 template <typename... Ts> class type_caster<std::tuple<Ts...>>
1427 : public tuple_caster<std::tuple, Ts...> {};
1755 tuple make_tupl
[all...]
/gem5/util/stats/
H A Ddisplay.py102 if not isinstance(self.value, (list, tuple)):
H A Dprint.py102 if isinstance(self.value, (list, tuple)):
H A Dinfo.py169 if isinstance(value, (list, tuple)):
669 if isinstance(self.dist, (list, tuple)) and \
670 isinstance(other.dist, (list, tuple)):
678 if isinstance(self.dist, (list, tuple)) and \
679 isinstance(other.dist, (list, tuple)):
689 if isinstance(self.dist, (list, tuple)):
H A Doutput.py130 if isinstance(val, (list, tuple)):
/gem5/tests/gem5/
H A Dverifier.py39 def __init__(self, fixtures=tuple()):
/gem5/src/cpu/testers/traffic_gen/
H A Dbase.hh46 #include <tuple>
/gem5/ext/ply/ply/
H A Dlex.py39 # This tuple contains known string types
516 # state names, this function returns a tuple (states,tokenname) where states
517 # is a tuple of state names and tokenname is the name of the token. For example,
527 states = tuple(parts[1:i])
532 states = tuple(names)
581 if not isinstance(tokens,(list, tuple)):
582 self.log.error("tokens must be a list or tuple")
625 if not isinstance(self.states,(tuple,list)):
626 self.log.error("states must be defined as a tuple or list")
630 if not isinstance(s,tuple) o
[all...]
/gem5/src/arch/arm/
H A Dmiscregs.hh47 #include <tuple>
1906 * @return a tuple of booleans: can_read, undefined
1908 std::tuple<bool, bool> canReadCoprocReg(MiscRegIndex reg, SCR scr,
1922 * @return a tuple of booleans: can_write, undefined
1924 std::tuple<bool, bool> canWriteCoprocReg(MiscRegIndex reg, SCR scr,
/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h203 for (handle h : reinterpret_borrow<tuple>(tinfo->type->tp_bases)) {
467 for (auto type : reinterpret_borrow<tuple>(Py_TYPE(obj)->tp_mro)) {
554 auto bases = tuple(rec.bases);
/gem5/tests/test-progs/insttest/src/riscv/
H A Drv64a.h34 #include <tuple>
/gem5/ext/googletest/googletest/
H A DMakefile.am12 include/gtest/internal/gtest-tuple.h.pump \
210 include/gtest/internal/gtest-tuple.h \
/gem5/src/python/m5/
H A Dproxy.py246 elif isinstance(obj, (list, tuple)):

Completed in 66 milliseconds

123