Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/utils/FileCheck/
DFileCheck.cpp82 bool ParsePattern(StringRef PatternStr, SourceMgr &SM);
110 bool Pattern::ParsePattern(StringRef PatternStr, SourceMgr &SM) { in ParsePattern() argument
111 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern()
114 while (!PatternStr.empty() && in ParsePattern()
115 (PatternStr.back() == ' ' || PatternStr.back() == '\t')) in ParsePattern()
116 PatternStr = PatternStr.substr(0, PatternStr.size()-1); in ParsePattern()
119 if (PatternStr.empty()) { in ParsePattern()
126 if (PatternStr.size() < 2 || in ParsePattern()
127 (PatternStr.find("{{") == StringRef::npos && in ParsePattern()
128 PatternStr.find("[[") == StringRef::npos)) { in ParsePattern()
[all …]
/external/llvm/utils/FileCheck/
DFileCheck.cpp139 bool ParsePattern(StringRef PatternStr,
186 bool Pattern::ParsePattern(StringRef PatternStr, in ParsePattern() argument
193 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern()
196 while (!PatternStr.empty() && in ParsePattern()
197 (PatternStr.back() == ' ' || PatternStr.back() == '\t')) in ParsePattern()
198 PatternStr = PatternStr.substr(0, PatternStr.size()-1); in ParsePattern()
201 if (PatternStr.empty()) { in ParsePattern()
210 (PatternStr.size() < 2 || (PatternStr.find("{{") == StringRef::npos && in ParsePattern()
211 PatternStr.find("[[") == StringRef::npos))) { in ParsePattern()
212 FixedStr = PatternStr; in ParsePattern()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/FileCheck/
DFileCheck.cpp168 bool ParsePattern(StringRef PatternStr, StringRef Prefix, SourceMgr &SM,
200 bool Pattern::ParsePattern(StringRef PatternStr, StringRef Prefix, in ParsePattern() argument
205 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern()
209 while (!PatternStr.empty() && in ParsePattern()
210 (PatternStr.back() == ' ' || PatternStr.back() == '\t')) in ParsePattern()
211 PatternStr = PatternStr.substr(0, PatternStr.size() - 1); in ParsePattern()
214 if (PatternStr.empty() && CheckTy != Check::CheckEmpty) { in ParsePattern()
220 if (!PatternStr.empty() && CheckTy == Check::CheckEmpty) { in ParsePattern()
235 (PatternStr.size() < 2 || (PatternStr.find("{{") == StringRef::npos && in ParsePattern()
236 PatternStr.find("[[") == StringRef::npos))) { in ParsePattern()
[all …]