Home
last modified time | relevance | path

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

/external/v8/tools/
Djs2c.py97 def ExpandMacroDefinition(lines, pos, name_pattern, macro, expander): argument
98 pattern_match = name_pattern.search(lines, pos)
112 raise Error('line %s: Too many arguments for macro "%s"' % (lineno, name_pattern.pattern))
131 pattern_match = name_pattern.search(lines, start + len(result))
137 for name_pattern, macro in reversed(macros):
140 lines = ExpandMacroDefinition(lines, 0, name_pattern, macro, expander)
234 name_pattern = re.compile("\\b%s\\(" % name)
242 lines = ExpandMacroDefinition(lines, pos, name_pattern, macro, non_expander)
256 name_pattern = re.compile("\\b%s\\b" % name)
260 re.sub(name_pattern, replacement, lines[const_match.end():]))
/external/autotest/client/bin/
Dbase_utils.py1008 def process_is_alive(name_pattern): argument
1015 return utils.system("pgrep -f '^([^ /]*/)*(%s)([ ]|$)'" % name_pattern,