Lines Matching refs:PrefixLoc
767 size_t PrefixLoc = Buffer.find(Prefix); in FindFirstCandidateMatch() local
769 if (PrefixLoc == StringRef::npos) in FindFirstCandidateMatch()
777 if (PrefixLoc < SearchLoc) in FindFirstCandidateMatch()
778 SearchLoc = SkipWord(Buffer, PrefixLoc); in FindFirstCandidateMatch()
781 if (PrefixLoc > FirstLoc) in FindFirstCandidateMatch()
785 if (PrefixLoc == FirstLoc && Prefix.size() < FirstPrefix.size()) in FindFirstCandidateMatch()
788 StringRef Rest = Buffer.drop_front(PrefixLoc); in FindFirstCandidateMatch()
792 if (PrefixLoc != 0 && IsPartOfWord(Buffer[PrefixLoc - 1])) in FindFirstCandidateMatch()
797 FirstLoc = PrefixLoc; in FindFirstCandidateMatch()
887 size_t PrefixLoc; in ReadCheckFile() local
893 PrefixLoc); in ReadCheckFile()
897 Buffer = Buffer.drop_front(PrefixLoc); in ReadCheckFile()
900 const char *UsedPrefixStart = Buffer.data() + (PrefixLoc == 0 ? 0 : 1); in ReadCheckFile()