Lines Matching refs:Dir
343 auto Dir = ++sys::path::rbegin(Path), DirEnd = sys::path::rend(Path); in FileIndex() local
344 for (int J = 0; J < DirectorySegmentsIndexed && Dir != DirEnd; ++J, ++Dir) in FileIndex()
345 if (Dir->size() > ShortDirectorySegment) // not trivial ones in FileIndex()
346 Components.emplace_back(*Dir, I); in FileIndex()
395 auto Dir = ++sys::path::rbegin(Filename), in scoreCandidates() local
397 for (int I = 0; I < DirectorySegmentsQueried && Dir != DirEnd; ++I, ++Dir) { in scoreCandidates()
398 if (Dir->size() > ShortDirectorySegment) in scoreCandidates()
399 Dirs.push_back(*Dir); in scoreCandidates()
400 Prefix = Filename.substr(0, Dir - DirEnd); in scoreCandidates()
415 for (StringRef Dir : Dirs) in scoreCandidates() local
416 Award(1, indexLookup</*Prefix=*/false>(Dir, Components)); in scoreCandidates()