Home
last modified time | relevance | path

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

/external/oprofile/libregex/
Dop_regex.cpp103 void regular_expression_replace::add_pattern(string const & pattern, in add_pattern() function in regular_expression_replace
265 var_name_rule.add_pattern("^\\$([_a-zA-Z][_a-zA-Z0-9]*)[ ]*=.*", "\\1"); in setup_regex()
267 var_value_rule.add_pattern(".*=[ ]*\"(.*)\"", "\\1"); in setup_regex()
270 left_rule.add_pattern("[ ]*\"(.*)\"[ ]*=.*", "\\1"); in setup_regex()
272 right_rule.add_pattern(".*=[ ]*\"(.*)\"", "\\1"); in setup_regex()
295 regex.add_pattern(left, right); in setup_regex()
Dop_regex.h68 void add_pattern(std::string const & pattern,