Home | History | Annotate | Download | only in tools

Lines Matching refs:re

49 import re
187 # for which we're going to emit descriptive constants.
232 # Construct a dictionary for the classes we're sure should be present.
253 line = re.sub('//.*', '', line.rstrip().lstrip());
259 match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{',
272 types[re.sub('\s*=.*', '', entry).lstrip()] = True;
285 usetype = re.sub('SYMBOL_', 'STRING_', type);
290 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype);
336 # representation and encoding and add them if they're not
345 cctype = re.sub('OneByteString$',
348 cctype = re.sub('String$',
352 cctype = re.sub('String$', 'TwoByteString',
356 cctype = re.sub('OneByte', '', cctype);
357 cctype = re.sub('TwoByte', '', cctype);
387 args = re.split('\s*,\s*', rest);
478 ws = re.compile('\s+')