Searched refs:std (Results 401 - 425 of 1914) sorted by relevance

<<11121314151617181920>>

/gem5/src/arch/arm/kvm/
H A Darmv8_cpu.hh135 const std::vector<ArmV8KvmCPU::MiscRegInfo> &getSysRegMap() const;
138 static const std::vector<ArmV8KvmCPU::IntRegInfo> intRegMap;
140 static const std::vector<ArmV8KvmCPU::MiscRegInfo> miscRegMap;
142 static const std::set<MiscRegIndex> deviceRegSet;
144 static const std::vector<ArmV8KvmCPU::MiscRegInfo> miscRegIdMap;
147 mutable std::vector<ArmV8KvmCPU::MiscRegInfo> sysRegMap;
/gem5/tests/test-progs/insttest/src/riscv/
H A Dinsttest.h53 template<typename A, typename B> std::ostream&
54 operator<<(std::ostream& os, const std::pair<A, B>& p) argument
63 expect(const T& expected, std::function<T()> func,
64 const std::string& test)
66 using namespace std;
H A Drv64f.h56 return std::isnan(f) && (bits(f)&0x00400000) != 0;
62 return std::isnan(f) && (bits(f)&0x00400000) == 0;
68 float fd = std::numeric_limits<float>::signaling_NaN();
78 float mem = std::numeric_limits<float>::signaling_NaN();
102 float fd = std::numeric_limits<float>::signaling_NaN();
110 float fd = std::numeric_limits<float>::signaling_NaN();
118 float fd = std::numeric_limits<float>::signaling_NaN();
126 float fd = std::numeric_limits<float>::signaling_NaN();
134 float fd = std::numeric_limits<float>::signaling_NaN();
142 float fd = std
[all...]
/gem5/src/systemc/core/
H A Dsc_attr.cc37 sc_attr_base::sc_attr_base(const std::string &_name) : _name(_name) {}
41 const std::string &sc_attr_base::name() const { return _name; }
82 sc_attr_cltn::operator [] (const std::string &name)
91 sc_attr_cltn::operator [] (const std::string &name) const
100 sc_attr_cltn::remove(const std::string &name)
105 std::swap(attr, cltn.back());
/gem5/src/systemc/ext/core/
H A Dsc_time.hh70 const std::string to_string() const;
84 void print(std::ostream & =std::cout) const;
103 std::ostream &operator << (std::ostream &, const sc_time &);
132 std::string to_string() const;
/gem5/src/systemc/ext/dt/fx/
H A Dscfx_params.hh87 void dump(::std::ostream &) const;
169 scfx_params::dump(::std::ostream &os) const
171 os << "scfx_params" << ::std::endl;
172 os << "(" << ::std::endl;
175 os << "enc = " << m_enc << ::std::endl;
178 os << ")" << ::std::endl;
H A Dsc_fxdefs.hh76 const std::string to_string(sc_enc);
78 inline ::std::ostream &
79 operator << (::std::ostream &os, sc_enc enc)
102 const std::string to_string(sc_q_mode);
104 inline ::std::ostream &
105 operator << (::std::ostream &os, sc_q_mode q_mode)
128 const std::string to_string( sc_o_mode );
130 inline ::std::ostream &
131 operator << (::std::ostream &os, sc_o_mode o_mode)
149 const std
[all...]
/gem5/src/systemc/tests/systemc/compliance_1666/test207/
H A Dtest207.cpp4 using std::cout;
5 using std::endl;
9 void check_form_of_suffix(std::string s)
11 std::string charset = "0123456789";
44 std::string s = eq.basename();
54 sc_assert (std::string(eq.kind()) == "sc_event_queue");
/gem5/util/systemc/gem5_within_systemc/
H A Dsc_logger.cc56 /** Class to act as a streambuf for std::ostream which cuts output strings
58 class CuttingStreambuf : public std::streambuf
62 std::ostringstream line;
135 Logger::logMessage(Tick when, const std::string &name,
136 const std::string &message)
139 std::string message_without_nl = message;
146 std::ostream &
/gem5/src/systemc/ext/tlm_core/2/
H A Dversion.hh43 tlm_version_originator const std::string
44 tlm_version_release_date const std::string
45 tlm_version_prerelease const std::string
142 const std::string tlm_version_string(TLM_VERSION_STRING);
143 const std::string tlm_version_originator(TLM_VERSION_ORIGINATOR);
144 const std::string tlm_version_prerelease(TLM_VERSION_PRERELEASE);
145 const std::string tlm_version_release_date(TLM_VERSION_STRING_RELEASE_DATE);
146 const std::string tlm_copyright_string(TLM_COPYRIGHT);
147 const std::string tlm_version_string_2(TLM_VERSION_STRING_2);
/gem5/src/cpu/testers/directedtest/
H A DRubyDirectedTester.hh56 CpuPort(const std::string &_name, RubyDirectedTester *_tester,
71 Port &getPort(const std::string &if_name,
82 void printStats(std::ostream& out) const {}
84 void printConfig(std::ostream& out) const {}
86 void print(std::ostream& out) const;
101 std::vector<MasterPort*> ports;
/gem5/src/mem/cache/tags/
H A Dsector_tags.hh63 std::vector<SectorSubBlk> blks;
65 std::vector<SectorBlk> secBlks;
159 const std::size_t size,
160 std::vector<CacheBlk*>& evict_blks) const override;
181 * The visitor should be a std::function that takes a cache block.
186 void forEachBlk(std::function<void(CacheBlk &)> visitor) override;
191 * The visitor should be a std::function that takes a cache block
197 bool anyBlk(std::function<bool(CacheBlk &)> visitor) override;
/gem5/src/cpu/pred/
H A Dmultiperspective_perceptron_tage_64KB.hh53 std::vector<int> sm;
54 std::vector<int8_t> * sgehl;
55 std::vector<int8_t> ws;
60 std::vector<int> tm;
61 std::vector<int8_t> * tgehl;
62 std::vector<int8_t> wt;
/gem5/src/mem/ruby/common/
H A DMachineID.hh52 inline std::string
71 std::ostream& operator<<(std::ostream& out, const MachineID& obj);
73 inline std::ostream&
74 operator<<(std::ostream& out, const MachineID& obj)
83 out << std::flush;
/gem5/src/arch/arm/
H A Dremote_gdb.hh84 const std::string
109 const std::string
122 std::vector<std::string>
127 bool getXferFeaturesRead(const std::string &annex, std::string &output);
H A Dsemihosting.hh84 const std::string cmdLine;
125 static std::unique_ptr<FileBase> create(
126 ArmSemihosting &parent, const std::string &fname,
128 static std::unique_ptr<FileBase> create(
129 ArmSemihosting &parent, CheckpointIn &cp, const std::string &sec);
134 const std::string &fileName() { return _name; }
201 std::string _name;
202 std::string mode;
246 std::vector<std
[all...]
/gem5/ext/pybind11/tests/
H A Dtest_copy_move.cpp40 MoveOnlyInt(int v) : value{std::move(v)} { print_created(this, value); }
41 MoveOnlyInt(MoveOnlyInt &&m) { print_move_created(this, m.value); std::swap(value, m.value); }
42 MoveOnlyInt &operator=(MoveOnlyInt &&m) { print_move_assigned(this, m.value); std::swap(value, m.value); return *this; }
52 MoveOrCopyInt(int v) : value{std::move(v)} { print_created(this, value); }
53 MoveOrCopyInt(MoveOrCopyInt &&m) { print_move_created(this, m.value); std::swap(value, m.value); }
54 MoveOrCopyInt &operator=(MoveOrCopyInt &&m) { print_move_assigned(this, m.value); std::swap(value, m.value); return *this; }
64 CopyOnlyInt(int v) : value{std::move(v)} { print_created(this, value); }
131 m.def("move_pair", [](std::pair<MoveOnlyInt, MoveOrCopyInt> p) {
134 m.def("move_tuple", [](std::tuple<MoveOnlyInt, MoveOrCopyInt, MoveOnlyInt> t) {
135 return std
[all...]
H A Dtest_sequences_and_iterators.cpp28 bool operator==(const NonZeroIterator<std::pair<A, B>>& it, const NonZeroSentinel&) {
66 checks.append(static_cast<std::size_t>(x.end() - x.begin()) == x.size());
67 checks.append((x.begin() + static_cast<std::ptrdiff_t>(x.size())) == x.end());
90 return std::make_tuple(istart,istop,istep);
102 Sequence(const std::vector<float> &value) : m_size(value.size()) {
103 print_created(this, "of size", m_size, "from std::vector");
180 .def(py::init<const std::vector<float>&>())
212 throw std::runtime_error("Left and right hand size of slice assignment have different sizes!");
229 StringMap(std::unordered_map<std
[all...]
/gem5/src/gpu-compute/
H A Dkernel_cfg.cc51 const std::vector<GPUStaticInst*>& instructions)
58 ControlFlowInfo::ControlFlowInfo(const std::vector<GPUStaticInst*>& insts) :
102 std::set<int> leaders;
160 intersect(std::set<uint32_t>& a, const std::set<uint32_t>& b)
162 std::set<uint32_t>::iterator it = a.begin();
203 setDifference(std::set<uint32_t>&a,
204 const std::set<uint32_t>& b, uint32_t exception)
224 std::set<uint32_t> candidates = basicBlock->postDominatorIds;
249 std
[all...]
/gem5/src/cpu/
H A Dpc_event.hh47 std::string description;
52 PCEvent(PCEventQueue *q, const std::string &desc, Addr pc);
57 virtual const std::string name() const { return description; }
59 std::string descr() const { return description; }
82 typedef std::vector<record_t> map_t;
89 typedef std::pair<iterator, iterator> range_t;
90 typedef std::pair<const_iterator, const_iterator> const_range_t;
119 PCEvent::PCEvent(PCEventQueue *q, const std::string &desc, Addr pc)
140 BreakPCEvent(PCEventQueue *q, const std::string &desc, Addr addr,
152 PanicPCEvent(PCEventQueue *q, const std
[all...]
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-message.h73 // std::cout << foo;
89 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
96 Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT
101 explicit Message(const char* str) : ss_(new ::std::stringstream) {
117 // overloads are defined in the global namespace instead of ::std.
120 // overloads are visible in either the std namespace or the global
183 Message& operator <<(const ::std::wstring& wstr);
192 // Gets the text streamed to this object so far as an std::string.
196 std
[all...]
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/
H A Dfifo.hh115 std::cout << "empty" << std::endl;
117 std::cout << "full" << std::endl;
119 std::cout << "size " << size() << " - " << used() << " used "
120 << std::endl;
121 std::cout << "readable " << m_num_readable << std::endl;
122 std::cout << "written/read " << m_num_written << "/" << m_num_read
123 << std
[all...]
/gem5/src/mem/ruby/system/
H A DRubyPort.hh68 MemMasterPort(const std::string &_name, RubyPort *_port);
83 MemSlavePort(const std::string &_name, RubyPort *_port,
112 PioMasterPort(const std::string &_name, RubyPort *_port);
125 PioSlavePort(const std::string &_name, RubyPort *_port);
151 Port &getPort(const std::string &if_name,
192 std::vector<MemSlavePort *> slave_ports;
197 return (std::find(retryList.begin(), retryList.end(), port) !=
213 typedef std::vector<MemSlavePort *>::iterator CpuPortIter;
214 std::vector<PioMasterPort *> master_ports;
220 std
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Dfunctional.h2 pybind11/functional.h: std::function<> support
19 struct type_caster<std::function<Return(Args...)>> {
20 using type = std::function<Return(Args...)>;
21 using retval_type = conditional_t<std::is_same<Return, void>::value, void_type, Return>;
50 same_type(typeid(function_type), *reinterpret_cast<const std::type_info *>(rec->data[1]))) {
60 func_handle(function&& f_) : f(std::move(f_)) {}
64 function kill_f(std::move(f));
71 func_wrapper(func_handle&& hf): hfunc(std::move(hf)) {}
74 object retval(hfunc.f(std::forward<Args>(args)...));
80 value = func_wrapper(func_handle(std
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/named_events/
H A Dnamed_events.cpp38 using std::cout;
39 using std::endl;
45 , ev((std::string(n) + "_ev").c_str()) {}
70 sc_assert( std::string(ev1.name()).substr(0,9) == "top.event" );
71 sc_assert( std::string(ev1.basename()).substr(0,5) == "event" );
75 sc_assert( std::string(ev2.name()) == "top.ev2" );
76 sc_assert( std::string(ev2.basename()) == "ev2" );
80 std::vector<sc_event*> vec = this->get_child_events();
85 sc_assert( std::string(dummy_handle.name()) == "");
110 std
[all...]

Completed in 27 milliseconds

<<11121314151617181920>>