Home
last modified time | relevance | path

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

/aosp12/frameworks/base/startop/scripts/app_startup/
H A Dquery_compiler_filter.py93 def find_parse_subtree(parse_tree: ParseTree, match_regex: str) -> ParseTree:
94 if re.match(match_regex, parse_tree.label):
98 res = find_parse_subtree(node, match_regex)
104 def find_parse_children(parse_tree: ParseTree, match_regex: str) -> Iterable[ParseTree]:
106 if re.match(match_regex, node.label):
/aosp12/system/sepolicy/tools/
H A Dcheck_seapp.c336 static bool match_regex(key_map *assert, const key_map *check) { in match_regex() function
728 if (match_regex(nrule, rule)) { in rule_map_validate()