Lines Matching refs:Prefix
80 template <bool Prefix> struct Less {
82 StringRef V = Prefix ? Value.first.substr(0, Key.size()) : Value.first; in operator ()()
86 StringRef V = Prefix ? Value.first.substr(0, Key.size()) : Value.first; in operator ()()
385 llvm::StringRef Prefix; in scoreCandidates() local
391 Prefix = Filename.substr(0, Dir - DirEnd); in scoreCandidates()
409 if (sys::path::root_directory(Prefix) != Prefix) in scoreCandidates()
410 Award(1, indexLookup</*Prefix=*/true>(Prefix, Paths)); in scoreCandidates()
462 template <bool Prefix>
467 Less<Prefix>()); in indexLookup()
483 size_t Prefix = matchingPrefix(Key, It->first); in longestMatch() local
485 return Prefix > PrevPrefix ? *It : *--It; in longestMatch()