Home | History | Annotate | Download | only in FileCheck

Lines Matching refs:PrefixLoc

748     size_t PrefixLoc = Buffer.find(Prefix);
750 if (PrefixLoc == StringRef::npos)
758 if (PrefixLoc < SearchLoc)
759 SearchLoc = SkipWord(Buffer, PrefixLoc);
762 if (PrefixLoc > FirstLoc)
766 if (PrefixLoc == FirstLoc && Prefix.size() < FirstPrefix.size())
769 StringRef Rest = Buffer.drop_front(PrefixLoc);
773 if (PrefixLoc != 0 && IsPartOfWord(Buffer[PrefixLoc - 1]))
778 FirstLoc = PrefixLoc;
848 size_t PrefixLoc;
854 PrefixLoc);
858 Buffer = Buffer.drop_front(PrefixLoc);
861 const char *UsedPrefixStart = Buffer.data() + (PrefixLoc == 0 ? 0 : 1);
863 // PrefixLoc is to the start of the prefix. Skip to the end.