Searched refs:sorted_patterns (Results 1 – 2 of 2) sorted by relevance
93 SubstringPatternVector sorted_patterns; in RegisterAndUnregisterPatterns() local94 sorted_patterns.resize(patterns_.size()); in RegisterAndUnregisterPatterns()100 sorted_patterns[next] = i->second; in RegisterAndUnregisterPatterns()103 std::sort(sorted_patterns.begin(), sorted_patterns.end(), ComparePatterns); in RegisterAndUnregisterPatterns()104 tree_.reserve(TreeSize(sorted_patterns)); in RegisterAndUnregisterPatterns()106 RebuildAhoCorasickTree(sorted_patterns); in RegisterAndUnregisterPatterns()142 const SubstringPatternVector& sorted_patterns) { in RebuildAhoCorasickTree() argument151 for (SubstringPatternVector::const_iterator i = sorted_patterns.begin(); in RebuildAhoCorasickTree()152 i != sorted_patterns.end(); in RebuildAhoCorasickTree()
121 void RebuildAhoCorasickTree(const SubstringPatternVector& sorted_patterns);