/gem5/src/arch/alpha/ |
H A D | osfpal.cc | 36 static const char *strings[PAL::NumCodes] = { local 237 return strings[index];
|
/gem5/util/systemc/systemc_within_gem5/systemc_simple_object/ |
H A D | feeder.cc | 36 strings(params->strings), index(0), event(this) 57 if (index >= strings.size()) 60 buf.write(strings[index++].c_str());
|
H A D | SystemC_Example.py | 53 strings = VectorParam.String([], 'Words to print.') variable in class:Gem5_Feeder
|
H A D | feeder.hh | 59 std::vector<std::string> strings; member in class:Feeder
|
H A D | config.py | 51 feeder.strings = args.word
|
/gem5/src/sim/ |
H A D | process_impl.hh | 43 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 D | sc_main.cc | 64 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 D | smbios.cc | 106 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 D | smbios.hh | 99 std::vector<std::string> strings; member in class:X86ISA::SMBios::SMBiosStructure
|
/gem5/src/python/m5/util/ |
H A D | fdthelper.py | 64 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 D | pyfdt.py | 160 """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 D | ecoff_object.cc | 156 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 D | internals.h | 104 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 D | handlers.py | 227 strings = [] 238 strings.append(outcome_fmt.format(count=count, 241 string = ','.join(strings)
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-generated-matchers_test.cc | 459 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 D | gtest-printers.h | 482 // 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 D | gtest-printers_test.cc | 388 // 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 D | pybind11.h | 196 /* 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 D | gtest-port.h | 251 // 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 D | gtest.cc | 66 # 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...] |