Home
last modified time | relevance | path

Searched refs:name_pattern (Results 1 – 1 of 1) sorted by relevance

/external/v8/tools/
Djs2c.py91 def ExpandMacroDefinition(lines, pos, name_pattern, macro, expander): argument
92 pattern_match = name_pattern.search(lines, pos)
122 pattern_match = name_pattern.search(lines, start + len(result))
128 for name_pattern, macro in reversed(macros):
131 lines = ExpandMacroDefinition(lines, 0, name_pattern, macro, expander)
210 name_pattern = re.compile("\\b%s\\(" % name)
218 lines = ExpandMacroDefinition(lines, pos, name_pattern, macro, non_expander)
232 name_pattern = re.compile("\\b%s\\b" % name)
236 re.sub(name_pattern, replacement, lines[const_match.end():]))