/gem5/src/sim/ |
H A D | cxx_config.cc | 42 const std::string CxxConfigParams::invalidName = "<invalid>"; 45 std::map<std::string, CxxConfigDirectoryEntry *> cxx_config_directory;
|
H A D | cxx_config_ini.hh | 63 bool getParam(const std::string &object_name, 64 const std::string ¶m_name, 65 std::string &value) const; 67 bool getParamVector(const std::string &object_name, 68 const std::string ¶m_name, 69 std::vector<std::string> &values) const; 71 bool getPortPeers(const std::string &object_name, 72 const std::string &port_name, 73 std [all...] |
H A D | redirect_path.hh | 50 const std::string& appPath() { return _appPath; }; 51 const std::vector<std::string>& hostPaths() { return _hostPaths; }; 60 std::string _appPath; 62 std::vector<std::string> _hostPaths;
|
H A D | cxx_config.hh | 76 const std::string name; 85 ParamDesc(const std::string &name_, 95 const std::string name; 103 PortDesc(const std::string &name_, 110 std::map<std::string, ParamDesc *> parameters; 113 std::map<std::string, PortDesc *> ports; 128 static const std::string invalidName; 141 virtual void setName(const std [all...] |
H A D | cxx_config_ini.cc | 45 CxxIniFile::getParam(const std::string &object_name, 46 const std::string ¶m_name, 47 std::string &value) const 53 CxxIniFile::getParamVector(const std::string &object_name, 54 const std::string ¶m_name, 55 std::vector<std::string> &values) const 57 std::string value; 61 std::vector<std [all...] |
H A D | fd_array.hh | 56 FDArray(std::string const& input, std::string const& output, 57 std::string const& errout); 77 void setFDEntry(int tgt_fd, std::shared_ptr<FDEntry> fdep); 84 std::shared_ptr<FDEntry> 105 int allocFD(std::shared_ptr<FDEntry> fdp); 121 int openFile(std::string const& file_name, int flags, mode_t mode) const; 122 int openInputFile(std::string const& file_name) const; 123 int openOutputFile(std::string const& file_name) const; 131 std [all...] |
/gem5/src/systemc/ext/ |
H A D | systemc.h | 41 // Include some system header files, and import some symbols from std into 60 using std::ios; 61 using std::streambuf; 62 using std::streampos; 63 using std::streamsize; 64 using std::iostream; 65 using std::istream; 66 using std::ostream; 67 using std::cin; 68 using std [all...] |
/gem5/ext/mcpat/cacti/ |
H A D | area.cc | 44 using namespace std;
|
/gem5/src/arch/riscv/ |
H A D | locked_mem.cc | 9 std::unordered_map<int, std::stack<Addr>> locked_addrs;
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxdefs.cpp | 60 const std::string 66 return std::string( "SC_TC_" ); 68 return std::string( "SC_US_" ); 70 return std::string( "unknown" ); 81 const std::string 87 return std::string( "SC_RND" ); 89 return std::string( "SC_RND_ZERO" ); 91 return std::string( "SC_RND_MIN_INF" ); 93 return std::string( "SC_RND_INF" ); 95 return std [all...] |
H A D | sc_fxcast_switch.cpp | 63 const std::string 71 sc_fxcast_switch::print( ::std::ostream& os ) const 77 sc_fxcast_switch::dump( ::std::ostream& os ) const 79 os << "sc_fxcast_switch" << ::std::endl; 80 os << "(" << ::std::endl; 81 os << "sw = " << sc_dt::to_string( m_sw ) << ::std::endl; 82 os << ")" << ::std::endl;
|
/gem5/src/systemc/dt/fx/ |
H A D | sc_fxdefs.cc | 59 const std::string 64 return std::string("SC_TC_"); 66 return std::string("SC_US_"); 68 return std::string("unknown"); 78 const std::string 83 return std::string("SC_RND"); 85 return std::string("SC_RND_ZERO"); 87 return std::string("SC_RND_MIN_INF"); 89 return std::string("SC_RND_INF"); 91 return std [all...] |
H A D | sc_fxcast_switch.cc | 65 const std::string 72 sc_fxcast_switch::print(::std::ostream &os) const 78 sc_fxcast_switch::dump(::std::ostream &os) const 80 os << "sc_fxcast_switch" << ::std::endl; 81 os << "(" << ::std::endl; 82 os << "sw = " << sc_dt::to_string(m_sw) << ::std::endl; 83 os << ")" << ::std::endl;
|
H A D | sc_fxtype_params.cc | 64 const std::string 67 std::stringstream ss; 73 sc_fxtype_params::print(::std::ostream &os) const 85 sc_fxtype_params::dump(::std::ostream &os) const 87 os << "sc_fxtype_params" << ::std::endl; 88 os << "(" << ::std::endl; 89 os << "wl = " << m_wl << ::std::endl; 90 os << "iwl = " << m_iwl << ::std::endl; 91 os << "q_mode = " << m_q_mode << ::std::endl; 92 os << "o_mode = " << m_o_mode << ::std [all...] |
/gem5/src/mem/ruby/common/ |
H A D | BoolVec.hh | 46 typedef std::vector<bool> BoolVec; 48 std::ostream& operator<<(std::ostream& os, const std::vector<bool>& myvector);
|
H A D | IntVec.hh | 42 typedef std::vector<int> IntVec; 44 std::ostream& operator<<(std::ostream& os, const std::vector<int>& myvector);
|
/gem5/src/base/ |
H A D | str.hh | 49 eat_lead_white(std::string &s) 51 std::string::size_type off = s.find_first_not_of(' '); 52 if (off != std::string::npos) { 53 std::string::iterator begin = s.begin(); 59 eat_end_white(std::string &s) 61 std::string::size_type off = s.find_last_not_of(' '); 62 if (off != std::string::npos) 67 eat_white(std::string &s) 73 inline std::string 74 to_lower(const std [all...] |
H A D | inifile.hh | 63 std::string value; ///< The entry value. 68 Entry(const std::string &v) 77 const std::string &getValue() const; 80 void setValue(const std::string &v) { value = v; } 87 void appendValue(const std::string &v) { value += " "; value += v; } 96 typedef std::unordered_map<std::string, Entry *> EntryTable; 115 void addEntry(const std::string &entryName, const std::string &value, 123 bool add(const std [all...] |
H A D | match.hh | 44 std::vector<std::vector<std::string> > tokens; 45 bool domatch(const std::string &name) const; 49 ObjectMatch(const std::string &expression); 51 void setExpression(const std::string &expression); 52 void setExpression(const std::vector<std::string> &expression); 53 bool match(const std::string &name) const
|
/gem5/src/gpu-compute/ |
H A D | hsa_object.hh | 54 HsaObject(const std::string &fileName); 56 static HsaObject* createHsaObject(const std::string &fname); 57 static std::vector<std::function<HsaObject*(const std::string&, int, 60 virtual HsaCode* getKernel(const std::string &name) const = 0; 62 virtual HsaCode* getFunction(const std::string &name) const = 0; 65 const std::string& name() const { return filename; } 71 const std::string filename;
|
/gem5/ext/systemc/src/sysc/datatypes/int/ |
H A D | sc_length_param.cpp | 63 const std::string 66 std::string s; 71 std::sprintf( buf, "%d", m_len ); 80 sc_length_param::print( ::std::ostream& os ) const 86 sc_length_param::dump( ::std::ostream& os ) const 88 os << "sc_length_param" << ::std::endl; 89 os << "(" << ::std::endl; 90 os << "len = " << m_len << ::std::endl; 91 os << ")" << ::std::endl;
|
/gem5/util/systemc/gem5_within_systemc/ |
H A D | sc_logger.hh | 63 std::streambuf *cuttingStreambuf; 64 std::ostream stream; 72 void logMessage(Tick when, const std::string &name, 73 const std::string &message); 75 std::ostream &getOstream();
|
/gem5/tests/test-progs/pthread/src/ |
H A D | test_std_condition_variable.cpp | 45 // Test std::condition_variable 53 std::mutex mtx; 54 std::condition_variable cv; 59 std::unique_lock<std::mutex> lck(mtx); 63 std::cout << "thread " << id << '\n'; 68 std::unique_lock<std::mutex> lck(mtx); 77 std::vector< std [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_iostream.cpp | 16 void noisy_function(std::string msg, bool flush) { 18 std::cout << msg; 20 std::cout << std::flush; 23 void noisy_funct_dual(std::string msg, std::string emsg) { 24 std::cout << msg; 25 std::cerr << emsg; 34 m.def("captured_output_default", [](std::string msg) { 36 std [all...] |
/gem5/ext/drampower/src/ |
H A D | Utils.h | 47 T fromString(const std::string& s, argument 48 std::ios_base& (*f)(std::ios_base &) = std::dec) 50 std::istringstream is(s); 54 throw std::runtime_error("Cannot convert string");
|