Searched refs:keyword (Results 1 - 5 of 5) sorted by relevance

/gem5/util/style/
H A Dsort_includes.py77 keyword = match.group(2)
94 def _include_matcher(keyword="#include", delim="<>"):
95 """Match an include statement and return a (keyword, file, extra)
98 rex = re.compile(r'^(%s)\s*%s(.*)%s(.*)$' % (keyword, delim[0], delim[1]))
107 """Match an include of a specific file name. Any keyword arguments
115 (keyword, fname, extra) = base_matcher(context, line)
117 return (keyword, fname, extra)
140 (keyword, fname, extra) = base_matcher(context, line)
143 return (keyword, fname, extra)
168 ('swig0', '<>', _include_matcher(keyword
[all...]
/gem5/src/cpu/testers/traffic_gen/
H A Dtraffic_gen.cc152 // keyword
153 string keyword; local
162 // determine the keyword
163 is >> keyword; local
165 if (keyword == "STATE") {
287 } else if (keyword == "TRANSITION") {
296 } else if (keyword == "INIT") {
/gem5/src/python/m5/
H A DSimObject.py93 # object, either using keyword assignment in the constructor or in
511 # default keyword values
547 def _set_keyword(cls, keyword, val, kwtype):
549 raise TypeError('keyword %s has bad type %s (expecting %s)' % \
550 (keyword, type(val), kwtype))
553 type.__setattr__(cls, keyword, val)
1222 # apply attribute assignments from keyword args, if any
/gem5/ext/googletest/googlemock/scripts/
H A Dupload.py303 kwargs: Any keyword arguments are converted into query string parameters.
831 keywords = [keyword
833 for keyword in svn_keywords.get(name, [])]
/gem5/ext/googletest/googletest/scripts/
H A Dupload.py303 kwargs: Any keyword arguments are converted into query string parameters.
831 keywords = [keyword
833 for keyword in svn_keywords.get(name, [])]

Completed in 21 milliseconds