Searched refs:string (Results 1 - 25 of 1173) sorted by relevance

1234567891011>>

/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxdefs.cpp60 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 Dsc_fxdefs.cc59 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 Dcxx_config.cc42 const std::string CxxConfigParams::invalidName = "<invalid>";
45 std::map<std::string, CxxConfigDirectoryEntry *> cxx_config_directory;
H A Dcxx_config_ini.hh63 bool getParam(const std::string &object_name,
64 const std::string &param_name,
65 std::string &value) const;
67 bool getParamVector(const std::string &object_name,
68 const std::string &param_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 Dredirect_path.hh34 #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 Dcxx_config.hh57 #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 Dcxx_config_ini.cc45 CxxIniFile::getParam(const std::string &object_name,
46 const std::string &param_name,
47 std::string &value) const
53 CxxIniFile::getParamVector(const std::string &object_name,
54 const std::string &param_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 Dcxx_manager.hh58 #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 Dinifile.hh37 #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 Dhostinfo.hh34 #include <string>
38 std::string __get_hostname();
40 std::string &hostname();
H A Dmatch.hh38 #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 Dstr.cc33 #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 Dstr.hh42 #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 Dhsa_object.hh40 #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 Dsc_gem5_control.hh57 #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 &param_name, const std::string &param_value);
109 virtual void setParamVector(const std::string &system_name,
110 const std::string
[all...]
/gem5/ext/googletest/googletest/xcode/Samples/FrameworkSample/
H A Dwidget.h37 // 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 Ddramsim2_wrapper.hh48 #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 Dexternal_master.hh77 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 Dexternal_slave.hh77 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 Dfunctions.cc38 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 Dvcd.hh45 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 Dsc_trace_file.hh76 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 Dgtest-string.h45 // 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 DParameter.h41 #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 Dcli_parser.hh39 #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();

Completed in 20 milliseconds

1234567891011>>