Searched refs:delim (Results 1 - 2 of 2) sorted by relevance

/gem5/util/style/
H A Dsort_includes.py94 def _include_matcher(keyword="#include", delim="<>"):
98 rex = re.compile(r'^(%s)\s*%s(.*)%s(.*)$' % (keyword, delim[0], delim[1]))
128 base_matcher = _include_matcher(delim='""')
162 delim='""')), variable in class:SortIncludes
167 ('m5header', '""', _include_matcher_fname("^.*\.h{1,2}$", delim='""')),
170 ('swig2', '""', _include_matcher(keyword="%import", delim='""')),
171 ('swig3', '""', _include_matcher(keyword="%include", delim='""')),
/gem5/src/python/m5/util/
H A Dcode_formatter.py86 %(delim)s(?P<escaped>%(delim)s) | # escaped delimiter
87 ^(?P<indent>[ ]*)%(delim)s(?P<lone>%(ident)s)$ | # lone identifier
88 %(delim)s(?P<ident>%(ident)s) | # identifier
89 %(delim)s%(lb)s(?P<b_ident>%(ident)s)%(rb)s | # braced identifier
90 %(delim)s(?P<pos>%(pos)s) | # positional parameter
91 %(delim)s%(lb)s(?P<b_pos>%(pos)s)%(rb)s | # braced positional
92 %(delim)s%(ldb)s(?P<eval>.*?)%(rdb)s | # double braced expression
93 %(delim)s(?P<invalid>) # ill-formed delimiter exprs
105 'delim'
118 delim = r'$' variable in class:code_formatter
[all...]

Completed in 5 milliseconds