Searched refs:ACTION (Results 1 - 4 of 4) sorted by relevance

/gem5/src/systemc/tests/systemc/kernel/sc_start/sc_start_0/test1/
H A Dtest1.cpp69 #define ACTION(action,descr) \ macro
92 ACTION(sc_start(1, SC_NS),"sc_start(1, SC_NS)")
93 ACTION(tweak = !tweak,"~tweak ")
94 ACTION(sc_start(0, SC_NS),"sc_start(0, SC_NS)")
95 ACTION(sc_start(0, SC_NS),"sc_start(0, SC_NS)")
96 ACTION(sc_start(1, SC_NS),"sc_start(1, SC_NS)")
97 ACTION(sc_start(0, SC_NS),"sc_start(0, SC_NS)")
98 ACTION(sc_start(0, SC_NS),"sc_start(0, SC_NS)")
100 ACTION(tweak = !tweak,"~tweak ")
101 ACTION(sc_star
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-actions_test.cc591 // The ACTION*() macros trigger warning C4100 (unreferenced formal
601 // Tests the ACTION*() macro family.
603 // Tests that ACTION() can define an action that doesn't reference the
605 ACTION(Return5) { return 5; } function in namespace:testing::gmock_generated_actions_test
615 // Tests that ACTION() can define an action that returns void.
616 ACTION(IncrementArg1) { (*arg1)++; } function in namespace:testing::gmock_generated_actions_test
625 // Tests that the body of ACTION() can reference the type of the
627 ACTION(IncrementArg2) { function in namespace:testing::gmock_generated_actions_test
640 // Tests that the body of ACTION() can reference the argument tuple
642 ACTION(Sum function in namespace:testing::gmock_generated_actions_test
658 ACTION(InvokeDummy) { function in namespace:testing::gmock_generated_actions_test
672 ACTION(InvokeDummy2) { function in namespace:testing::gmock_generated_actions_test
685 ACTION(ReturnAddrOfConstBoolReferenceArg) { function in namespace:testing::gmock_generated_actions_test
697 ACTION(ReturnAddrOfIntReferenceArg) { function in namespace:testing::gmock_generated_actions_test
710 ACTION(Sum) { return arg0 + arg1; } function in namespace:testing::gmock_generated_actions_test::action_test
720 ACTION(PlusTwo) { return arg0 + 2; } function in namespace:testing::gmock_generated_actions_test
763 ACTION(OverloadedAction) { return arg0 ? arg1 : "hello"; } function in namespace:testing::gmock_generated_actions_test
936 ACTION(DoFoo) {} function in namespace:testing::gmock_generated_actions_test
1188 ACTION(ReturnSum) { return 0; } function in namespace:testing::gmock_generated_actions_test
[all...]
H A Dgmock_link_test.h62 // ACTION()-generated
416 // The ACTION*() macros trigger warning C4100 (unreferenced formal
426 // Tests the linkage of actions created using ACTION macro.
428 ACTION(Return1) { return 1; } function in namespace:__anon23
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-generated-actions.h494 // A macro from the ACTION* family (defined later in this file)
510 // A helper class needed for implementing the ACTION* macros.
784 // The ACTION* family of macros can be used in a namespace scope to
787 // ACTION(name) { statements; }
795 // ACTION(IncrementArg1) {
857 // While it's tempting to always use the ACTION* macros when defining
869 // ACTION*() can only be used in a namespace scope. The reason is
872 // Once that's done, we'll consider supporting using ACTION*() inside
877 // To learn more about using these macros, please search for 'ACTION'
880 // An internal macro needed for implementing ACTION*()
1308 #define ACTION macro
[all...]

Completed in 18 milliseconds