Lines Matching refs:Dir
331 auto Dir = ++sys::path::rbegin(Path), DirEnd = sys::path::rend(Path); in FileIndex() local
332 for (int J = 0; J < DirectorySegmentsIndexed && Dir != DirEnd; ++J, ++Dir) in FileIndex()
333 if (Dir->size() > ShortDirectorySegment) // not trivial ones in FileIndex()
334 Components.emplace_back(*Dir, I); in FileIndex()
383 auto Dir = ++sys::path::rbegin(Filename), in scoreCandidates() local
385 for (int I = 0; I < DirectorySegmentsQueried && Dir != DirEnd; ++I, ++Dir) { in scoreCandidates()
386 if (Dir->size() > ShortDirectorySegment) in scoreCandidates()
387 Dirs.push_back(*Dir); in scoreCandidates()
388 Prefix = Filename.substr(0, Dir - DirEnd); in scoreCandidates()
403 for (StringRef Dir : Dirs) in scoreCandidates() local
404 Award(1, indexLookup</*Prefix=*/false>(Dir, Components)); in scoreCandidates()