Searched refs:Base (Results 1 - 25 of 36) sorted by relevance

12

/gem5/src/base/
H A Dbitunion.hh53 template<class Base>
54 class BitfieldTypeImpl : public Base
56 static_assert(std::is_empty<Base>::value,
73 struct Wrapper : public Base
75 using Base::setter;
93 return Base::getter(__storage);
99 Base::setter(__storage, val);
104 operator=(BitfieldTypeImpl<Base> const & other)
111 template<class Base>
112 class BitfieldType : public BitfieldTypeImpl<Base>
[all...]
H A Dcircular_queue.hh87 using Base = std::vector<T>;
88 using typename Base::reference;
89 using typename Base::const_reference;
411 using Base::operator[];
416 Base::resize(size);
546 void push_back(typename Base::value_type val)
/gem5/src/base/filters/
H A Dmulti_bloom_filter.hh48 class Multi : public Base
58 void merge(const Base* other) override;
65 std::vector<Base*> filters;
H A Dperfect_bloom_filter.hh45 class Perfect : public Base
55 void merge(const Base* other) override;
H A Dbase.hh45 class Base : public SimObject class in namespace:BloomFilter
64 Base(const BloomFilterBaseParams* p) function in class:BloomFilter::Base
71 virtual ~Base() {};
90 merge(const Base* other)
H A Dblock_bloom_filter.hh47 class Block : public Base
H A Dmulti_bit_sel_bloom_filter.hh45 class MultiBitSel : public Base
H A Dperfect_bloom_filter.cc38 : Base(p)
53 Perfect::merge(const Base* other)
H A Dmulti_bloom_filter.cc40 : Base(p), filters(p->filters)
57 Multi::merge(const Base* other)
H A Dblock_bloom_filter.cc41 : Base(p), masksLSBs(p->masks_lsbs),
H A Dmulti_bit_sel_bloom_filter.cc43 : Base(p), numHashes(p->num_hashes),
/gem5/src/arch/null/
H A Dtypes.hh53 typedef GenericISA::UPCState<MachInst> Base; typedef in class:NullISA::PCState
/gem5/src/sim/
H A Dglobal_event.hh178 typedef BaseGlobalEventTemplate<GlobalEvent> Base; typedef in class:GlobalEvent
180 class BarrierEvent : public Base::BarrierEvent
184 BarrierEvent(Base *global_event, Priority p, Flags f)
185 : Base::BarrierEvent(global_event, p, f)
190 : Base(p, f)
194 : Base(p, f)
210 typedef BaseGlobalEventTemplate<GlobalSyncEvent> Base; typedef in class:GlobalSyncEvent
212 class BarrierEvent : public Base::BarrierEvent
216 BarrierEvent(Base *global_event, Priority p, Flags f)
217 : Base
[all...]
H A Dsyscall_desc.cc68 DPRINTF_SYSCALL(Base, "%s called w/arguments %d, %d, %d, %d, %d, %d\n",
81 DPRINTF_SYSCALL(Base, "%s needs retry\n", _name);
83 DPRINTF_SYSCALL(Base, "%s returns %d\n", _name, retval.encodedValue());
/gem5/src/arch/generic/
H A Ddebugfaults.hh136 template <class Base>
137 class M5WarnFaultBase : public Base
140 using Base::Base;
148 template <class Base>
149 class M5HackFaultBase : public Base
152 using Base::Base;
160 template <class Base>
161 class M5InformFaultBase : public Base
[all...]
H A Dtypes.hh144 typedef PCStateBase Base; typedef in class:GenericISA::SimplePCState
198 typedef SimplePCState<MachInst> Base; typedef in class:GenericISA::UPCState
220 Base::set(val);
255 return Base::_pc == opc._pc &&
256 Base::_npc == opc._npc &&
269 Base::serialize(cp);
277 Base::unserialize(cp);
297 typedef SimplePCState<MachInst> Base; typedef in class:GenericISA::DelaySlotPCState
309 Base::set(val);
328 Base
376 typedef DelaySlotPCState<MachInst> Base; typedef in class:GenericISA::DelaySlotUPCState
[all...]
/gem5/src/systemc/utils/
H A Dtracefile.hh63 template <typename T, typename Base=TraceValBase>
64 class TraceVal : public Base
71 TraceVal(const T *_t, int _width) : Base(_width), t(_t), oldVal(*t)
87 template <typename T, typename Base>
88 class TraceVal<::sc_core::sc_signal_in_if<T>, Base> : public Base
96 Base(_width), iface(_iface), oldVal(iface->read())
113 template <typename Base>
114 class TraceVal<::sc_core::sc_event, Base> : public Base
[all...]
/gem5/src/systemc/tests/systemc/datatypes/fx/observers/
H A Dobservers.cpp28 template<typename Observed, typename Base>
29 class observer: public Base {
44 template<typename T, typename Observed, typename Base>
49 observer<Observed, Base> o;
/gem5/ext/pybind11/tests/
H A Dtest_virtual_functions.cpp150 struct Base { struct
153 virtual ~Base() = default;
156 struct DispatchIssue : Base {
158 PYBIND11_OVERLOAD_PURE(std::string, Base, dispatch, /* no arguments */);
271 py::class_<Base, DispatchIssue>(m, "DispatchIssue")
273 .def("dispatch", &Base::dispatch);
275 m.def("dispatch_issue_go", [](const Base * b) { return b->dispatch(); });
366 // Base classes for templated inheritance trampolines. Identical to the repeat-everything version:
416 template <class Base = A_Tpl>
417 class PyA_Tpl : public Base {
[all...]
/gem5/src/arch/arm/insts/
H A Dmem.hh334 template<class Base>
335 class MemoryOffset : public Base
341 : Base(mnem, _machInst, __opClass, _dest, _base, _add, _imm)
348 : Base(mnem, _machInst, __opClass, _dest, _base, _add,
355 : Base(mnem, _machInst, __opClass, _dest, _dest2, _base, _add, _imm)
362 : Base(mnem, _machInst, __opClass, _result,
371 : Base(mnem, _machInst, __opClass, _dest, _dest2, _base, _add,
384 template<class Base>
385 class MemoryPreIndex : public Base
391 : Base(mne
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock_stress_test.cc68 class Base { class in namespace:testing::__anon26
70 explicit Base(int a_x) : x_(a_x) {} function in class:testing::__anon26::Base
71 virtual ~Base() {}
77 class Derived1 : public Base {
79 Derived1(int a_x, int a_y) : Base(a_x), y_(a_y) {}
85 class Derived2 : public Base {
87 Derived2(int a_x, int a_z) : Base(a_x), z_(a_z) {}
113 linked_ptr<Base> p2;
/gem5/src/arch/x86/
H A Dtypes.hh292 typedef GenericISA::UPCState<MachInst> Base; typedef in class:X86ISA::PCState
300 Base::set(val);
310 Base::setNPC(val);
327 Base::advance();
334 Base::uEnd();
341 Base::serialize(cp);
348 Base::unserialize(cp);
/gem5/ext/pybind11/include/pybind11/
H A Doperators.h55 using Base = typename Class::type;
56 using L_type = conditional_t<std::is_same<L, self_t>::value, Base, L>;
57 using R_type = conditional_t<std::is_same<R, self_t>::value, Base, R>;
58 using op = op_impl<id, ot, Base, L_type, R_type>;
67 using Base = typename Class::type;
68 using L_type = conditional_t<std::is_same<L, self_t>::value, Base, L>;
69 using R_type = conditional_t<std::is_same<R, self_t>::value, Base, R>;
70 using op = op_impl<id, ot, Base, L_type, R_type>;
/gem5/ext/googletest/googletest/test/
H A Dgtest-port_test.cc101 class Base { class in namespace:testing::internal
105 Base() : member_(0) {} function in class:testing::internal::Base
106 explicit Base(int n) : member_(n) {} function in class:testing::internal::Base
107 virtual ~Base() {}
114 class Derived : public Base {
116 explicit Derived(int n) : Base(n) {}
121 EXPECT_TRUE(&derived == ::testing::internal::ImplicitCast_<Base*>(&derived));
126 Base base = ::testing::internal::ImplicitCast_<Base>(derived);
133 operator Base() {
[all...]
/gem5/src/arch/arm/
H A Dtypes.hh219 typedef GenericISA::UPCState<MachInst> Base; typedef in class:ArmISA::PCState
241 Base::set(val);
389 Base::advance();
492 return Base::operator == (opc) &&
508 Base::serialize(cp);
520 Base::unserialize(cp);

Completed in 21 milliseconds

12