Lines Matching refs:PrefixLoc
763 size_t PrefixLoc = Buffer.find(Prefix); in FindFirstCandidateMatch() local
765 if (PrefixLoc == StringRef::npos) in FindFirstCandidateMatch()
773 if (PrefixLoc < SearchLoc) in FindFirstCandidateMatch()
774 SearchLoc = SkipWord(Buffer, PrefixLoc); in FindFirstCandidateMatch()
777 if (PrefixLoc > FirstLoc) in FindFirstCandidateMatch()
781 if (PrefixLoc == FirstLoc && Prefix.size() < FirstPrefix.size()) in FindFirstCandidateMatch()
784 StringRef Rest = Buffer.drop_front(PrefixLoc); in FindFirstCandidateMatch()
788 if (PrefixLoc != 0 && IsPartOfWord(Buffer[PrefixLoc - 1])) in FindFirstCandidateMatch()
793 FirstLoc = PrefixLoc; in FindFirstCandidateMatch()
883 size_t PrefixLoc; in ReadCheckFile() local
889 PrefixLoc); in ReadCheckFile()
893 Buffer = Buffer.drop_front(PrefixLoc); in ReadCheckFile()
896 const char *UsedPrefixStart = Buffer.data() + (PrefixLoc == 0 ? 0 : 1); in ReadCheckFile()