Searched refs:Method (Results 1 - 8 of 8) sorted by relevance

/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-generated-function-mockers.h352 #define GMOCK_MOCKER_(arity, constness, Method) \
353 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
356 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \
357 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \
363 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
364 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
367 gmock_##Method() constness { \
368 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
369 return GMOCK_MOCKER_(0, constness, Method)
[all...]
/gem5/src/systemc/core/
H A Dprocess_types.hh39 class Method : public Process class in namespace:sc_gem5
42 Method(const char *name, ProcessFuncWrapper *func, bool internal=false) : function in class:sc_gem5::Method
H A Dsc_spawn.cc70 proc = new Method(name, func);
H A Dsc_module.cc58 Method *p = new Method(name, func);
/gem5/src/systemc/channel/
H A Dsc_clock.cc70 p = new Method(name.c_str(), &funcWrapper, true);
/gem5/ext/googletest/googlemock/test/
H A Dgmock-spec-builders_test.cc184 #define Method MethodW macro
189 virtual int Method() = 0;
195 MOCK_METHOD0(Method, int());
204 ON_CALL(cc, Method());
211 ON_CALL(cc, Method()).WillByDefault(Return(42));
212 EXPECT_EQ(42, cc.Method());
218 EXPECT_CALL(cc, Method());
219 cc.Method();
225 EXPECT_CALL(cc, Method()).WillOnce(Return(42));
226 EXPECT_EQ(42, cc.Method());
229 #undef Method macro
[all...]
H A Dgmock-actions_test.cc1161 TEST(InvokeWithoutArgsTest, Method) {
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dast.py399 class Method(Function): class in inherits:Function
1109 return Method(indices.start, indices.end, name.name, in_class,

Completed in 29 milliseconds