/gem5/src/mem/slicc/ast/ |
H A D | AssignStatementAST.py | 54 if str(ltype) != "NetDest" and str(rtype) != "Set":
|
H A D | TypeFieldEnumAST.py | 42 if str(type) == "State": 52 if str(type) == "Event": 58 if str(type) == "RequestType":
|
/gem5/src/arch/x86/insts/ |
H A D | microldstop.cc | 60 return response.str(); 77 return response.str();
|
H A D | micromediaop.cc | 50 return response.str(); 63 return response.str();
|
/gem5/src/systemc/dt/bit/ |
H A D | sc_bit.cc | 83 SC_REPORT_ERROR(sc_core::SC_ID_VALUE_NOT_VALID_, msg.str().c_str()); 92 SC_REPORT_ERROR(sc_core::SC_ID_VALUE_NOT_VALID_, msg.str().c_str());
|
/gem5/src/systemc/utils/ |
H A D | sc_vector.cc | 80 SC_REPORT_ERROR(sc_core::SC_ID_OUT_OF_BOUNDS_, ss.str().c_str()); 111 SC_REPORT_WARNING(SC_ID_VECTOR_BIND_EMPTY_, ss.str().c_str());
|
/gem5/configs/example/arm/ |
H A D | starter_fs.py | 201 parser.add_argument("--dtb", type=str, default=None, 203 parser.add_argument("--kernel", type=str, default=default_kernel, 205 parser.add_argument("--disk-image", type=str, 208 parser.add_argument("--script", type=str, default="", 210 parser.add_argument("--cpu", type=str, choices=cpu_types.keys(), 213 parser.add_argument("--cpu-freq", type=str, default="4GHz") 223 parser.add_argument("--mem-size", action="store", type=str, 227 parser.add_argument("--restore", type=str, default=None)
|
/gem5/src/arch/arm/insts/ |
H A D | sve.cc | 70 return ss.str(); 90 return ss.str(); 100 return ss.str(); 111 return ss.str(); 123 return ss.str(); 136 return ss.str(); 154 return ss.str(); 165 return ss.str(); 178 return ss.str(); 189 return ss.str(); [all...] |
H A D | sve_mem.cc | 58 return ss.str(); 74 return ss.str(); 93 return ss.str(); 113 return ss.str();
|
/gem5/ext/pybind11/tests/ |
H A D | test_constants_and_functions.cpp | 26 py::str test_function4() { return "test_function()"; } 27 py::str test_function4(char *) { return "test_function(char *)"; } 28 py::str test_function4(int, float) { return "test_function(int, float)"; } 29 py::str test_function4(float, int) { return "test_function(float, int)"; } 95 m.def("test_function", static_cast<py::str (*)()>(&test_function4)); 96 m.def("test_function", static_cast<py::str (*)(char *)>(&test_function4)); 97 m.def("test_function", static_cast<py::str (*)(int, float)>(&test_function4)); 98 m.def("test_function", static_cast<py::str (*)(float, int)>(&test_function4));
|
H A D | test_exceptions.py | 26 assert str(excinfo.value) == "My runtime error" 30 assert str(excinfo.value) == "My value error" 34 assert str(excinfo.value) == "pybind11 value error" 38 assert str(excinfo.value) == "pybind11 type error" 119 assert str(capture).startswith("MyException5: nested error 5") 124 assert str(excinfo.value) == "nested error" 136 assert str(capture).startswith("MyException5: nested error 5") 146 assert str(excinfo.value) == "this is a helper-defined translated exception"
|
H A D | test_builtin_casters.py | 51 assert str(excinfo.value) == toobig_message(0x100) 54 assert str(excinfo.value) == toolong_message 65 assert str(excinfo.value) == toobig_message(0x10000) 68 assert str(excinfo.value) == toolong_message 78 assert str(excinfo.value) == toolong_message 88 assert str(excinfo.value) == toobig_message(0x10000) 93 assert str(excinfo.value) == toolong_message 101 byte = bytes if sys.version_info[0] < 3 else str 167 assert "incompatible function arguments" in str(excinfo.value) 170 assert "incompatible function arguments" in str(excinf [all...] |
H A D | test_methods_and_attributes.cpp | 58 py::str overloaded() { return "()"; } 59 py::str overloaded(int) { return "(int)"; } 60 py::str overloaded(int, float) { return "(int, float)"; } 61 py::str overloaded(float, int) { return "(float, int)"; } 62 py::str overloaded(int, int) { return "(int, int)"; } 63 py::str overloaded(float, float) { return "(float, float)"; } 64 py::str overloaded(int) const { return "(int) const"; } 65 py::str overloaded(int, float) const { return "(int, float) const"; } 66 py::str overloaded(float, int) const { return "(float, int) const"; } 67 py::str overloade [all...] |
H A D | test_callbacks.py | 59 assert "Got multiple values for keyword argument" in str(excinfo.value) 63 assert "Got multiple values for keyword argument" in str(excinfo.value) 67 assert "Unable to convert call argument" in str(excinfo.value) 71 assert "Unable to convert call argument" in str(excinfo.value) 94 assert "incompatible function arguments" in str(excinfo.value) 98 assert any(s in str(excinfo.value) for s in ("missing 1 required positional argument", 103 assert doc(m.test_callback3) == "test_callback3(arg0: Callable[[int], int]) -> str"
|
/gem5/src/sim/ |
H A D | serialize.hh | 64 #include "base/str.hh" 386 std::string str; local 387 if (!cp.find(section, name, str) || !parseParam(str, param)) { 398 std::string str; local 399 if (!cp.find(section, name, str) || !parseParam(str, param)) { 492 std::string str; local 493 if (!cp.find(section, name, str)) { 502 tokenize(tokens, str, ' '); 536 std::string str; local 578 std::string str; local 608 std::string str; local [all...] |
/gem5/src/arch/power/insts/ |
H A D | integer.cc | 79 return ss.str(); 115 return ss.str(); 142 return ss.str(); 169 return ss.str();
|
/gem5/ext/googletest/googlemock/src/ |
H A D | gmock-cardinalities.cc | 59 internal::Expect(false, __FILE__, __LINE__, ss.str()); 63 internal::Expect(false, __FILE__, __LINE__, ss.str()); 68 internal::Expect(false, __FILE__, __LINE__, ss.str()); 103 return ss.str();
|
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-typed-test.cc | 40 // Skips to the first non-space char in str. Returns an empty string if str 42 static const char* SkipSpaces(const char* str) { argument 43 while (IsSpace(*str)) 44 str++; 45 return str;
|
/gem5/ext/systemc/src/sysc/datatypes/bit/ |
H A D | sc_bv_base.cpp | 335 std::string str( &s[2] ); 336 str += "F"; 337 return str; 349 std::string str = a.to_bin(); local 350 str += "F"; // mark the string as formatted 352 const char* p = str.c_str() + 2; 370 std::string str( s ); 371 str += "U"; // mark the string as unformatted 372 return str; 381 std::string str(" [all...] |
/gem5/src/arch/sparc/insts/ |
H A D | branch.cc | 57 return response.str(); 74 return response.str(); 97 return response.str();
|
/gem5/util/systemc/gem5_within_systemc/ |
H A D | sc_logger.cc | 82 logger->logMessage((Tick)-1, "gem5", line.str()); 84 line.str(""); 109 if (!line.str().empty())
|
/gem5/tests/legacy-configs/ |
H A D | run.py | 72 type=str, 76 type=str, 80 type=str,
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | eval.h | 30 object eval(str expr, object global = globals(), object local = object()) { 55 auto expr = (s[0] == '\n') ? str(module::import("textwrap").attr("dedent")(s)) 56 : str(s); 60 inline void exec(str expr, object global = globals(), object local = object()) { 70 object eval_file(str fname, object global = globals(), object local = object()) {
|
/gem5/src/base/ |
H A D | cprintf.test.cc | 43 int maxlen = ss.str().length() + 3; \ 47 EXPECT_EQ(ss.str(), std::string(buf)); \ 164 EXPECT_EQ(ss.str(), "string test\n"); 165 ss.str(""); 169 ccprintf(ss, "%s\n", foo2.str()); 170 EXPECT_EQ(ss.str(), "stringstream test\n"); 171 ss.str("");
|
H A D | logging.hh | 96 print(const Loc &loc, const std::string &str) argument 99 ss << prefix << str; local 100 if (str.length() && str.back() != '\n' && str.back() != '\r') 104 log(loc, ss.str()); 112 print(loc, ss.str());
|