/gem5/src/gpu-compute/ |
H A D | gpu_tlb.hh | 42 #include <string> 262 CpuSidePort(const std::string &_name, GpuTLB * gpu_TLB, 289 MemSidePort(const std::string &_name, GpuTLB * gpu_TLB, 311 Port &getPort(const std::string &if_name,
|
/gem5/ext/pybind11/tests/ |
H A D | test_enum.cpp | 35 return "ScopedEnum::" + std::string(z == ScopedEnum::Two ? "Two" : "Three");
|
H A D | test_pytypes.cpp | 35 set.add(std::string("key3")); 68 m.def("str_from_string", []() { return py::str(std::string("baz")); }); 80 m.def("bytes_from_string", []() { return py::bytes(std::string("foo")); }); 245 d["str_i1"] = std::string("str"); 246 std::string s2("str1"); 269 py::print(1, 2.0, "three", true, std::string("-- multiple args"));
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-matchers_test.cc | 39 #include <string.h> 50 #include <string> 64 GTEST_API_ string JoinAsTuple(const Strings& fields); 157 using testing::internal::string; 192 string OfType(const string& type_name) { 202 string Describe(const Matcher<T>& m) { 210 string DescribeNegation(const Matcher<T>& m) { 218 string Explain(const MatcherType& m, const Value& x) { 367 // Tests that a C-string litera [all...] |
H A D | gmock-actions_test.cc | 40 #include <string> 166 // string type. 169 EXPECT_EQ("", BuiltInDefaultValue< ::string>::Get()); 172 EXPECT_EQ("", BuiltInDefaultValue< ::std::string>::Get()); 176 // string type. 179 EXPECT_TRUE(BuiltInDefaultValue< ::string>::Exists()); 182 EXPECT_TRUE(BuiltInDefaultValue< ::std::string>::Exists()); 188 EXPECT_EQ("", BuiltInDefaultValue<const std::string>::Get()); 532 // Tests that Return("string literal") works. 537 Action<std::string()> a [all...] |
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_output_test_.cc | 108 std::string actual = "actual \"string\""; 116 std::string golden_str(kGoldenString, sizeof(kGoldenString) - 1); 762 std::string ParamNameFunc(const testing::TestParamInfo<std::string>& info) { 766 class ParamTest : public testing::TestWithParam<std::string> { 779 testing::Values(std::string("a")), 1037 std::string("internal_skip_environment_and_ad_hoc_tests")) > 0;
|
H A D | gtest-port_test.cc | 405 // Defines StringTypes as the list of all string types that class RE 408 ::std::string, 410 ::string, 939 EXPECT_EQ(::std::string("def\0ghi", 7), ::std::string(GetCapturedStdout())); 949 EXPECT_EQ(::std::string("jkl\0mno", 7), ::std::string(GetCapturedStderr())); 1003 ThreadLocal<std::string> thread_local_string; 1013 ThreadLocal<std::string> thread_local_string; 1014 const ThreadLocal<std::string> [all...] |
/gem5/src/systemc/ext/channel/ |
H A D | sc_in.hh | 33 #include <string> 141 add_trace(sc_trace_file *tf, const std::string &name) const 158 sc_trace(sc_trace_file *tf, const sc_in<T> &i, const std::string &name) 301 add_trace(sc_trace_file *tf, const std::string &name) const 321 const std::string &name) 461 add_trace(sc_trace_file *tf, const std::string &name) const 482 const std::string &name)
|
H A D | sc_signal.hh | 34 #include <string> 135 std::string iface_type_name, std::string out_name); 152 std::string iface_type_name, std::string out_name);
|
/gem5/src/sim/ |
H A D | pseudo_inst.cc | 51 #include <string> 327 const string &filename = tc->getCpuPtr()->system->params()->symbolfile; 332 std::string buffer; 344 string::size_type idx = buffer.find(' '); 345 if (idx == string::npos) 348 string address = "0x" + buffer.substr(0, idx); 354 string symbol = buffer.substr(idx + 3); 380 std::string symbol; 399 // The key parameter string is passed in via two 64-bit registers. We copy 500 const string [all...] |
/gem5/src/mem/cache/ |
H A D | base.hh | 57 #include <string> 143 CacheMasterPort(const std::string &_name, BaseCache *_cache, 175 const std::string &label) : 236 MemSidePort(const std::string &_name, BaseCache *_cache, 237 const std::string &_label); 263 CacheSlavePort(const std::string &_name, BaseCache *_cache, 264 const std::string &_label); 307 CpuSidePort(const std::string &_name, BaseCache *_cache, 308 const std::string &_label); 1056 Port &getPort(const std::string [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | attr.h | 142 // User-specified documentation string 260 std::string tname(base.name()); 262 pybind11_fail("generic_type: type \"" + std::string(name) + 267 std::string tname(base.name()); 269 pybind11_fail("generic_type: type \"" + std::string(name) + "\" " + 320 /// Process an attribute specifying the function's docstring (provided as a C-style string) 373 std::string descr("'"); 374 if (a.name) descr += std::string(a.name) + ": "; 378 descr += " in method '" + (std::string) str(r->scope) + "." + (std::string) [all...] |
/gem5/ext/mcpat/cacti/ |
H A D | cacti_interface.h | 41 #include <string> 122 void parse_cfg(const string & infile); 125 bool error_checking(string name = "CACTI"); 341 uca_org_t cacti_interface(const string & infile_name); 346 const string &name);
|
/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_signal_ports.h | 59 std::string name; 61 sc_trace_params( sc_trace_file* tf_, const std::string& name_ ) 242 void add_trace( sc_trace_file*, const std::string& ) const; 245 void add_trace_internal( sc_trace_file*, const std::string& ) const; 318 sc_in<T>::add_trace_internal( sc_trace_file* tf_, const std::string& name_ ) 332 sc_in<T>::add_trace( sc_trace_file* tf_, const std::string& name_ ) 609 void add_trace( sc_trace_file*, const std::string& ) const; 612 void add_trace_internal( sc_trace_file*, const std::string& ) const; 876 void add_trace( sc_trace_file*, const std::string& ) const; 879 void add_trace_internal( sc_trace_file*, const std::string [all...] |
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-spec-builders.h | 66 #include <string> 146 // the action's result. The call description string will be used in 152 const string& call_description) const = 0; 266 void AssertSpecProperty(bool property, const string& failure_message) const { 271 void ExpectSpecProperty(bool property, const string& failure_message) const { 693 ExpectationBase(const char* file, int line, const string& source_text); 741 void AssertSpecProperty(bool property, const string& failure_message) const { 746 void ExpectSpecProperty(bool property, const string& failure_message) const { 848 const string source_text_; // The EXPECT_CALL(...) source text. 884 const char* a_file, int a_line, const string [all...] |
H A D | gmock-matchers.h | 47 #include <string> 183 // A match result listener that stores the explanation in a string. 189 internal::string str() const { return ss_.str(); } 336 // instead of Eq(str) and "foo" instead of Eq("foo") when a string 339 class GTEST_API_ Matcher<const internal::string&> 340 : public internal::MatcherBase<const internal::string&> { 344 explicit Matcher(const MatcherInterface<const internal::string&>* impl) 345 : internal::MatcherBase<const internal::string&>(impl) {} 348 // str is a string object. 349 Matcher(const internal::string [all...] |
/gem5/src/arch/x86/bios/ |
H A D | smbios.cc | 99 std::vector<std::string>::iterator it; 104 // If there are string fields but none of them are used, that's a 122 std::vector<std::string>::iterator it; 132 X86ISA::SMBios::SMBiosStructure::addString(string & newString) 135 // If a string is empty, treat it as not existing. The index for empty 143 string 151 X86ISA::SMBios::SMBiosStructure::setString(int n, std::string & newString)
|
/gem5/src/mem/ruby/system/ |
H A D | RubySystem.cc | 207 RubySystem::writeCompressedTrace(uint8_t *raw_data, string filename, 211 string thefile = CheckpointIn::dir() + "/" + filename.c_str(); 255 string cache_trace_file = name() + ".cache.gz"; 274 RubySystem::readCompressedTrace(string filename, uint8_t *&raw_data, 315 string cache_trace_file;
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | internals.h | 102 std::unordered_map<std::string, void *> shared_data; // Custom data to be shared across extensions 104 std::forward_list<std::string> static_strings; // Stores the std::strings backing detail::c_str() 293 /// Constructs a std::string with the given arguments, stores it in `internals`, and returns its 309 inline PYBIND11_NOINLINE void *get_shared_data(const std::string &name) { 316 inline PYBIND11_NOINLINE void *set_shared_data(const std::string &name, void *data) { 325 T &get_or_create_shared_data(const std::string &name) {
|
/gem5/src/base/ |
H A D | statistics.hh | 75 #include <string> 279 name(const std::string &name) 286 const std::string &name() const { return this->info()->name; } 291 * @param _sep The new separator string 295 setSeparator(const std::string &_sep) 300 const std::string &setSeparator() const 312 desc(const std::string &_desc) 379 subname(off_type index, const std::string &name) 384 std::vector<std::string> &subn = info->subnames; 403 subdesc(off_type index, const std::string [all...] |
/gem5/src/dev/storage/ |
H A D | disk_image.cc | 44 #include <string> 79 RawDiskImage::open(const string &filename, bool rd_only) 251 CowDiskImage::open(const string &file) 335 // filename will be set to the empty string to disable saving of 343 CowDiskImage::save(const string &file) const 439 string cowFilename = name() + ".cow"; 447 string cowFilename;
|
/gem5/ext/testlib/ |
H A D | handlers.py | 241 string = ','.join(strings) 243 string = ' No testing done' 246 string = ' Results:' + string + ' in {:.2} seconds '.format( 248 string += ' ' 250 string,
|
/gem5/src/dev/arm/ |
H A D | gic_v3_its.hh | 88 DataPort(const std::string &_name, Gicv3Its &_its) : 101 Port & getPort(const std::string &if_name, PortID idx) override; 360 const std::string name() const; 473 DispatchEntry(std::string _name, ExecFn _exec) 477 std::string name; 486 static std::string commandName(uint32_t cmd);
|
/gem5/util/minorview/ |
H A D | model.py | 103 def from_string(self, string): 105 string) 107 def seqnum_from_string(string): 108 if string is None: 111 return int(string) 114 print 'Invalid Id string', string 141 """Returns the usual id T/S.P/L/F.E string""" 187 def from_string(self, string): 188 m = re.match('^(\w+);(\d+)\.(\d+);([0-9a-fA-Fx]+);(.*)$', string) [all...] |
/gem5/src/arch/arm/ |
H A D | semihosting.cc | 124 const std::map<const std::string, FILE *> ArmSemihosting::stdioMap{ 269 std::string 277 return std::string(buf.data()); 293 std::string fname = readString(tc, name_base, name_size); 490 std::string fname = readString(tc, argv[1], argv[2]); 503 std::string from = readString(tc, argv[1], argv[2]); 504 std::string to = readString(tc, argv[3], argv[4]); 531 const std::string cmd = readString(tc, argv[1], argv[2]); 696 const std::string &name, const char *mode) 713 ArmSemihosting &parent, const std::string [all...] |