Lines Matching refs:SearchDirs
263 for (unsigned Idx = 0, N = SearchDirs.size(); Idx != N; ++Idx) { in lookupModule()
264 if (SearchDirs[Idx].isFramework()) { in lookupModule()
269 FrameworkDirName += SearchDirs[Idx].getFrameworkDir()->getName(); in lookupModule()
273 = SearchDirs[Idx].getDirCharacteristic() != SrcMgr::C_User; in lookupModule()
283 if (!SearchDirs[Idx].isNormalDir()) in lookupModule()
286 bool IsSystem = SearchDirs[Idx].isSystemHeaderDirectory(); in lookupModule()
288 if (loadModuleMapFile(SearchDirs[Idx].getDir(), IsSystem, in lookupModule()
300 NestedModuleMapDirName = SearchDirs[Idx].getDir()->getName(); in lookupModule()
312 if (SearchDirs[Idx].haveSearchedAllModuleMaps()) in lookupModule()
318 loadSubdirectoryModuleMaps(SearchDirs[Idx]); in lookupModule()
888 i = FromDir-&SearchDirs[0]; in LookupFile()
917 for (; i != SearchDirs.size(); ++i) { in LookupFile()
921 Optional<FileEntryRef> File = SearchDirs[i].LookupFile( in LookupFile()
943 CurDir = &SearchDirs[i]; in LookupFile()
1035 CacheLookup.HitIdx = SearchDirs.size(); in LookupFile()
1353 return SearchDirs.capacity() in getTotalMemory()
1686 for (unsigned Idx = 0, N = SearchDirs.size(); Idx != N; ++Idx) { in collectAllModules()
1687 bool IsSystem = SearchDirs[Idx].isSystemHeaderDirectory(); in collectAllModules()
1688 if (SearchDirs[Idx].isFramework()) { in collectAllModules()
1691 llvm::sys::path::native(SearchDirs[Idx].getFrameworkDir()->getName(), in collectAllModules()
1715 if (SearchDirs[Idx].isHeaderMap()) in collectAllModules()
1719 loadModuleMapFile(SearchDirs[Idx].getDir(), IsSystem, in collectAllModules()
1724 loadSubdirectoryModuleMaps(SearchDirs[Idx]); in collectAllModules()
1741 for (unsigned Idx = 0, N = SearchDirs.size(); Idx != N; ++Idx) { in loadTopLevelSystemModules()
1743 if (!SearchDirs[Idx].isNormalDir()) { in loadTopLevelSystemModules()
1748 loadModuleMapFile(SearchDirs[Idx].getDir(), in loadTopLevelSystemModules()
1749 SearchDirs[Idx].isSystemHeaderDirectory(), in loadTopLevelSystemModules()
1750 SearchDirs[Idx].isFramework()); in loadTopLevelSystemModules()
1836 for (unsigned I = 0; I != SearchDirs.size(); ++I) { in suggestPathToFileForDiagnostics()
1838 if (!SearchDirs[I].isNormalDir()) in suggestPathToFileForDiagnostics()
1841 StringRef Dir = SearchDirs[I].getDir()->getName(); in suggestPathToFileForDiagnostics()