Searched refs:match (Results 1 - 25 of 75) sorted by relevance

123

/gem5/configs/common/cores/arm/
H A DHPI.py98 mask, match = make_implicant(opcode_string)
99 return (a64_mask | mask), (a64_match | match)
196 mask, match = any_non_a64_inst
201 mask, match = any_a64_inst
207 mask, match = any_non_a64_inst
213 mask, match = any_a64_inst
220 mask, match = any_non_a64_inst
226 mask, match = any_a64_inst
232 mask, match = a64_opcode('0001_1111_0x0x_xxxx__0xxx_xxxx_xxxx_xxxx')
239 mask, match
[all...]
/gem5/util/cpt_upgraders/
H A Ddvfs-perflevel.py6 if re.match('^.*sys.*[._]clk_domain$', sec):
9 elif re.match('^.*sys.*[._]voltage_domain$', sec):
H A Dsmt-interrupts.py8 re_cpu_match = re.match('^(.*sys.*\.cpu[^._]*)$', sec)
H A Darm-ccregs.py8 re_cpu_match = re.match('^(.*sys.*\.cpu[^.]*)\.xc\.(.+)$', sec)
H A Disa-is-simobject.py28 re_cpu_match = re.match('^(.*sys.*\.cpu[^.]*)\.xc\.(.+)$', sec)
H A Dprocess-fdmap-rename.py16 if re.match('.*\.%s.*' % fdm, sec):
/gem5/util/plot_dram/
H A Ddram_sweep_plot.py89 match = re.match("DRAM sweep with "
91 if match:
92 burst_size = int(match.groups(0)[0])
93 banks = int(match.groups(0)[1])
94 max_size = int(match.groups(0)[2])
109 match = re.match(".*busUtil\s+(\d+\.\d+)\s+#.*", line)
110 if match:
111 bus_util.append(float(match
[all...]
H A Ddram_lat_mem_rd_plot.py82 match = re.match("lat_mem_rd with (\d+) iterations, ranges:.*", line)
83 if match:
85 iterations = int(match.groups(0)[0])
97 match = re.match(".*readLatencyHist::mean\s+(.+)\s+#.*", line)
98 if match:
99 raw_rd_lat.append(float(match.groups(0)[0]) / 1000)
121 print "Address ranges (%d) and read latency (%d) do not match" % \
/gem5/util/stats/
H A Dcategories.py1936 if regexp.match(symbol):
/gem5/util/
H A Dfind_copyrights.py56 match = c_comment_end.search(line)
57 if match:
104 match = date_range_re.match(date)
105 if match:
106 f,l = [ int(d) for d in match.groups() ]
131 match = copyright_re.search(joined)
132 if not match:
135 c,dates,owner = match.groups()
151 match
[all...]
H A Dcheckpoint-tester.py107 match = expr.match(dir) variable
108 if match:
109 cpts.append(int(match.group(1)))
/gem5/ext/googletest/googletest/test/
H A Dgtest_xml_output_unittest.py186 match = re.match(r'(\d+)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)', date_time_str)
188 re.match,
191 year=int(match.group(1)), month=int(match.group(2)),
192 day=int(match.group(3)), hour=int(match.group(4)),
193 minute=int(match.group(5)), second=int(match.group(6)))
247 "'%s' exited with code %s, which doesn't match "
[all...]
H A Dgtest_list_tests_unittest.py162 expected_output_re.match(output),
164 'which does not match regex "%s"' %
169 not EXPECTED_OUTPUT_NO_FILTER_RE.match(output),
/gem5/src/base/
H A Dmatch.cc31 #include "base/match.hh"
87 bool match = true; local
94 match = false;
99 if (match)
H A Dmatch.hh53 bool match(const std::string &name) const function in class:ObjectMatch
/gem5/src/arch/arm/
H A Dpagetable.hh193 match(Addr va, uint8_t _vmid, bool hypLookUp, bool secure_lookup, function in struct:ArmISA::TlbEntry
196 return match(va, 0, _vmid, hypLookUp, secure_lookup, true, target_el);
200 match(Addr va, uint16_t asn, uint8_t _vmid, bool hypLookUp, function in struct:ArmISA::TlbEntry
203 bool match = false; local
209 match = checkELMatch(target_el);
211 if (match && !ignore_asn) {
212 match = global || (asn == asid);
214 if (match && nstid) {
215 match = isHyp || (_vmid == vmid);
218 return match;
[all...]
/gem5/ext/ply/doc/
H A Dmakedoc.py30 amatch = alink.match(m.group(1))
34 autogeneratedheading = heading.match(headingname)
97 m = h2.match(s)
120 m = h3.match(s)
139 m = h4.match(s)
156 m = h5.match(s)
/gem5/src/sim/
H A Dsim_object.cc36 #include "base/match.hh"
159 ObjectMatch match(objs);
162 obj->doDebugBreak = match.match(obj->name());
H A Demul_driver.hh67 * Check for a match with this driver's filename.
69 bool match(const std::string &s) const { return (s == filename); } function in class:EmulatedDriver
/gem5/src/python/m5/util/
H A Dcode_formatter.py220 def convert(match):
221 ident = match.group('lone')
224 indent = match.group('indent') # must be spaces
234 ident = match.group('ident') or match.group('b_ident')
239 pos = match.group('pos') or match.group('b_pos')
249 eval_expr = match.group('eval')
255 if match.group('escaped') is not None:
258 # At this point, we have to match invali
[all...]
/gem5/util/style/
H A Dsort_includes.py75 match = include_re.match(line)
76 assert match, line
77 keyword = match.group(2)
78 include = match.group(3)
96 duple, or a touple of None values if there isn't a match."""
101 m = rex.match(line)
108 are forwarded to _include_matcher, which is used to match the
116 if fname and rex.match(fname):
136 m = rex.match(contex
[all...]
H A Dverifiers.py309 match = Whitespace._lead.search(line)
310 if match and match.group(1).find('\t') != -1:
313 match = Whitespace._trail.search(line)
314 if match:
407 match = ControlSpace._any_control.search(line)
408 return not (match and match.group(2) != " ")
454 match = self.regex.search(line)
455 if match
[all...]
/gem5/ext/googletest/googlemock/scripts/
H A Dfuse_gmock_files.py136 m = INCLUDE_GMOCK_FILE_REGEX.match(line)
141 m = gtest.INCLUDE_GTEST_FILE_REGEX.match(line)
175 m = INCLUDE_GMOCK_FILE_REGEX.match(line)
186 m = gtest.INCLUDE_GTEST_FILE_REGEX.match(line)
193 m = gtest.INCLUDE_SRC_FILE_REGEX.match(line)
/gem5/src/cpu/minor/
H A Dfunc_unit.cc94 match(params->match),
153 " mask: %016x match: %016x srcRegLatencies: %s\n",
154 i, timing.mask, timing.match, lats.str());
221 (mach_inst & timing.mask) == timing.match)
224 "Found extra timing match (pattern %d '%s')"
/gem5/ext/googletest/googletest/scripts/
H A Dcommon.py59 m = _SVN_INFO_URL_RE.match(line)

Completed in 38 milliseconds

123