Home
last modified time | relevance | path

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

/tools/loganalysis/src/com/android/loganalysis/util/
DRegexTrie.java59 private Map<CompPattern, RegexTrie<V>> mChildren =
60 new LinkedHashMap<CompPattern, RegexTrie<V>>();
67 static class CompPattern { class in RegexTrie
70 CompPattern(Pattern pattern) { in CompPattern() method in RegexTrie.CompPattern
82 } else if (other instanceof CompPattern) { in equals()
83 CompPattern otherCPat = (CompPattern) other; in equals()
118 V recursivePut(V value, List<CompPattern> patterns) { in recursivePut()
127 CompPattern curKey = patterns.get(0); in recursivePut()
128 List<CompPattern> nextKeys = patterns.subList(1, patterns.size()); in recursivePut()
147 private V validateAndPut(V value, List<CompPattern> pList) { in validateAndPut()
[all …]
/tools/loganalysis/javatests/com/android/loganalysis/util/
DRegexTrieTest.java24 import com.android.loganalysis.util.RegexTrie.CompPattern;
243 CompPattern cp1 = new CompPattern(p1); in testCompPattern_equality()
244 CompPattern cp2 = new CompPattern(p2); in testCompPattern_equality()
245 CompPattern cpOther = new CompPattern(pOther); in testCompPattern_equality()
263 HashMap<CompPattern, Integer> map = new HashMap<CompPattern, Integer>(); in testCompPattern_hashmap()
268 CompPattern cp1 = new CompPattern(p1); in testCompPattern_hashmap()
269 CompPattern cp2 = new CompPattern(p2); in testCompPattern_hashmap()
270 CompPattern cpOther = new CompPattern(pOther); in testCompPattern_hashmap()