/gem5/src/dev/storage/ |
H A D | disk_image.hh | 76 std::string file; 88 void open(const std::string &filename, bool rd_only = false); 119 std::string filename; 131 bool open(const std::string &file); 133 void save(const std::string &file) const;
|
H A D | ide_ctrl.hh | 70 std::string _name; 72 const std::string 114 Channel(std::string newName, Addr _cmdSize, Addr _ctrlSize); 117 void serialize(const std::string &base, std::ostream &os) const; 118 void unserialize(const std::string &base, CheckpointIn &cp);
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_fxdefs.h | 72 const std::string to_string( sc_enc ); 101 const std::string to_string( sc_q_mode ); 130 const std::string to_string( sc_o_mode ); 154 const std::string to_string( sc_switch ); 168 // Enumeration of formats for character string conversion. 178 const std::string to_string( sc_fmt );
|
/gem5/src/base/ |
H A D | debug.cc | 75 findFlag(const std::string &name) 179 setDebugFlag(const char *string) argument 181 Debug::changeFlag(string, true); 185 clearDebugFlag(const char *string) argument 187 Debug::changeFlag(string, false);
|
H A D | time.cc | 73 string 74 Time::date(const string &format) const 94 string 125 Time::serialize(const std::string &base, CheckpointOut &cp) const 132 Time::unserialize(const std::string &base, CheckpointIn &cp) 160 // copy the string as the pointer gets invalidated when updating
|
H A D | remote_gdb.hh | 52 #include <string> 107 virtual const std::string name() const = 0; 129 std::string name(); 290 void encodeBinaryData(const std::string &unencoded, 291 std::string &encoded) const; 293 void encodeXferResponse(const std::string &unencoded, 294 std::string &encoded, size_t offset, size_t unencoded_length) const; 303 virtual std::vector<std::string> availableFeatures() const; 312 virtual bool getXferFeaturesRead(const std::string &annex, 313 std::string [all...] |
/gem5/src/arch/arm/insts/ |
H A D | pseudo.cc | 102 std::string 121 const std::string& _fullMnemonic) 136 std::string 156 const std::string& _fullMnemonic) 177 std::string
|
H A D | misc64.hh | 56 std::string generateDisassembly( 75 std::string generateDisassembly( 94 std::string generateDisassembly( 106 std::string generateDisassembly( 166 std::string generateDisassembly( 184 std::string generateDisassembly( 202 std::string generateDisassembly( 209 const std::string fullMnemonic; 217 uint32_t _imm, const std::string full_mnem, 230 std::string generateDisassembl [all...] |
H A D | data64.hh | 60 std::string generateDisassembly( 76 std::string generateDisassembly( 95 std::string generateDisassembly( 114 std::string generateDisassembly( 128 std::string generateDisassembly( 144 std::string generateDisassembly( 161 std::string generateDisassembly( 176 std::string generateDisassembly( 193 std::string generateDisassembly( 209 std::string generateDisassembl [all...] |
/gem5/src/dev/net/ |
H A D | etherswitch.hh | 64 Port &getPort(const std::string &if_name, 74 Interface(const std::string &name, EtherSwitch *_etherSwitch, 137 const std::string objName; 142 PortFifo(const std::string &name, int max) 146 const std::string name() { return objName; }
|
/gem5/util/style/ |
H A D | style.py | 76 def write(self, string): 83 def write(self, string): 84 sys.stdout.write(string) 94 def write(self, string): 95 self.hg_ui.write(string)
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-generated-matchers_test.cc | 40 #include <string> 82 using testing::internal::string; 86 string Describe(const Matcher<T>& m) { 94 string DescribeNegation(const Matcher<T>& m) { 102 string Explain(const MatcherType& m, const Value& x) { 299 Matcher<list<string> > m = ElementsAre(StrEq("one"), "two"); 317 Matcher<const list<string>& > m = ElementsAre("one", "two"); 368 vector<string> test_vector; 369 test_vector.push_back("test string"); 371 EXPECT_THAT(test_vector, ElementsAre(StrEq("test string"))); [all...] |
H A D | gmock-generated-actions_test.cc | 40 #include <string> 48 using ::std::string; 84 bool ByConstRef(const string& s) { return s == "Hi"; } 89 string ByNonConstRef(string& s) { return s += "+"; } // NOLINT 105 string Concat4(const char* s1, const char* s2, const char* s3, 107 return string(s1) + s2 + s3 + s4; 118 string Concat5(const char* s1, const char* s2, const char* s3, 120 return string(s1) + s2 + s3 + s4 + s5; 133 string Concat [all...] |
/gem5/src/systemc/core/ |
H A D | event.cc | 65 std::string original_name = _basename; 75 std::string path = parent ? (std::string(parent->name()) + ".") : ""; 78 std::string message = path + original_name + 115 const std::string & 121 const std::string & 224 findEvent(const std::string &name)
|
/gem5/ext/pybind11/tests/ |
H A D | test_constants_and_functions.cpp | 14 std::string test_function1() { 18 std::string test_function2(MyEnum k) { 22 std::string test_function3(int i) { 33 return std::string(data, 4); 36 std::string print_bytes(py::bytes bytes) { 37 std::string ret = "bytes["; 38 const auto value = static_cast<std::string>(bytes);
|
H A D | test_exceptions.cpp | 18 std::string message = ""; 27 std::string message = ""; 36 std::string message = ""; 46 std::string message = ""; 53 explicit MyException5(const std::string &what) : std::logic_error(what) {} 161 if ((err && e.what() != std::string("ValueError: foo")) || 162 (!err && e.what() != std::string("Unknown internal error occurred")))
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_object_manager.cpp | 94 // | Result is an std::string containing the name. 96 std::string sc_object_manager::create_name(const char* leaf_name) 99 std::string leafname_string; // string containing the leaf name. 100 std::string parentname_string; // parent path name 102 std::string result_orig_string; // save for warning message. 103 std::string result_string; // name to return. 148 std::string message = result_orig_string; 291 sc_object_manager::insert_event(const std::string& name, sc_event* event_p) 307 sc_object_manager::insert_object(const std::string [all...] |
/gem5/ext/googletest/googletest/src/ |
H A D | gtest.cc | 70 # include <string> 387 ::std::vector<testing::internal::string> g_argvs; 389 const ::std::vector<testing::internal::string>& GetArgvs() { 414 std::string UnitTestOptions::GetOutputFormat() { 416 if (gtest_output_flag == NULL) return std::string(""); 420 std::string(gtest_output_flag) : 421 std::string(gtest_output_flag, colon - gtest_output_flag); 426 std::string UnitTestOptions::GetAbsolutePathToOutputFile() { 436 internal::FilePath(kDefaultOutputFile)).string(); 449 return output_name.string(); [all...] |
/gem5/src/sim/ |
H A D | mathexpr.cc | 45 #include <string> 49 MathExpr::MathExpr(std::string expr) 70 * This function parses a string expression into an expression tree. 77 MathExpr::parse(std::string expr) { 168 std::string 169 MathExpr::toStr(Node *n, std::string prefix) const { 170 std::string ret;
|
/gem5/src/arch/power/insts/ |
H A D | branch.hh | 44 * disassembly string. This is necessary for branches and jumps, 45 * where the disassembly string includes the target address (which 64 const std::string & 94 std::string generateDisassembly( 124 std::string generateDisassembly( 203 std::string generateDisassembly( 233 std::string generateDisassembly( 255 std::string generateDisassembly(
|
/gem5/src/arch/arm/tracers/ |
H A D | tarmac_record_v8.cc | 185 const std::string &prefix) const 189 std::string paddr_str = paddrValid? csprintf(":%012x",paddr) : 190 std::string(); 193 std::string opcode_str = csprintf("%0*x", instSize >> 2, opcode); 215 const std::string &prefix) const 234 const std::string &prefix) const
|
H A D | tarmac_record.hh | 61 * Returns the string representation of the instruction set being 66 * @return instruction set in string format. 68 std::string 72 * Returns the string representation of the ARM Operating Mode 76 * @return operating mode in string format. 78 std::string 101 const std::string &prefix = "") const override; 136 const std::string &prefix = "") const override; 160 std::string regName; 172 const std::string [all...] |
/gem5/src/mem/ |
H A D | external_slave.cc | 67 StubSlavePort(const std::string &name_, 87 const std::string &name_, 89 const std::string &port_data) 174 std::map<std::string, ExternalSlave::Handler *> 197 ExternalSlave::getPort(const std::string &if_name, PortID idx) 242 ExternalSlave::registerHandler(const std::string &handler_name,
|
/gem5/ext/drampower/src/ |
H A D | Parametrisable.cc | 73 bool Parametrisable::removeParameter(const string& id, unsigned int index) 93 Parameter Parametrisable::getParameter(const string& id, 121 bool Parametrisable::hasParameter(const string& id, unsigned int index) const
|
/gem5/src/mem/ruby/network/simple/ |
H A D | Throttle.hh | 42 #include <string> 60 std::string name() 80 void regStats(std::string name);
|