Searched refs:suffix (Results 1 - 16 of 16) sorted by relevance

/gem5/src/mem/probes/
H A Dmem_trace.cc61 const std::string suffix = ".gz"; local
62 // If trace_compress has been set, check the suffix. Append
65 filename.compare(filename.size() - suffix.size(), suffix.size(),
66 suffix) != 0)
67 filename = filename + suffix;
/gem5/ext/googletest/googletest/test/
H A Dgtest_stress_test.cc64 std::string IdToKey(int id, const char* suffix) { argument
66 key << "key_" << id << "_" << suffix; local
78 int id, const char* suffix) {
79 TestPropertyKeyIs matches_key(IdToKey(id, suffix).c_str());
83 << "expecting " << suffix << " value for id " << id;
76 ExpectKeyAndValueWereRecordedForId( const std::vector<TestProperty>& properties, int id, const char* suffix) argument
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-string.h142 // Returns true iff the given string ends with the given suffix, ignoring
143 // case. Any string is considered to end with an empty suffix.
145 const std::string& str, const std::string& suffix);
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dtokenize.py191 for suffix in ('l', 'f'):
192 if suffix == source[i:i+1].lower():
206 for suffix in ('ull', 'll', 'ul', 'l', 'f', 'u'):
207 size = len(suffix)
208 if suffix == source[i:i+size].lower():
H A Dast.py135 def _StringHelper(self, name, suffix):
137 return '%s(%s)' % (name, suffix)
138 return '%s(%d, %d, %s)' % (name, self.start, self.end, suffix)
226 suffix = '%s %s' % (name, self.name)
228 suffix += ' = ' + ''.join([d.name for d in self.default])
229 return self._StringHelper(self.__class__.__name__, suffix)
244 def _TypeStringHelper(self, suffix):
247 suffix += ' in ' + '::'.join(names)
248 return self._StringHelper(self.__class__.__name__, suffix)
264 suffix
[all...]
/gem5/src/arch/x86/insts/
H A Dstatic_inst.cc138 const char * suffix = ""; local
143 suffix = "h";
145 suffix = "l";
199 ccprintf(os, suffix);
/gem5/src/systemc/tests/
H A Dverify.py66 def __init__(self, target, suffix, build_dir, props):
68 self.suffix = suffix
92 return '.'.join([self.name, self.suffix])
98 return os.path.join(self.dir(), 'm5out.' + self.suffix)
301 suffix = '.' + platform
302 suffixed = filter(lambda c: c.endswith(suffix), contents)
/gem5/configs/example/
H A Dread_config.py77 def simple_parser(suffix='', cast=lambda i: i):
79 return cls(cast(param + suffix))
120 'Current': simple_parser(suffix='A'),
121 'Voltage': simple_parser(suffix='V'),
123 'MemorySize': simple_parser(suffix='B'),
124 'MemorySize32': simple_parser(suffix='B'),
/gem5/util/cpt_upgraders/
H A Darmv8.py301 for suffix in ['.istage2_mmu', '.dstage2_mmu']:
302 new_sec = key + suffix
304 new_sec = key + suffix + ".stage2_tlb"
/gem5/src/arch/arm/insts/
H A Dstatic_inst.cc375 const std::string &suffix,
383 os << suffix;
387 os << suffix;
480 const std::string &suffix) const
488 ccprintf(os, suffix);
H A Dstatic_inst.hh168 const std::string &suffix = "",
178 const std::string &suffix) const;
H A Dsve.cc528 static const char suffix[9] = local
531 ss << " " << mnemonic << suffix[esize] << " "; local
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-actions_test.cc866 ACTION_P2(PadArgument, prefix, suffix) {
869 char suffix_char = static_cast<char>(suffix);
H A Dgmock-generated-matchers_test.cc1035 MATCHER_P2(EqConcat, prefix, suffix, "") {
1038 char suffix_char = static_cast<char>(suffix);
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h1283 explicit EndsWithMatcher(const StringType& suffix) : suffix_(suffix) {} argument
3996 // Matches a string that ends with 'suffix' (case-sensitive).
3998 EndsWith(const internal::string& suffix) { argument
4000 suffix));
4071 // Matches a string that ends with 'suffix' (case-sensitive).
4073 EndsWith(const internal::wstring& suffix) { argument
4075 suffix));
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc1200 // 'context' represents the desired unchanged prefix/suffix around the diff.
1225 // Iterate the edits until we found enough suffix for the hunk or the input
1947 // Returns true iff str ends with the given suffix, ignoring case.
1948 // Any string is considered to end with an empty suffix.
1950 const std::string& str, const std::string& suffix) {
1952 const size_t suffix_len = suffix.length();
1955 suffix.c_str());
1949 EndsWithCaseInsensitive( const std::string& str, const std::string& suffix) argument

Completed in 80 milliseconds