Searched refs:cls (Results 26 - 50 of 56) sorted by relevance

123

/gem5/configs/learning_gem5/part3/
H A Dmsi_caches.py126 def versionCount(cls):
127 cls._version += 1 # Use count for this particular type
128 return cls._version - 1
189 def versionCount(cls):
190 cls._version += 1 # Use count for this particular type
191 return cls._version - 1
H A Druby_caches_MI_example.py123 def versionCount(cls):
124 cls._version += 1 # Use count for this particular type
125 return cls._version - 1
178 def versionCount(cls):
179 cls._version += 1 # Use count for this particular type
180 return cls._version - 1
/gem5/configs/example/
H A Dread_config.py66 cls.__name__: cls for cls in m5.objects.__dict__.values()
67 if inspect.isclass(cls) and issubclass(cls, m5.objects.SimObject) }
73 def no_parser(cls, flags, param):
75 ' class: %s' % (str(param), cls.__name__))
78 def body(cls, flags, param):
79 return cls(cast(param + suffix))
84 def body(cls, flag
[all...]
/gem5/ext/pybind11/tests/
H A Dtest_class.py246 for cls in m.Dog, PyDog:
247 refcount_1 = getrefcount(cls)
248 molly = [cls("Molly") for _ in range(10)]
249 refcount_2 = getrefcount(cls)
253 refcount_3 = getrefcount(cls)
H A Dtest_methods_and_attributes.cpp306 [](py::object cls) { return cls; },
307 [](py::object cls, py::function f) { f(cls); });
H A Dtest_numpy_dtypes.cpp14 #define PYBIND11_PACKED(cls) cls __attribute__((__packed__))
16 #define PYBIND11_PACKED(cls) __pragma(pack(push, 1)) cls __pragma(pack(pop))
/gem5/ext/nomali/lib/
H A Dtypes.hh189 Status(StatusClass cls, Code code, SubCode subcode) argument
190 : value((cls << 6) | (code << 3) | subcode) {
191 assert((cls & ~0x3) == 0);
/gem5/src/cpu/minor/
H A DMinorCPU.py193 def memory_mode(cls):
197 def require_caches(cls):
201 def support_take_over(cls):
/gem5/src/cpu/o3/
H A DO3CPU.py66 def memory_mode(cls):
70 def require_caches(cls):
74 def support_take_over(cls):
H A Dregfile.cc199 PhysRegFile::getRegIds(RegClass cls) -> IdRange
201 switch (cls)
/gem5/configs/common/
H A DCacheConfig.py212 def __getattr__(cls, attr):
215 return super(ExternalSlave, cls).__getattr__(attr)
217 def __setattr__(cls, attr, value):
220 return super(ExternalSlave, cls).__setattr__(attr, value)
/gem5/src/sim/
H A DProcess.py68 def export_methods(cls, code):
/gem5/tests/
H A Drun.py75 cls = getattr(m5.objects, name)
76 return issubclass(cls, m5.objects.SimObject)
/gem5/configs/ruby/
H A DMOESI_AMD_Base.py51 def seqCount(cls):
58 def cntrlCount(cls):
65 def versionCount(cls):
66 cls._version += 1 # Use count for this particular type
67 return cls._version - 1
H A DGPU_VIPER_Region.py48 def seqCount(cls):
55 def cntrlCount(cls):
62 def versionCount(cls):
63 cls._version += 1 # Use count for this particular type
64 return cls._version - 1
H A DGPU_VIPER_Baseline.py50 def seqCount(cls):
57 def cntrlCount(cls):
64 def versionCount(cls):
65 cls._version += 1 # Use count for this particular type
66 return cls._version - 1
H A DGPU_RfO.py50 def seqCount(cls):
57 def cntrlCount(cls):
64 def versionCount(cls):
65 cls._version += 1 # Use count for this particular type
66 return cls._version - 1
H A DGPU_VIPER.py50 def seqCount(cls):
57 def cntrlCount(cls):
64 def versionCount(cls):
65 cls._version += 1 # Use count for this particular type
66 return cls._version - 1
/gem5/src/cpu/
H A DBaseCPU.py130 def memory_mode(cls):
135 def require_caches(cls):
144 def support_take_over(cls):
/gem5/util/style/
H A Dverifiers.py463 def is_verifier(cls):
466 return inspect.isclass(cls) and issubclass(cls, Verifier) and \
467 not inspect.isabstract(cls)
H A Dregion.py52 def __new__(cls, *args):
63 return tuple.__new__(cls, args)
/gem5/ext/testlib/
H A Dlog.py53 def __init__(cls, name, bases, dct):
54 cls.type_id = RecordTypeCounterMetaclass.counter
/gem5/src/python/m5/ext/pyfdt/
H A Dpyfdt.py163 def __extract_prop_strings(cls, value):
183 def init_raw(cls, name, raw_value):
185 return cls(name, cls.__extract_prop_strings(raw_value))
262 def init_raw(cls, name, raw_value):
267 return cls(name, words)
340 def init_raw(cls, name, raw_value):
342 return cls(name, unpack('b' * len(raw_value), raw_value))
/gem5/src/python/m5/util/
H A Dsorteddict.py170 def fromkeys(cls, seq, value=None):
171 d = cls()
/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h35 extern "C" inline PyObject *pybind11_static_get(PyObject *self, PyObject * /*ob*/, PyObject *cls) { argument
36 return PyProperty_Type.tp_descr_get(self, cls, cls);
41 PyObject *cls = PyType_Check(obj) ? obj : (PyObject *) Py_TYPE(obj); local
42 return PyProperty_Type.tp_descr_set(self, cls, value);
90 def __get__(self, obj, cls):
91 return property.__get__(self, cls, cls)
94 cls = obj if isinstance(obj, type) else type(obj)
95 property.__set__(self, cls, valu
[all...]

Completed in 51 milliseconds

123