Home | History | Annotate | Download | only in tools

Lines Matching refs:re

49 import re
137 # for which we're going to emit descriptive constants.
182 # Construct a dictionary for the classes we're sure should be present.
203 line = re.sub('//.*', '', line.rstrip().lstrip());
209 match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{',
222 types[re.sub('\s*=.*', '', entry).lstrip()] = True;
235 usetype = re.sub('SYMBOL_', 'STRING_', type);
240 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype);
286 # representation and encoding and add them if they're not
295 cctype = re.sub('AsciiString$',
298 cctype = re.sub('String$',
302 cctype = re.sub('String$', 'TwoByteString',
306 cctype = re.sub('Ascii', '', cctype);
307 cctype = re.sub('TwoByte', '', cctype);
337 args = re.split('\s*,\s*', rest);