Searched refs:Action (Results 1 - 10 of 10) sorted by relevance

/gem5/src/mem/slicc/symbols/
H A DAction.py30 class Action(Symbol): class in inherits:Symbol
32 super(Action, self).__init__(table, ident, location, pairs)
36 return "[Action: %s]" % self.ident
38 __all__ = [ "Action" ]
H A D__init__.py29 from slicc.symbols.Action import Action
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-actions_test.cc54 using testing::Action;
171 Action<int(int, int(*)())> a = InvokeArgument<1>(); // NOLINT
177 Action<int(UnaryFunctor)> a = InvokeArgument<0>(true); // NOLINT
183 Action<int(int(*)(int, int, int, int, int))> a = // NOLINT
190 Action<int(SumOf5Functor)> a = // NOLINT
197 Action<int(int(*)(int, int, int, int, int, int))> a = // NOLINT
204 Action<int(SumOf6Functor)> a = // NOLINT
211 Action<string(string(*)(const char*, const char*, const char*,
220 Action<string(string(*)(const char*, const char*, const char*,
229 Action<strin
[all...]
H A Dgmock-more-actions_test.cc55 using testing::Action;
235 Action<int()> a = Invoke(Nullary); // NOLINT
241 Action<bool(int)> a = Invoke(Unary); // NOLINT
248 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT
255 Action<int(int, char, short)> a = Invoke(Ternary); // NOLINT
261 Action<int(int, int, int, int)> a = Invoke(SumOf4); // NOLINT
267 Action<int(int, int, int, int, int)> a = Invoke(SumOf5); // NOLINT
273 Action<int(int, int, int, int, int, int)> a = Invoke(SumOf6); // NOLINT
283 Action<string(const char*, const char*, const char*, const char*,
294 Action<strin
[all...]
H A Dgmock-actions_test.cc49 using testing::Action;
387 Action<MyGlobalFunction> action = MakeAction(new MyActionImpl);
389 // When exercising the Perform() method of Action<F>, we must pass
397 // Tests that Action<F> can be contructed from a pointer to
400 Action<MyGlobalFunction> action(new MyActionImpl);
403 // Tests that Action<F> delegates actual work to ActionInterface<F>.
405 const Action<MyGlobalFunction> action(new MyActionImpl);
411 // Tests that Action<F> can be copied.
413 Action<MyGlobalFunction> a1(new MyActionImpl);
414 Action<MyGlobalFunctio
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-actions.h57 // 2. a factory function that creates an Action object from a
62 // management as Action objects can now be copied like plain values.
345 // An Action<F> is a copyable and IMMUTABLE (except by assignment)
347 // of type F is called. The implementation of Action<T> is just a
349 // Don't inherit from Action!
352 // concrete action (including its current state), and an Action<F>
355 class Action { class in namespace:testing
360 // Constructs a null Action. Needed for storing Action objects in
362 Action() function in class:testing::Action
366 explicit Action(ActionInterface<F>* impl) : impl_(impl) {} function in class:testing::Action
369 Action(const Action& action) : impl_(action.impl_) {} function in class:testing::Action
1054 Action<To>::Action(const Action<From>& from) function in class:testing::Action
[all...]
H A Dgmock-spec-builders.h316 OnCallSpec& WillByDefault(const Action<F>& action) {
334 const Action<F>& GetAction() const {
357 Action<F> action_;
902 delete static_cast<const Action<F>*>(*it);
994 TypedExpectation& WillOnce(const Action<F>& action) {
1000 untyped_actions_.push_back(new Action<F>(action));
1008 TypedExpectation& WillRepeatedly(const Action<F>& action) {
1058 const Action<F>& repeated_action() const { return repeated_action_; }
1151 const Action<F>& GetCurrentAction(
1177 *static_cast<const Action<
[all...]
H A Dgmock-generated-actions.h466 operator Action<F>() const { return MakeAction(new Impl<F>(action_)); }
486 Action<InnerFunctionType> action_;
1242 GTEST_CONCAT_TOKEN_(name##Action, GMOCK_INTERNAL_COUNT_##value_params)
1275 template <typename F> operator ::testing::Action<F>() const {\
1276 return ::testing::Action<F>(\
1309 class name##Action {\
1311 name##Action() {}\
1335 template <typename F> operator ::testing::Action<F>() const {\
1336 return ::testing::Action<F>(new gmock_Impl<F>());\
1339 GTEST_DISALLOW_ASSIGN_(name##Action);\
[all...]
/gem5/src/mem/slicc/ast/
H A DActionDeclAST.py29 from slicc.symbols import Action, Type, Var
45 self.error("Action declaration not part of a machine.")
79 action = Action(self.symtab, self.ident, resources, self.location,
/gem5/ext/testlib/
H A Dconfig.py421 class StorePositionAction(argparse.Action):

Completed in 34 milliseconds