Lines Matching refs:PrefixLoc
793 size_t PrefixLoc = Buffer.find(Prefix); in FindFirstCandidateMatch() local
795 if (PrefixLoc == StringRef::npos) in FindFirstCandidateMatch()
803 if (PrefixLoc < SearchLoc) in FindFirstCandidateMatch()
804 SearchLoc = SkipWord(Buffer, PrefixLoc); in FindFirstCandidateMatch()
807 if (PrefixLoc > FirstLoc) in FindFirstCandidateMatch()
811 if (PrefixLoc == FirstLoc && Prefix.size() < FirstPrefix.size()) in FindFirstCandidateMatch()
814 StringRef Rest = Buffer.drop_front(PrefixLoc); in FindFirstCandidateMatch()
818 if (PrefixLoc != 0 && IsPartOfWord(Buffer[PrefixLoc - 1])) in FindFirstCandidateMatch()
823 FirstLoc = PrefixLoc; in FindFirstCandidateMatch()
913 size_t PrefixLoc; in ReadCheckFile() local
919 PrefixLoc); in ReadCheckFile()
923 Buffer = Buffer.drop_front(PrefixLoc); in ReadCheckFile()
926 const char *UsedPrefixStart = Buffer.data() + (PrefixLoc == 0 ? 0 : 1); in ReadCheckFile()