/gem5/ext/googletest/googletest/test/ |
H A D | gtest-tuple_test.cc | 311 const char* const str = "hi"; local 315 t = make_tuple(str, p); 316 EXPECT_EQ(str, get<0>(t));
|
H A D | gtest-unittest-api_test.cc | 140 AssertionResult IsNull(const char* str) { argument 141 if (str != NULL) { 142 return testing::AssertionFailure() << "argument is " << str;
|
/gem5/util/ |
H A D | cpt_upgrader.py | 102 elif isinstance(self.depends, str): 110 if isinstance(self.fwd_depends, str): 201 cpt.optionxform = str
|
/gem5/util/batch/ |
H A D | send.py | 257 path = str(cptdir) 265 os.chdir(str(jobdir)) 266 os.environ['PWD'] = str(jobdir)
|
/gem5/ext/pybind11/tests/ |
H A D | test_pytypes.py | 76 assert doc(m.str_from_bytes) == "str_from_bytes() -> str" 80 return "this is a str" 85 assert m.str_from_object(A()) == "this is a str" 98 "bytes" if sys.version_info[0] == 3 else "str" 173 types = [str, bool, int, float, tuple, list, dict, set] 178 str: 42, 210 'str_i1': 'str', 'str_i2': 'str1', 'str_e': 'str2', 'str_p': 'str3', 225 py::print + str.format = this 231 assert str(excinfo.value) == "make_tuple(): unable to convert " + (
|
H A D | test_stl.py | 64 assert doc(m.cast_map) == "cast_map() -> Dict[str, str]" 65 assert doc(m.load_map) == "load_map(arg0: Dict[str, str]) -> bool" 75 assert doc(m.cast_set) == "cast_set() -> Set[str]" 76 assert doc(m.load_set) == "load_set(arg0: Set[str]) -> bool" 164 assert doc(m.load_variant) == "load_variant(arg0: Union[int, str, float, None]) -> str" 169 assert str(m.return_vec_of_reference_wrapper(UserType(4))) == \ 208 assert expected_message in str(excinf [all...] |
H A D | test_numpy_dtypes.cpp | 174 l.append(py::str(ss.str())); 240 list.append(py::dtype::from_args(py::str("bool"))); 243 names.append(py::str("a")); names.append(py::str("b")); dict["names"] = names; 356 l.append(py::str(d));
|
H A D | test_smart_ptr.py | 158 assert "Unable to cast from non-held to held instance" in str(excinfo.value) 194 assert "Unable to cast from non-held to held instance" in str(excinfo.value) 276 "default-holder instance" in str(excinfo.value)
|
H A D | test_multiple_inheritance.py | 202 assert getattr(a, "f" + str(i))() == 2 * i 207 assert getattr(b, "f" + str(i))() == 2 * i 212 assert getattr(c, "f" + str(i))() == 2 * i 217 assert getattr(d, "f" + str(i))() == 2 * i
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-matchers_test.cc | 205 return ss.str(); 213 return ss.str(); 221 return listener.str(); 227 EXPECT_EQ("hi5", listener.str()); 230 EXPECT_EQ("", listener.str()); 233 EXPECT_EQ("42", listener.str()); 360 EXPECT_EQ("which is 42 more than 0", listener1.str()); 364 EXPECT_EQ("which is 9 less than 0", listener2.str()); 1128 EXPECT_EQ(string(ss.str()), Describe(m)); 1187 string str("0120450080 [all...] |
/gem5/util/streamline/ |
H A D | m5stats2streamline.py | 149 while config.has_section("system.cpu" + str(num_cpus)): 156 while config.has_section("system.l2_cache" + str(num_l2)): 680 process.task_name, str(process.tick) 685 thread.task_name, str(thread.tick) 764 per_cpu_name = re.sub("#", str(i), self.name) 780 self.values[per_cpu_index].append(str(val)) 782 self.values.append(str(val)) 844 name = re.sub("#", str(l2), item) 937 stat.values[i].append(str(0)) 946 stat.values.append(str( [all...] |
/gem5/ext/googletest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 189 internal::string str() const { return ss_.str(); } function in class:testing::StringMatchResultListener 192 void Clear() { ss_.str(""); } 335 // The following two specializations allow the user to write str 336 // instead of Eq(str) and "foo" instead of Eq("foo") when a string 347 // Allows the user to write str instead of Eq(str) sometimes, where 348 // str is a string object. 364 // Allows the user to write str instead of Eq(str) sometime 1128 StrEqualityMatcher(const StringType& str, bool expect_eq, bool case_sensitive) argument 3955 StrEq(const internal::string& str) argument 3962 StrNe(const internal::string& str) argument 3969 StrCaseEq(const internal::string& str) argument 3976 StrCaseNe(const internal::string& str) argument 4030 StrEq(const internal::wstring& str) argument 4037 StrNe(const internal::wstring& str) argument 4044 StrCaseEq(const internal::wstring& str) argument 4051 StrCaseNe(const internal::wstring& str) argument [all...] |
/gem5/src/base/vnc/ |
H A D | vncserver.cc | 344 VncServer::write(const char* str) argument 346 return write((uint8_t *)str, strlen(str)); 614 char str[1025]; local 619 if (!read((uint8_t *)&str, bytes_to_read)) 621 str[bytes_to_read] = 0; 623 DPRINTF(VNC, "Buffer: %s\n", str);
|
H A D | vncserver.hh | 254 * @param str string to transmit 256 bool write(const char* str);
|
/gem5/src/python/m5/ |
H A D | params.py | 120 return str(self) 126 return str(self) 147 return str(value) 222 return str(value) 343 elif isinstance(value, str): 368 elif isinstance(value, str): 380 elif isinstance(value, str): 439 # built-in str class. 440 class String(ParamValue,str): 469 return str(sel [all...] |
/gem5/util/minorview/ |
H A D | model.py | 143 str(self.threadId) + '/' + 144 str(self.streamSeqNum) + '.' + 145 str(self.predictionSeqNum) + '/' + 146 str(self.lineSeqNum) + '/' + 147 str(self.fetchSeqNum) + '.' + 148 str(self.execSeqNum)) 461 ret.append("%s=%s" % (name, str(value))) 474 ret.append("%s=%s", name, str(value)) 488 ret.append("%s=%s", name, str(value)) 501 ret.append("%s=%s", name, str(valu [all...] |
/gem5/src/systemc/dt/int/ |
H A D | sc_int_base.cc | 96 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 365 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 375 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 386 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 397 SC_REPORT_WARNING(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 532 SC_REPORT_ERROR(sc_core::SC_ID_CONVERSION_FAILED_, msg.str().c_str());
|
H A D | sc_uint_base.cc | 94 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 350 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 360 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 371 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 383 SC_REPORT_WARNING(sc_core::SC_ID_OUT_OF_BOUNDS_, msg.str().c_str()); 518 SC_REPORT_ERROR(sc_core::SC_ID_CONVERSION_FAILED_, msg.str().c_str());
|
/gem5/configs/example/ |
H A D | read_config.py | 75 ' class: %s' % (str(param), cls.__name__)) 86 ret = cls(cast(str(param) + 't')) 145 def from_string(cls, str): 146 m = re.match('(.*)\.([^.\[]+)(\[(\d+)\])?', str) 486 return str(node) 533 parser.add_argument('--checkpoint-dir', type=str, default=None,
|
/gem5/src/arch/arm/insts/ |
H A D | sve_macromem.hh | 115 return ss.str(); 187 return ss.str(); 260 return ss.str(); 333 return ss.str(); 429 return ss.str(); 532 return ss.str();
|
/gem5/src/base/ |
H A D | cprintf_formats.hh | 215 int flen = foo.str().size(); 223 out << foo.str() << spaces; 225 out << spaces << foo.str();
|
H A D | cprintf.hh | 166 return stream.str();
|
/gem5/src/python/m5/util/ |
H A D | dot_writer.py | 156 ini_strings.append(str(param) + "=" + 279 label = "\"" + str(c_dom) + "\ :\ " + str(v_dom) + "\"" 280 label = re.sub('\.', '_', str(label)) 281 full_path = re.sub('\.', '_', str(c_dom))
|
/gem5/src/systemc/dt/bit/ |
H A D | sc_lv_base.cc | 72 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, ss.str().c_str());
|
/gem5/src/systemc/tests/systemc/communication/sc_signal/check_writer/test16/ |
H A D | test16.cpp | 62 sc_spawn( sc_bind(&dut::driver, this, value), nm.str().c_str(), &sp );
|