Searched refs:strings (Results 1 - 20 of 20) sorted by relevance

/gem5/src/arch/alpha/
H A Dosfpal.cc36 static const char *strings[PAL::NumCodes] = { local
237 return strings[index];
/gem5/util/systemc/systemc_within_gem5/systemc_simple_object/
H A Dfeeder.cc36 strings(params->strings), index(0), event(this)
57 if (index >= strings.size())
60 buf.write(strings[index++].c_str());
H A DSystemC_Example.py53 strings = VectorParam.String([], 'Words to print.') variable in class:Gem5_Feeder
H A Dfeeder.hh59 std::vector<std::string> strings; member in class:Feeder
H A Dconfig.py51 feeder.strings = args.word
/gem5/src/sim/
H A Dprocess_impl.hh43 copyStringArray(std::vector<std::string> &strings, argument
48 for (std::vector<std::string>::size_type i = 0; i < strings.size(); ++i) {
51 memProxy.writeString(data_ptr, strings[i].c_str());
53 data_ptr += strings[i].size() + 1;
/gem5/util/systemc/systemc_within_gem5/systemc_sc_main/
H A Dsc_main.cc64 std::vector<const char *> strings; member in class:Feeder
68 strings(_strings)
80 if (i >= strings.size())
83 output = strings[i];
92 std::vector<const char *> strings; local
94 strings.push_back(argv[i]);
99 Feeder feeder("feeder", strings);
/gem5/src/arch/x86/bios/
H A Dsmbios.cc106 if (strings.size() == 0 && stringFields) {
110 for (it = strings.begin(); it != strings.end(); it++) {
124 for (it = strings.begin(); it != strings.end(); it++) {
136 // strings is 0.
139 strings.push_back(newString);
140 return strings.size();
146 assert(n > 0 && n <= strings.size());
147 return strings[
[all...]
H A Dsmbios.hh99 std::vector<std::string> strings; member in class:X86ISA::SMBios::SMBiosStructure
/gem5/src/python/m5/util/
H A Dfdthelper.py64 def __init__(self, name, strings):
65 if type(strings) == str:
66 strings = [strings]
67 strings = [str(string) for string in strings] # Make all values strings
68 super(FdtPropertyStrings, self).__init__(name, strings)
213 strings."""
/gem5/src/python/m5/ext/pyfdt/
H A Dpyfdt.py160 """Property with strings as value"""
164 """Extract strings from raw_value"""
168 def __init__(self, name, strings):
169 """Init with strings"""
171 if not strings:
172 raise Exception("Invalid strings")
173 for stri in strings:
175 raise Exception("Invalid strings")
179 raise Exception("Invalid chars in strings")
180 self.strings
[all...]
/gem5/src/base/loader/
H A Decoff_object.cc156 char *strings = (char *)(local_strings + fdesc[i].issBase); local
160 symtab->insert(entry[j].value, strings + entry[j].iss);
/gem5/ext/pybind11/include/pybind11/detail/
H A Dinternals.h104 std::forward_list<std::string> static_strings; // Stores the std::strings backing detail::c_str()
294 /// `c_str()`. Such strings objects have a long storage duration -- the internal strings are only
296 /// suitable for c-style strings needed by Python internals (such as PyTypeObject's tp_name).
299 auto &strings = get_internals().static_strings; local
300 strings.emplace_front(std::forward<Args>(args)...);
301 return strings.front().c_str();
/gem5/ext/testlib/
H A Dhandlers.py227 strings = []
238 strings.append(outcome_fmt.format(count=count,
241 string = ','.join(strings)
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-matchers_test.cc459 const char* strings[] = { local
465 for (size_t i = 0; i < GTEST_ARRAY_SIZE_(strings); i++) {
466 nested.push_back(list<char>(strings[i], strings[i] + strlen(strings[i])));
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest-printers.h482 // types, strings, plain arrays, and pointers).
508 // Overloads for C strings.
535 // Overloads for wide C strings
938 static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) { argument
939 TuplePrefixPrinter<N - 1>::TersePrintPrefixToStrings(t, strings);
942 strings->push_back(ss.str());
/gem5/ext/googletest/googletest/test/
H A Dgtest-printers_test.cc388 // Tests printing C strings.
409 // Tests that C strings are escaped properly.
419 // would cause pointers to unsigned shorts be printed as wide strings,
444 // Tests that wide C strings are escaped properly.
717 // same for wide strings.
882 const list<string> strings(a, a + 2);
883 EXPECT_EQ("{ \"hello\", \"world\" }", Print(strings));
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h196 /* Create copies of all referenced C-style strings */
1832 auto strings = tuple(args.size()); local
1834 strings[i] = str(args[i]);
1837 auto line = sep.attr("join")(strings);
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h251 // GetInjectableArgvs() - returns the command line as a vector of strings.
408 # include <strings.h>
820 // Determines whether the system compiler uses UTF-16 for encoding wide strings.
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc66 # include <strings.h> // NOLINT
80 // On z/OS we additionally need strings.h for strcasecmp.
81 # include <strings.h> // NOLINT
889 // Compares two C strings. Returns true iff they have the same content.
1301 // and their values, as strings. For example, for ASSERT_EQ(foo, bar)
1720 // Utility functions for encoding Unicode text (wide strings) in
1854 // Compares two wide C strings. Returns true iff they have the same
1868 // Helper function for *_STREQ on wide strings.
1884 // Helper function for *_STRNE on wide strings.
1899 // Compares two C strings, ignorin
[all...]

Completed in 66 milliseconds