Home | History | Annotate | Download | only in FileCheck

Lines Matching refs:PrefixLoc

767     size_t PrefixLoc = Buffer.find(Prefix);
769 if (PrefixLoc == StringRef::npos)
777 if (PrefixLoc < SearchLoc)
778 SearchLoc = SkipWord(Buffer, PrefixLoc);
781 if (PrefixLoc > FirstLoc)
785 if (PrefixLoc == FirstLoc && Prefix.size() < FirstPrefix.size())
788 StringRef Rest = Buffer.drop_front(PrefixLoc);
792 if (PrefixLoc != 0 && IsPartOfWord(Buffer[PrefixLoc - 1]))
797 FirstLoc = PrefixLoc;
887 size_t PrefixLoc;
893 PrefixLoc);
897 Buffer = Buffer.drop_front(PrefixLoc);
900 const char *UsedPrefixStart = Buffer.data() + (PrefixLoc == 0 ? 0 : 1);
902 // PrefixLoc is to the start of the prefix. Skip to the end.