Searched refs:string (Results 726 - 750 of 1173) sorted by relevance

<<21222324252627282930>>

/gem5/src/gpu-compute/
H A Dgpu_tlb.hh42 #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 Dtest_enum.cpp35 return "ScopedEnum::" + std::string(z == ScopedEnum::Two ? "Two" : "Three");
H A Dtest_pytypes.cpp35 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 Dgmock-matchers_test.cc39 #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 Dgmock-actions_test.cc40 #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 Dgtest_output_test_.cc108 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 Dgtest-port_test.cc405 // 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 Dsc_in.hh33 #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 Dsc_signal.hh34 #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 Dpseudo_inst.cc51 #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 Dbase.hh57 #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 Dattr.h142 // 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 Dcacti_interface.h41 #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 Dsc_signal_ports.h59 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 Dgmock-spec-builders.h66 #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 Dgmock-matchers.h47 #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 Dsmbios.cc99 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 DRubySystem.cc207 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 Dinternals.h102 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 Dstatistics.hh75 #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 Ddisk_image.cc44 #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 Dhandlers.py241 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 Dgic_v3_its.hh88 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 Dmodel.py103 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 Dsemihosting.cc124 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...]

Completed in 86 milliseconds

<<21222324252627282930>>