Lines Matching refs:Pattern
49 // Pattern Handling Code.
52 class Pattern {
80 Pattern(bool matchEOF = false) : MatchEOF(matchEOF) { }
110 bool Pattern::ParsePattern(StringRef PatternStr, SourceMgr &SM) {
240 void Pattern::AddFixedStringToRegEx(StringRef FixedStr, std::string &TheStr) {
267 bool Pattern::AddRegExToRegEx(StringRef RegexStr, unsigned &CurParen,
285 size_t Pattern::Match(StringRef Buffer, size_t &MatchLen,
350 unsigned Pattern::ComputeMatchDistance(StringRef Buffer,
368 void Pattern::PrintFailureInfo(const SourceMgr &SM, StringRef Buffer,
442 Pattern Pat;
454 std::vector<std::pair<SMLoc, Pattern> > NotStrings;
456 CheckString(const Pattern &P, SMLoc L, bool isCheckNext)
519 std::vector<std::pair<SMLoc, Pattern> > NotMatches;
562 Pattern P;
595 CheckStrings.push_back(CheckString(Pattern(true),