Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp2239 size_t LastPos = 0; in Check() local
2248 LastPos = CheckDag(SM, Buffer, NotStrings, Req, Diags); in Check()
2249 if (LastPos == StringRef::npos) in Check()
2254 size_t LastMatchEnd = LastPos; in Check()
2274 FirstMatchPos = LastPos + MatchPos; in Check()
2285 size_t MatchPos = FirstMatchPos - LastPos; in Check()
2286 StringRef MatchBuffer = Buffer.substr(LastPos); in Check()
2287 StringRef SkippedRegion = Buffer.substr(LastPos, MatchPos); in Check()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp237 uint32_t Pos = 0, LastPos = 0; in stripDirPrefix() local
241 LastPos = Pos; in stripDirPrefix()
247 return PathNameStr.substr(LastPos); in stripDirPrefix()
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp2284 size_t Pos = 0, LastPos = 0; in replaceCRLF() local
2287 Pos = Code.find("\r\n", LastPos); in replaceCRLF()
2288 if (Pos == LastPos) { in replaceCRLF()
2289 LastPos++; in replaceCRLF()
2293 NewCode += Code.substr(LastPos); in replaceCRLF()
2296 NewCode += Code.substr(LastPos, Pos - LastPos) + "\n"; in replaceCRLF()
2297 LastPos = Pos + 2; in replaceCRLF()