/gem5/src/systemc/tests/systemc/misc/sim/prime_do_while/ |
H A D | prime_numgen.cpp | 48 static unsigned int p2 = 1, local 61 if (p2 && !p3 && !p5 && !p7 && !p11 && !p13 && !p17 && !p19 && !p23 && !p29) 63 prime.write(p2); 68 else if (p5 && p17) { p5--, p17--, p2++, p3++, p13++; } 70 else if (p2 && p19) { p2--, p19--, p23++; } 78 else if (p2 && p7) { p2--, p7--, p3++, p5++; } 79 else if (p2) { p2 [all...] |
/gem5/src/systemc/tests/systemc/misc/synth/prime_flag/ |
H A D | prime_numgen.cpp | 48 static unsigned int p2 = 1, local 66 // PRINT prime IF ALL OTHER VALUES ARE ZERO AND p2 IS NONZERO 67 if (p2 && !p3 && !p5 && !p7 && !p11 && !p13 && !p17 && !p19 && !p23 && !p29) 70 prime.write(p2); // Printing prime value p2 79 else if (p5 && p17) { p5--, p17--, p2++, p3++, p13++; } 81 else if (p2 && p19) { p2--, p19--, p23++; } 89 else if (p2 && p7) { p2 [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_pickling.py | 18 p2 = pickle.loads(data) 19 assert p2.value() == p.value() 20 assert p2.extra1() == p.extra1() 21 assert p2.extra2() == p.extra2() 33 p2 = pickle.loads(data) 34 assert p2.value == p.value 35 assert p2.extra == p.extra 36 assert p2.dynamic == p.dynamic
|
/gem5/src/systemc/tests/systemc/communication/sc_signal/check_writer/test14/ |
H A D | test14.cpp | 42 SC_THREAD(p2); 50 void p2() { function
|
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test06/ |
H A D | test06.cpp | 51 void p2() { function 52 cerr << sc_time_stamp() << ":entering p2, spawning p3" << endl; 55 cerr << sc_time_stamp() << ":exiting p2" << endl; 59 cerr << sc_time_stamp() << ":entering p1, spawning p2" << endl; 60 sc_spawn(sc_bind(&p2));
|
/gem5/src/systemc/tests/systemc/misc/user_guide/async_chn/test2/ |
H A D | test2.cpp | 77 SC_MODULE( p2 ) 79 SC_HAS_PROCESS( p2 ); 88 p2 (sc_module_name name, function 118 p2 Proc2("Proc2", clock, b, a, 129);
|
/gem5/src/systemc/tests/systemc/misc/user_guide/async_chn/test3/ |
H A D | test3.cpp | 70 SC_MODULE( p2 ) 72 SC_HAS_PROCESS( p2 ); 80 p2 (sc_module_name name, function 108 p2 Proc2("Proc2", clock, a, 129);
|
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-generated-actions.h | 1043 #define GMOCK_INTERNAL_DECL_TYPE_AND_3_VALUE_PARAMS(p0, p1, p2) , \ 1044 typename p0##_type, typename p1##_type, typename p2##_type 1045 #define GMOCK_INTERNAL_DECL_TYPE_AND_4_VALUE_PARAMS(p0, p1, p2, p3) , \ 1046 typename p0##_type, typename p1##_type, typename p2##_type, \ 1048 #define GMOCK_INTERNAL_DECL_TYPE_AND_5_VALUE_PARAMS(p0, p1, p2, p3, p4) , \ 1049 typename p0##_type, typename p1##_type, typename p2##_type, \ 1051 #define GMOCK_INTERNAL_DECL_TYPE_AND_6_VALUE_PARAMS(p0, p1, p2, p3, p4, p5) , \ 1052 typename p0##_type, typename p1##_type, typename p2##_type, \ 1054 #define GMOCK_INTERNAL_DECL_TYPE_AND_7_VALUE_PARAMS(p0, p1, p2, p3, p4, p5, \ 1055 p6) , typename p0##_type, typename p1##_type, typename p2##_typ [all...] |
H A D | gmock-generated-matchers.h | 1537 #define MATCHER_P3(name, p0, p1, p2, description)\ 1538 template <typename p0##_type, typename p1##_type, typename p2##_type>\ 1544 gmock_Impl(p0##_type gmock_p0, p1##_type gmock_p1, p2##_type gmock_p2)\ 1545 : p0(gmock_p0), p1(gmock_p1), p2(gmock_p2) {}\ 1556 p2##_type p2;\ 1565 ::testing::tuple<p0##_type, p1##_type, p2##_type>(p0, p1, \ 1566 p2)));\ 1573 new gmock_Impl<arg_type>(p0, p1, p2));\ 1576 p2##_typ [all...] |
/gem5/src/cpu/pred/ |
H A D | multiperspective_perceptron.hh | 220 const int p2; member in struct:MultiperspectivePerceptron::HistorySpec 234 p2(_p2), p3(_p3), coeff(_coeff), size(_size), width(_width), 373 void insertModhistSpec(int p1, int p2) { argument 378 if (modhist_lengths[j] < p2 + 1) { 379 modhist_lengths[j] = p2 + 1; 381 if (p2 >= modghist_length) { 382 modghist_length = p2 + 1; 387 void insertModpathSpec(int p1, int p2) { argument 392 if (modpath_lengths[j] < p2 + 1) { 393 modpath_lengths[j] = p2 485 GHIST(int p1, int p2, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 536 ACYCLIC(int p1, int p2, int p3, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 584 MODHIST(int p1, int p2, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 628 RECENCY(int p1, int p2, int p3, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 691 PATH(int p1, int p2, int p3, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 759 MODPATH(int p1, int p2, int p3, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 786 GHISTPATH(int p1, int p2, int p3, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 858 GHISTMODPATH(int p1, int p2, int p3, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 890 BLURRYPATH(int p1, int p2, int p3, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument 977 SGHISTPATH(int p1, int p2, int p3, double coeff, int size, int width, MultiperspectivePerceptron &mpp) argument [all...] |
/gem5/src/systemc/tests/systemc/compliance_1666/test235b/ |
H A D | test235b.cpp | 12 sc_port<sc_signal_in_if<int>,2,SC_ALL_BOUND> p2;
local 21 p2("p2"),
31 sc_assert(p2.size() == 1);
54 m->p2(p1_once);
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock_stress_test.cc | 113 linked_ptr<Base> p2; local 114 p2 = pointer1; 115 EXPECT_EQ(1, p2->x()); 118 p2 = pointer2; 119 EXPECT_EQ(3, p2->x()); 127 // p1 and p2 point to the same, shared thing. One thread resets p1. 128 // Another thread assigns to p2. This will cause the same 131 linked_ptr<Derived1> p2(p0); 136 EXPECT_EQ(1, p2->x()); 137 EXPECT_EQ(2, p2 [all...] |
H A D | gmock-generated-actions_test.cc | 802 ACTION_P4(Plus, p0, p1, p2, p3) { return arg0 + p0 + p1 + p2 + p3; } 809 ACTION_P5(Plus, p0, p1, p2, p3, p4) { return arg0 + p0 + p1 + p2 + p3 + p4; } 816 ACTION_P6(Plus, p0, p1, p2, p3, p4, p5) { 817 return arg0 + p0 + p1 + p2 + p3 + p4 + p5; 825 ACTION_P7(Plus, p0, p1, p2, p3, p4, p5, p6) { 826 return arg0 + p0 + p1 + p2 + p3 + p4 + p5 + p6; 834 ACTION_P8(Plus, p0, p1, p2, p3, p4, p5, p6, p7) { 835 return arg0 + p0 + p1 + p2 [all...] |
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_event_queue.cpp | 35 sc_time_compare( const void* p1, const void* p2 ) 38 const sc_time* t2 = static_cast<const sc_time*>( p2 );
|
/gem5/src/systemc/tests/systemc/compliance_1666/test001/ |
H A D | test001.cpp | 73 SC_THREAD(p2);
78 void p2() { int i; ch.read(i); sc_assert(i == 333); }
function in struct:MyMod 179 sc_port<C2> p2;
local 197 sc_port<C2> p2;
local 214 p2->method();
223 p2->method();
301 moda.p2(c2);
307 modb.p2(c2);
|
/gem5/src/systemc/tests/systemc/compliance_1666/test235a/ |
H A D | test235a.cpp | 12 sc_port<sc_signal_in_if<int>,2,SC_ONE_OR_MORE_BOUND> p2;
local 36 p2("p2"),
59 sc_assert(p2.size() == 1);
98 m->p2(sig1);
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/test1/ |
H A D | test1.cpp | 130 proc2 p2("P2", clock, c);
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/test2/ |
H A D | test2.cpp | 132 proc2 p2("P2", clock, c);
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/hshake1/ |
H A D | hshake1.cpp | 127 proc2 p2("P2", clock, d, b, c, a);
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/hshake2/ |
H A D | hshake2.cpp | 126 proc2 p2("P2", clock, d, b, c, a);
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/test3/ |
H A D | test3.cpp | 145 proc2 p2("P2", clock, c);
|
/gem5/src/systemc/tests/systemc/misc/communication/channel/test4/ |
H A D | test4.cpp | 145 proc2 p2("P2", clock, c);
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/async_clock/ |
H A D | async_clock.cpp | 156 proc2 p2("p2", dclk1);
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/manual_clock/ |
H A D | manual_clock.cpp | 158 proc2 p2( "p2", clk2, a, b, q );
|
/gem5/src/systemc/tests/systemc/misc/unit/aproc_halt/disaproc1/ |
H A D | disaproc1.cpp | 195 aproc2 p2("p2", a, b, d);
|