Searched refs:LastPos (Results 1 – 3 of 3) sorted by relevance
2239 size_t LastPos = 0; in Check() local2248 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()
2235 size_t Pos = 0, LastPos = 0; in replaceCRLF() local2238 Pos = Code.find("\r\n", LastPos); in replaceCRLF()2239 if (Pos == LastPos) { in replaceCRLF()2240 LastPos++; in replaceCRLF()2244 NewCode += Code.substr(LastPos); in replaceCRLF()2247 NewCode += Code.substr(LastPos, Pos - LastPos) + "\n"; in replaceCRLF()2248 LastPos = Pos + 2; in replaceCRLF()
236 uint32_t Pos = 0, LastPos = 0; in stripDirPrefix() local240 LastPos = Pos; in stripDirPrefix()246 return PathNameStr.substr(LastPos); in stripDirPrefix()