Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/
Dcartesian_config.py62 def _match_adjacent(block, ctx, ctx_set): argument
64 if block[0] not in ctx_set:
68 if block[1] not in ctx_set:
80 if block[k] not in ctx_set:
86 def _might_match_adjacent(block, ctx, ctx_set, descendant_labels): argument
87 matched = _match_adjacent(block, ctx, ctx_set)
110 def match(self, ctx, ctx_set): argument
113 if _match_adjacent(block, ctx, ctx_set) != len(block):
120 def might_match(self, ctx, ctx_set, descendant_labels): argument
123 if not _might_match_adjacent(block, ctx, ctx_set,
[all …]