Searched refs:str (Results 101 - 125 of 391) sorted by relevance

1234567891011>>

/gem5/src/arch/sparc/insts/
H A Dmem.cc62 return response.str();
91 return response.str();
/gem5/ext/pybind11/tests/
H A Dpybind11_tests.h61 static handle cast(RValueCaster &&, return_value_policy, handle) { return py::str("rvalue").release(); }
62 static handle cast(const RValueCaster &, return_value_policy, handle) { return py::str("lvalue").release(); }
H A Dtest_enum.py6 assert str(m.UnscopedEnum.EOne) == "UnscopedEnum.EOne"
7 assert str(m.UnscopedEnum.ETwo) == "UnscopedEnum.ETwo"
8 assert str(m.EOne) == "UnscopedEnum.EOne"
85 assert str(m.UnscopedEnum(2)) == "UnscopedEnum.ETwo"
143 assert str(m.ClassWithUnscopedEnum.EMode.EFirstMode) == "EMode.EFirstMode"
144 assert str(m.ClassWithUnscopedEnum.EFirstMode) == "EMode.EFirstMode"
169 assert str(x) == "{EMode.EFirstMode: 3, EMode.ESecondMode: 4}"
206 assert str(excinfo.value) == 'SimpleEnum: element "ONE" already exists!'
H A Dtest_numpy_dtypes.py71 assert re.match('^NumPy type info missing for .*UnboundStruct.*$', str(excinfo.value))
78 str(4 * (dbl.alignment > 4) + dbl.itemsize + 8 * (ld.alignment > 8)) +
80 nested_extra = str(max(8, ld.alignment))
170 assert str(arr.dtype) == partial_dtype_fmt()
178 assert str(arr.dtype) == partial_nested_fmt()
197 assert str(arr.dtype) == "[('a', 'S3'), ('b', 'S3')]"
216 assert str(arr.dtype) == (
287 assert 'incompatible function arguments' in str(excinfo.value)
293 assert 'dtype is already registered' in str(excinfo.value)
H A Dtest_copy_move.py8 assert "the object is non-copyable!" in str(excinfo.value)
14 assert "the object is neither movable nor copyable!" in str(excinfo.value)
101 assert "the object is neither movable nor copyable" in str(excinfo.value)
/gem5/src/python/m5/
H A Devent.py62 str(func))
70 return "EventWrapper(%s)" % (str(self._func), )
/gem5/src/systemc/tests/systemc/datatypes/fx/fast_limits/
H A Dmain.cpp81 std::string s = out.str();
85 char* s = out.str();
/gem5/src/systemc/tests/systemc/datatypes/fx/limits/
H A Dmain.cpp80 std::string s = out.str();
84 char* s = out.str();
/gem5/util/maint/
H A Dlist_changes.py64 ["show", "--format=%B", "--no-patch", str(self.rev) ]
120 query = str(branch)
165 parser.add_argument("--upstream", "-u", type=str, default="origin/master",
168 parser.add_argument("--feature", "-f", type=str, default="HEAD",
178 parser.add_argument("paths", metavar="PATH", type=str, nargs="*",
/gem5/src/mem/slicc/symbols/
H A DSymbolTable.py57 self.registerSym(str(sym), sym)
93 self.machine_components[str(machine)][str(symbol)] = symbol
96 self.registerGlobalSym(str(sym), sym)
100 self.machine_components[str(sym)] = {}
/gem5/src/systemc/utils/
H A Dvcd.cc377 char str[2] = { variable
381 printVal(os, str);
407 std::string str; variable
410 str.reserve(w);
412 str += this->value()[i].to_bool() ? '1' : '0';
414 this->printVal(os, str);
511 std::string str; variable
514 str.reserve(w);
516 str += this->value()[i] ? '1' : '0';
518 this->printVal(os, str);
577 char str[TimeWidth + 1]; variable
603 char str[w + 1]; variable
[all...]
H A Dsc_report_handler.cc374 std::ostringstream str; local
379 str << sevName << ": ";
381 ccprintf(str, "(%c%d) ", sevName[0], id);
383 str << report.get_msg_type();
387 str << ": " << msg;
390 ccprintf(str, "\nIn file: %s:%d", report.get_file_name(),
396 ccprintf(str, "\nIn process: %s @ %s", name,
401 return str.str();
/gem5/ext/googletest/googletest/src/
H A Dgtest-port.cc576 // Returns true iff regular expression re matches the entire str.
577 bool RE::FullMatch(const char* str, const RE& re) { argument
581 return regexec(&re.full_regex_, str, 1, &match, 0) == 0;
584 // Returns true iff regular expression re matches a substring of str
585 // (including str itself).
586 bool RE::PartialMatch(const char* str, const RE& re) { argument
590 return regexec(&re.partial_regex_, str, 1, &match, 0) == 0;
625 // Returns true iff ch appears anywhere in str (excluding the
627 bool IsInSet(char ch, const char* str) { argument
628 return ch != '\0' && strchr(str, c
744 MatchRepetitionAndRegexAtHead( bool escaped, char c, char repeat, const char* regex, const char* str) argument
771 MatchRegexAtHead(const char* regex, const char* str) argument
807 MatchRegexAnywhere(const char* regex, const char* str) argument
830 FullMatch(const char* str, const RE& re) argument
836 PartialMatch(const char* str, const RE& re) argument
[all...]
H A Dgtest.cc463 const char *str) {
467 return *str == '\0';
469 return *str != '\0' && PatternMatchesString(pattern + 1, str + 1);
471 return (*str != '\0' && PatternMatchesString(pattern, str + 1)) ||
472 PatternMatchesString(pattern + 1, str);
474 return *pattern == *str &&
475 PatternMatchesString(pattern + 1, str + 1);
922 void SplitString(const ::std::string& str, cha argument
462 PatternMatchesString(const char *pattern, const char *str) argument
1090 GetId(const std::string& str) argument
1272 SplitEscapedString(const std::string& str) argument
1764 char str[5]; // Big enough for the largest valid code point. local
1823 WideStringToUtf8(const wchar_t* str, int num_chars) argument
1949 EndsWithCaseInsensitive( const std::string& str, const std::string& suffix) argument
1983 const ::std::string& str = ss->str(); local
3377 EscapeXmlAttribute(const std::string& str) argument
3382 EscapeXmlText(const char* str) argument
3476 EscapeXml( const std::string& str, bool is_attribute) argument
3522 RemoveInvalidXmlCharacters( const std::string& str) argument
3761 UrlEncode(const char* str) argument
4846 PrintOnOneLine(const char* str, int max_length) argument
5015 ParseFlagValue(const char* str, const char* flag, bool def_optional) argument
5053 ParseBoolFlag(const char* str, const char* flag, bool* value) argument
5070 ParseInt32Flag(const char* str, const char* flag, Int32* value) argument
5087 ParseStringFlag(const char* str, const char* flag, std::string* value) argument
5105 HasGoogleTestFlagPrefix(const char* str) argument
5125 PrintColorEncoded(const char* str) argument
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock-nice-strict_test.cc100 const string& str() const { return str_; } function in class:testing::gmock_nice_strict_test::MockBar
223 EXPECT_EQ("hi", nice_bar.str());
234 EXPECT_EQ("abcdefghTF", nice_bar.str());
316 EXPECT_EQ("hi", naggy_bar.str());
327 EXPECT_EQ("01234567TF", naggy_bar.str());
390 EXPECT_EQ("hi", strict_bar.str());
401 EXPECT_EQ("abcdefghTF", strict_bar.str());
/gem5/src/python/m5/util/
H A Dfdthelper.py57 # type is str)
58 words = [long(w, base=0) if type(w) == str else long(w) for w in words]
65 if type(strings) == str:
67 strings = [str(string) for string in strings] # Make all values strings
77 # type is str)
79 if isinstance(v, str) else int(v) for v in values]
105 key = str(id(obj))
108 key = str(obj)
110 raise ValueError('Phandle keys must be castable to str')
214 if isinstance(compatible, str)
[all...]
/gem5/ext/libfdt/
H A Dlibfdt.h992 #define fdt_property_string(fdt, name, str) \
993 fdt_property(fdt, name, str, strlen(str)+1)
1196 * @str: string value for the property
1219 #define fdt_setprop_string(fdt, nodeoffset, name, str) \
1220 fdt_setprop((fdt), (nodeoffset), (name), (str), strlen(str)+1)
1338 * @str: string value to append to the property
1360 #define fdt_appendprop_string(fdt, nodeoffset, name, str) \
1361 fdt_appendprop((fdt), (nodeoffset), (name), (str), strle
[all...]
/gem5/util/cpt_upgraders/
H A Darmv8.py26 cpt.set(sec, 'floatRegs.i', ' '.join(str(x) for x in fpr))
34 cpt.set(sec, 'intRegs', ' '.join(str(x) for x in ir))
45 cpt.set(sec, "interrupts", ' '.join(str(x) for x in irqs))
56 cpt.set(sec, "interrupts", ' '.join(str(x) for x in irqs))
182 mr_new[115] = str(scr)
224 mr_new[87] = str(pfr)
249 cpt.set(sec, 'miscRegs', ' '.join(str(x) for x in mr_new))
262 cpt.set(sec, '_attr', str(attr))
290 cpt.set(sec, 'attributes', str(attr))
H A Darm-sysreg-mapping-ns.py72 cpt.set(sec, 'miscRegs', ' '.join(str(x) for x in mr))
/gem5/ext/systemc/src/tlm_utils/
H A Dpassthrough_target_socket.h116 SC_REPORT_WARNING("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
130 SC_REPORT_WARNING("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
143 SC_REPORT_WARNING("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
156 SC_REPORT_WARNING("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
176 SC_REPORT_ERROR("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
191 SC_REPORT_ERROR("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
352 SC_REPORT_WARNING("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
365 SC_REPORT_WARNING("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
378 SC_REPORT_WARNING("/OSCI_TLM-2/passthrough_socket",s.str().c_str());
391 SC_REPORT_WARNING("/OSCI_TLM-2/passthrough_socket",s.str()
[all...]
/gem5/util/plot_dram/
H A Dlowp_dram_sweep_plot.py94 filename = plotter.stateTimePlotName(str(delay) + '-')
103 filename = plotter.stateEnergyPlotName(str(delay) + '-')
121 'itt delay = ' + str(delay) +
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test02/
H A Dtest02.cpp131 void round_robin(const char *str, sc_event& receive, sc_event& send, int cnt) argument
135 << ": In Round robin method " << str;
143 cout << ". Notified. Ending Round robin method " << str << endl;
/gem5/src/mem/slicc/ast/
H A DMemberExprAST.py44 if str(return_type) == "TBE" \
/gem5/ext/pybind11/tools/
H A Dlibsize.py37 sf.write(str(libsize))
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_main_main.cpp120 SC_REPORT_INFO( SC_ID_IEEE_1666_DEPRECATION_, ss.str().c_str() );

Completed in 50 milliseconds

1234567891011>>