/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::string( "SC_RND_CON [all...] |
/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::string("SC_RND_CON [all...] |
/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::vector<std::string> &peers) const; 75 bool objectExists(const std::string [all...] |
H A D | redirect_path.hh | 34 #include <string> 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 | 57 #include <string> 76 const std::string name; 82 * or another from-string parameter set with setParam... */ 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::string [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::string> sub_object_names; 70 CxxIniFile::getPortPeers(const std::string &object_name, 71 const std::string [all...] |
H A D | cxx_manager.hh | 58 #include <string> 82 std::string name; 83 std::string message; 86 Exception(const std::string &name_, const std::string &message_) : 102 std::string fromPrefix; 103 std::string toPrefix; 105 Renaming(const std::string &from_prefix, 106 const std::string &to_prefix) : 114 std::map<std::string, SimObjec [all...] |
/gem5/src/base/ |
H A D | inifile.hh | 37 #include <string> 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; } 82 /// Append the given string to the value. A space is inserted 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 [all...] |
H A D | hostinfo.hh | 34 #include <string> 38 std::string __get_hostname(); 40 std::string &hostname();
|
H A D | match.hh | 38 #include <string> 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
|
H A D | str.cc | 33 #include <string> 39 split_first(const string &s, string &lhs, string &rhs, char c) 41 string::size_type offset = s.find(c); 42 if (offset == string::npos) { 54 split_last(const string &s, string &lhs, string &rhs, char c) 56 string [all...] |
H A D | str.hh | 42 #include <string> 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 [all...] |
/gem5/src/gpu-compute/ |
H A D | hsa_object.hh | 40 #include <string> 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/util/systemc/gem5_within_systemc/ |
H A D | sc_gem5_control.hh | 57 #include <string> 93 std::string systemName; 96 std::string instanceName; 101 const std::string &system_name, const std::string &instance_name); 106 virtual void setParam(const std::string &object, 107 const std::string ¶m_name, const std::string ¶m_value); 109 virtual void setParamVector(const std::string &system_name, 110 const std::string [all...] |
/gem5/ext/googletest/googletest/xcode/Samples/FrameworkSample/ |
H A D | widget.h | 37 // simply stores two values a string and an integer, which are returned via 40 #import <string> 44 Widget(int number, const std::string& name); 51 // Public accessors to the string data 52 std::string GetStringValue() const; 58 std::string name_;
|
/gem5/src/mem/ |
H A D | dramsim2_wrapper.hh | 48 #include <string> 83 T extractConfig(const std::string& field_name, 84 const std::string& file_name) const; 99 DRAMSim2Wrapper(const std::string& config_file, 100 const std::string& system_file, 101 const std::string& working_dir, 102 const std::string& trace_file,
|
H A D | external_master.hh | 77 ExternalPort(const std::string &name_, 98 const std::string &name, ExternalMaster &owner, 99 const std::string &port_data) = 0; 107 std::string portName; 110 std::string portType; 113 std::string portData; 119 static std::map<std::string, Handler *> portHandlers; 125 Port &getPort(const std::string &if_name, 130 static void registerHandler(const std::string &handler_name,
|
H A D | external_slave.hh | 77 ExternalPort(const std::string &name_, 100 const std::string &name, ExternalSlave &owner, 101 const std::string &port_data) = 0; 109 std::string portName; 112 std::string portType; 115 std::string portData; 125 static std::map<std::string, Handler *> portHandlers; 131 Port &getPort(const std::string &if_name, 136 static void registerHandler(const std::string &handler_name,
|
/gem5/src/systemc/utils/ |
H A D | functions.cc | 38 const std::string sc_version_originator = SC_VERSION_ORIGINATOR; 39 const std::string sc_version_release_date = SC_VERSION_RELEASE_DATE; 40 const std::string sc_version_prerelease = SC_VERSION_PRERELEASE; 42 const std::string sc_version_string = SC_VERSION; 43 const std::string sc_copyright_string = SC_COPYRIGHT;
|
H A D | vcd.hh | 45 std::vector<std::pair<std::string, VcdTraceValBase *>> values; 46 std::map<std::string, VcdTraceScope *> scopes; 49 void addValue(const std::string &name, VcdTraceValBase *value); 50 void output(const std::string &name, std::ostream &os); 61 std::string nextSignalName(); 70 VcdTraceFile(const std::string &name) : 84 addNewTraceVal(const typename TV::TracedType *v, const std::string &name, 92 void addTraceVal(const bool *v, const std::string &name) override; 93 void addTraceVal(const float *v, const std::string &name) override; 94 void addTraceVal(const double *v, const std::string [all...] |
/gem5/src/systemc/ext/utils/ |
H A D | sc_trace_file.hh | 76 void sc_write_comment(sc_trace_file *tf, const std::string &comment); 78 void sc_trace(sc_trace_file *, const bool &, const std::string &); 79 void sc_trace(sc_trace_file *, const bool *, const std::string &); 80 void sc_trace(sc_trace_file *, const float &, const std::string &); 81 void sc_trace(sc_trace_file *, const float *, const std::string &); 82 void sc_trace(sc_trace_file *, const double &, const std::string &); 83 void sc_trace(sc_trace_file *, const double *, const std::string &); 84 void sc_trace(sc_trace_file *, const sc_dt::sc_logic &, const std::string &); 85 void sc_trace(sc_trace_file *, const sc_dt::sc_logic *, const std::string &); 87 const std::string [all...] |
/gem5/ext/googletest/googletest/include/gtest/internal/ |
H A D | gtest-string.h | 45 // string.h is not guaranteed to provide strcpy on C++ Builder. 49 #include <string.h> 50 #include <string> 57 // String - an abstract class holding static string utilities. 62 // Clones a 0-terminated C string, allocating memory using new. The 64 // delete[]. Returns the cloned string, or NULL if the input is 67 // This is different from strdup() in string.h, which allocates 76 // Creates a UTF-16 wide string from the given ANSI string, allocating 78 // value using delete[]. Returns the wide string, o [all...] |
/gem5/ext/drampower/src/ |
H A D | Parameter.h | 41 #include <string> 47 Parameter(const std::string& id, const std::string& type, 48 const std::string& value); 50 std::string getId() const; 51 std::string getType() const; 52 std::string getValue() const; 83 operator std::string() const { 88 std::string id; 89 std::string typ [all...] |
/gem5/util/tlm/examples/common/ |
H A D | cli_parser.hh | 39 #include <string> 53 std::vector<std::string> debugFlags; 54 std::string configFile; 56 void usage(const std::string& prog_name); 66 std::string getConfigFile() { assert(parsed); return configFile; } 67 std::string getDebugFlags();
|