/gem5/src/systemc/tests/systemc/kernel/sc_module_name/test01/ |
H A D | test01.cpp | 64 derived_mod m2( "m2" ); 69 cout << m2.name() << endl;
|
/gem5/ext/mcpat/cacti/ |
H A D | cacti_interface.cc | 51 bool mem_array::lt(const mem_array * m1, const mem_array * m2) { argument 52 if (m1->Nspd < m2->Nspd) return true; 53 else if (m1->Nspd > m2->Nspd) return false; 54 else if (m1->Ndwl < m2->Ndwl) return true; 55 else if (m1->Ndwl > m2->Ndwl) return false; 56 else if (m1->Ndbl < m2->Ndbl) return true; 57 else if (m1->Ndbl > m2->Ndbl) return false; 58 else if (m1->deg_bl_muxing < m2->deg_bl_muxing) return true; 59 else if (m1->deg_bl_muxing > m2->deg_bl_muxing) return false; 60 else if (m1->Ndsam_lev_1 < m2 [all...] |
/gem5/src/systemc/tests/systemc/tmp/others/sc_writer_bug/ |
H A D | sc_writer_bug.cpp | 41 M *m2;
member in struct:Top 49 m2 = new M("m2", sc_time(2, SC_PS));
52 m2->port.bind(multi_sig_1);
|
/gem5/src/systemc/tests/systemc/utils/sc_report/cached/ |
H A D | cached.cpp | 101 sc_event t1, t2, m1, m2; local 117 sensitive << m2; local 148 dump_cached_report("m2"); 174 uut.m2.notify(); 188 uut.m2.notify(); 202 uut.m2.notify(); 212 uut.m2.notify(); 222 uut.m2.notify();
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-matchers_test.cc | 374 Matcher<const string&> m2 = "hi"; local 375 EXPECT_TRUE(m2.Matches("hi")); 376 EXPECT_FALSE(m2.Matches("hello")); 386 Matcher<const string&> m2 = string("hi"); local 387 EXPECT_TRUE(m2.Matches("hi")); 388 EXPECT_FALSE(m2.Matches("hello")); 399 Matcher<const StringPiece&> m2 = "cats"; local 400 EXPECT_TRUE(m2.Matches("cats")); 401 EXPECT_FALSE(m2.Matches("dogs")); 411 Matcher<const StringPiece&> m2 local 423 Matcher<const StringPiece&> m2 = StringPiece("cats"); local 472 Matcher<double> m2 = ReferencesBarOrIsZero(); local 518 const Matcher<char> m2 = PolymorphicIsEven(); local 557 Matcher<int> m2 = MatcherCast<int>(m1); local 573 Matcher<int> m2 = MatcherCast<int>(m1); local 581 Matcher<int> m2 = MatcherCast<int>(m1); local 589 Matcher<const int&> m2 = MatcherCast<const int&>(m1); local 597 Matcher<int&> m2 = MatcherCast<int&>(m1); local 607 Matcher<int> m2 = MatcherCast<int>(m1); local 677 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32)); local 687 Matcher<float> m2 = SafeMatcherCast<float>(m1); local 701 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1); local 715 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); local 724 Matcher<const int&> m2 = SafeMatcherCast<const int&>(m1); local 732 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); local 742 Matcher<int> m2 = SafeMatcherCast<int>(m1); local 792 Matcher<int&> m2 = A<int&>(); local 821 Matcher<int&> m2 = An<int&>(); local 842 Matcher<const bool&> m2 = _; local 891 Matcher<char> m2 = Eq(1); local 902 Matcher<int> m2 = TypedEq<int>(6); local 1010 Matcher<const char*> m2 = IsNull(); local 1073 Matcher<const char*> m2 = NotNull(); local 1177 Matcher<const string&> m2 = StrEq("Hello"); local 1189 Matcher<string> m2 = StrEq(str); local 1202 Matcher<string> m2 = StrNe(string("Hello")); local 1219 Matcher<const string&> m2 = StrCaseEq("Hello"); local 1236 Matcher<const string&> m2 = StrCaseEq(str1); local 1261 Matcher<string> m2 = StrCaseNe(string("Hello")); local 1277 const Matcher<const std::string&> m2 = HasSubstr("foo"); local 1289 const Matcher<const char*> m2 = HasSubstr("foo"); local 1359 Matcher<const pair<const char*, int> > m2 = Pair("foo", 42); local 1375 Matcher<const pair<int, int>&> m2 = Not(Pair(Not(13), 42)); local 1468 const Matcher<const string&> m2 = StartsWith("Hi"); local 1489 const Matcher<const string&> m2 = EndsWith(string("Hi")); local 1510 const Matcher<const string&> m2 = MatchesRegex(new RE("a.*z")); local 1520 Matcher<const char*> m2 = MatchesRegex(new RE("a.*")); local 1532 const Matcher<const string&> m2 = ContainsRegex(new RE("a.*z")); local 1542 Matcher<const char*> m2 = ContainsRegex(new RE("a.*")); local 1554 Matcher<const ::std::wstring&> m2 = StrEq(L"Hello"); local 1576 Matcher< ::std::wstring> m2 = StrEq(L"\\xD3\\x576\\x8D3\\xC74D"); local 1595 Matcher< ::std::wstring> m2 = StrNe(::std::wstring(L"Hello")); local 1612 Matcher<const ::std::wstring&> m2 = StrCaseEq(L"Hello"); local 1629 Matcher<const ::std::wstring&> m2 = StrCaseEq(str1); local 1654 Matcher< ::std::wstring> m2 = StrCaseNe(::std::wstring(L"Hello")); local 1670 const Matcher<const ::std::wstring&> m2 = HasSubstr(L"foo"); local 1682 const Matcher<const wchar_t*> m2 = HasSubstr(L"foo"); local 1702 const Matcher<const ::std::wstring&> m2 = StartsWith(L"Hi"); local 1723 const Matcher<const ::std::wstring&> m2 = EndsWith(::std::wstring(L"Hi")); local 1745 Matcher<const ::wstring&> m2 = StrEq(L"Hello"); local 1767 Matcher< ::wstring> m2 = StrEq(L"\\xD3\\x576\\x8D3\\xC74D"); local 1786 Matcher< ::wstring> m2 = StrNe(::wstring(L"Hello")); local 1803 Matcher<const ::wstring&> m2 = StrCaseEq(L"Hello"); local 1820 Matcher<const ::wstring&> m2 = StrCaseEq(str1); local 1845 Matcher< ::wstring> m2 = StrCaseNe(::wstring(L"Hello")); local 1861 const Matcher<const ::wstring&> m2 = HasSubstr(L"foo"); local 1873 const Matcher<const wchar_t*> m2 = HasSubstr(L"foo"); local 1893 const Matcher<const ::wstring&> m2 = StartsWith(L"Hi"); local 1914 const Matcher<const ::wstring&> m2 = EndsWith(::wstring(L"Hi")); local 2041 Matcher<int&> m2 = Not(greater_than_5); local 2192 Matcher<int&> m2 = AllOf(greater_than_5, less_than_10); local 2377 Matcher<int&> m2 = AnyOf(greater_than_5, less_than_10); local 2743 Matcher<RawType> m2 = matcher_maker(close_to_positive_zero_); local 2833 Matcher<RawType> m2 = matcher_maker(0.0, 1.0); local 2931 Matcher<float> m2 = FloatEq(0.5f); local 2945 Matcher<float> m2 = NanSensitiveFloatEq(0.5f); local 2972 Matcher<float> m2 = FloatNear(0.5f, 0.5f); local 2988 Matcher<float> m2 = NanSensitiveFloatNear(0.5f, 0.5f); local 3046 Matcher<double> m2 = DoubleEq(0.5); local 3060 Matcher<double> m2 = NanSensitiveDoubleEq(0.5); local 3087 Matcher<double> m2 = DoubleNear(0.5, 0.5); local 3116 Matcher<double> m2 = NanSensitiveDoubleNear(0.5, 0.5); local 3344 const Matcher<long*> m2 = Pointee(GreaterThan(1)); // NOLINT local 4145 Matcher<vector<int> > m2 = SizeIs(Lt(2u)); local 4612 Matcher<vector<int> > m2 = BeginEndDistanceIs(Lt(2)); local 5354 Matcher<vector<int> > m2 = Not(m); local 5532 const Matcher<tuple<double, int> > m2 = IsHalfOf(); local 5647 const Matcher<tuple<double, int> > m2 = IsHalfOf(); local [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith02/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith03/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith04/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith05/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith06/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith07/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith08/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith09/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/datatypes/int/arith/arith10/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/misc/sim_tests/manual_clock/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt7.1/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/misc/user_guide/chpt7.2/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/misc/v1.0/blv/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/tracing/wif_trace/mixed/ |
H A D | isaac.h | 85 UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y); 210 inline void QTIsaac<ALPHA>::rngstep(UINT32 mix, UINT32& a, UINT32& b, UINT32*& mm, UINT32*& m, UINT32*& m2, UINT32*& r, UINT32& x, UINT32& y) argument 213 a = (a^(mix)) + *(m2++); 245 UINT32* m2 = (m+(N/2)); local 246 UINT32* mend = m2; 250 rngstep((a<<13), a, b, mm, m, m2, r, x, y); 251 rngstep((a>>6) , a, b, mm, m, m2, r, x, y); 252 rngstep((a<<2) , a, b, mm, m, m2, r, x, y); 253 rngstep((a>>16), a, b, mm, m, m2, r, x, y); 256 m2 [all...] |
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_writer_policy/ |
H A D | sc_writer_policy.cpp | 125 M *m2; member in struct:Top 146 m2 = new M("m2", sc_time(2, SC_PS)); 149 m2->port.bind(many_sig_1); 310 sc_assert( top.m2->g0 ); 312 sc_assert( top.m2->g1 ); 314 sc_assert( top.m2->g2 ); 316 sc_assert( top.m2->g3 );
|
/gem5/ext/pybind11/tests/ |
H A D | test_constants_and_functions.py | 28 assert c.m2(3) == 1
|
H A D | test_copy_move.py | 109 m2 = m.get_moveissue2(2) 110 assert m2.value == 2
|
/gem5/src/base/ |
H A D | bitfield.hh | 250 const uint64_t m2 = 0x3333333333333333; // ..110011b 255 val = (val & m2) + ((val >> 2) & m2); // 4 bits count -> 4 bits
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/sc_vector/ |
H A D | sc_vector.cpp | 301 M *m1, *m2, *m3; member in struct:Top 310 m2 = new M("m2", 4); 316 port_type::iterator it = m2->ports.bind( more_sigs ); // Vector-to-vector bind 317 sc_assert( (it - m2->ports.begin()) == 4 ); 374 sc_assert( top.m2->creator_func_called );
|
/gem5/util/ |
H A D | hgstyle.py | 76 m2 = modified_regions(pctx[1].data(), file_data) 78 mod_regions &= m2
|