Home
last modified time | relevance | path

Searched refs:Paths (Results 1 – 25 of 108) sorted by relevance

12345

/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DHurd.cpp79 path_list &Paths = getFilePaths(); in Hurd() local
88 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Hurd()
96 addPathIfExists(D, D.Dir + "/../lib/" + MultiarchTriple, Paths); in Hurd()
97 addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths); in Hurd()
100 addPathIfExists(D, SysRoot + "/lib/" + MultiarchTriple, Paths); in Hurd()
101 addPathIfExists(D, SysRoot + "/lib/../" + OSLibDir, Paths); in Hurd()
103 addPathIfExists(D, SysRoot + "/usr/lib/" + MultiarchTriple, Paths); in Hurd()
104 addPathIfExists(D, SysRoot + "/usr/lib/../" + OSLibDir, Paths); in Hurd()
106 Generic_GCC::AddMultiarchPaths(D, SysRoot, OSLibDir, Paths); in Hurd()
114 addPathIfExists(D, D.Dir + "/../lib", Paths); in Hurd()
[all …]
H A DLinux.cpp259 path_list &Paths = getFilePaths(); in Linux() local
267 Generic_GCC::AddMultilibPaths(D, SysRoot, "libo32", MultiarchTriple, Paths); in Linux()
268 addPathIfExists(D, concat(SysRoot, "/libo32"), Paths); in Linux()
269 addPathIfExists(D, concat(SysRoot, "/usr/libo32"), Paths); in Linux()
271 Generic_GCC::AddMultilibPaths(D, SysRoot, OSLibDir, MultiarchTriple, Paths); in Linux()
273 addPathIfExists(D, concat(SysRoot, "/lib", MultiarchTriple), Paths); in Linux()
274 addPathIfExists(D, concat(SysRoot, "/lib/..", OSLibDir), Paths); in Linux()
284 Paths); in Linux()
287 addPathIfExists(D, concat(SysRoot, "/usr/lib", MultiarchTriple), Paths); in Linux()
293 addPathIfExists(D, concat(SysRoot, "/usr", OSLibDir), Paths); in Linux()
[all …]
H A DSolaris.cpp207 path_list &Paths = getFilePaths(); in Solaris() local
214 Paths); in Solaris()
215 addPathIfExists(D, GCCInstallation.getParentLibPath() + LibSuffix, Paths); in Solaris()
221 addPathIfExists(D, D.Dir + "/../lib", Paths); in Solaris()
223 addPathIfExists(D, D.SysRoot + "/usr/lib" + LibSuffix, Paths); in Solaris()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DCXXInheritance.cpp47 Paths.clear(); in clear()
58 Paths.swap(Other.Paths); in swap()
68 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isDerivedFrom() local
70 return isDerivedFrom(Base, Paths); in isDerivedFrom()
74 CXXBasePaths &Paths) const { in isDerivedFrom()
78 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isDerivedFrom()
85 Paths); in isDerivedFrom()
92 CXXBasePaths Paths(/*FindAmbiguities=*/false, /*RecordPaths=*/false, in isVirtuallyDerivedFrom() local
98 Paths.setOrigin(const_cast<CXXRecordDecl*>(this)); in isVirtuallyDerivedFrom()
105 Paths); in isVirtuallyDerivedFrom()
[all …]
/openbsd-src/gnu/llvm/clang/lib/IndexSerialization/
H A DSerializablePathCollection.cpp25 FilePaths.emplace_back(DirPath(Root, Dir), Paths.add(Filename)); in addFilePath()
30 return Paths.add(Dir); in addDirPath()
37 StringRef PathPool::getPaths() const { return Paths.getBuffer(); } in getPaths()
44 WorkDirPath(Paths.addDirPath(WorkDir)), in SerializablePathCollection()
45 SysRootPath(Paths.addDirPath(SysRoot)), in SerializablePathCollection()
46 OutputFilePath(Paths.addDirPath(OutputFile)) {} in SerializablePathCollection()
55 Paths.addFilePath(Dir.Root, Dir.Path, sys::path::filename(FE.getName())); in tryStoreFilePath()
88 PathPool::DirPath Result(Root, Paths.addDirPath(Dir)); in tryStoreDirPath()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DLookup.h186 Paths(std::move(Other.Paths)), in LookupResult()
199 Other.Paths = nullptr; in LookupResult()
207 Paths = std::move(Other.Paths);
222 Other.Paths = nullptr;
229 if (Paths) deletePaths(Paths); in ~LookupResult()
344 return Paths; in getBasePaths()
505 if (Paths) { in resolveKindAfterFilter()
506 deletePaths(Paths); in resolveKindAfterFilter()
507 Paths = nullptr; in resolveKindAfterFilter()
525 } else if (Paths) { in resolveKindAfterFilter()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DProfileList.cpp29 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
33 createOrDie(const std::vector<std::string> &Paths,
47 ProfileSpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument
51 if (PSCL->createInternal(Paths, VFS, Error)) in create()
57 ProfileSpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument
60 if (auto PSCL = create(Paths, VFS, Error)) in createOrDie()
67 ProfileList::ProfileList(ArrayRef<std::string> Paths, SourceManager &SM) in ProfileList() argument
69 Paths, SM.getFileManager().getVirtualFileSystem())), in ProfileList()
H A DSanitizerSpecialCaseList.cpp18 SanitizerSpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument
23 if (SSCL->createInternal(Paths, VFS, Error)) { in create()
31 SanitizerSpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument
34 if (auto SSCL = create(Paths, VFS, Error)) in createOrDie()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DReplaceConstant.cpp56 auto &Paths = CEPaths[&U]; in convertConstantExprsToInstructions() local
57 for (auto &Path : Paths) { in convertConstantExprsToInstructions()
106 std::vector<std::vector<ConstantExpr *>> Paths; in collectConstantExprPaths() local
117 Paths.push_back(TPath); in collectConstantExprPaths()
131 if (!Paths.empty()) in collectConstantExprPaths()
132 CEPaths[&U] = Paths; in collectConstantExprPaths()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DCXXInheritance.h125 std::list<CXXBasePath> Paths; variable
182 paths_iterator begin() { return Paths.begin(); } in begin()
183 paths_iterator end() { return Paths.end(); } in end()
184 const_paths_iterator begin() const { return Paths.begin(); } in begin()
185 const_paths_iterator end() const { return Paths.end(); } in end()
187 CXXBasePath& front() { return Paths.front(); } in front()
188 const CXXBasePath& front() const { return Paths.front(); } in front()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DFileCollector.cpp106 PathStorage Paths; in canonicalize() local
107 Paths.VirtualPath = SrcPath; in canonicalize()
108 makeAbsolute(Paths.VirtualPath); in canonicalize()
113 Paths.CopyFrom = Paths.VirtualPath; in canonicalize()
114 updateWithRealPath(Paths.CopyFrom); in canonicalize()
117 sys::path::remove_dots(Paths.VirtualPath, /*remove_dot_dot=*/true); in canonicalize()
119 return Paths; in canonicalize()
123 PathCanonicalizer::PathStorage Paths = Canonicalizer.canonicalize(SrcPath); in addFileImpl() local
126 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl()
133 addFileToMapping(Paths.VirtualPath, DstPath); in addFileImpl()
H A DSpecialCaseList.cpp73 SpecialCaseList::create(const std::vector<std::string> &Paths, in create() argument
76 if (SCL->createInternal(Paths, FS, Error)) in create()
90 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths, in createOrDie() argument
93 if (auto SCL = create(Paths, FS, Error)) in createOrDie()
98 bool SpecialCaseList::createInternal(const std::vector<std::string> &Paths, in createInternal() argument
101 for (const auto &Path : Paths) { in createInternal()
/openbsd-src/usr.sbin/pkg_add/OpenBSD/
H A DSharedItems.pm25 use OpenBSD::Paths;
109 $state->system(OpenBSD::Paths->userdel, '--',
121 $state->system(OpenBSD::Paths->groupdel, '--',
151 for my $f (OpenBSD::Paths->man_cruft) {
162 for my $f (OpenBSD::Paths->font_cruft) {
171 for my $f (OpenBSD::Paths->info_cruft) {
/openbsd-src/gnu/llvm/llvm/tools/llvm-debuginfod/
H A Dllvm-debuginfod.cpp73 SmallVector<StringRef, 1> Paths; in main() local
75 Paths.push_back(Path); in main()
79 DebuginfodCollection Collection(Paths, Log, Pool, MinInterval); in main()
99 if (Paths.size()) in main()
/openbsd-src/gnu/llvm/clang/include/clang/IndexSerialization/
H A DSerializablePathCollection.h80 StringPool Paths;
89 PathPool Paths; variable
103 llvm::StringRef getPathsBuffer() const { return Paths.getPaths(); } in getPathsBuffer()
108 return Paths.getFilePaths(); in getFilePaths()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DAutomaton.h82 SmallVector<NfaPath, 4> Paths; variable
125 Paths.clear(); in reset()
142 Paths.clear(); in getPaths()
150 Paths.push_back(std::move(P)); in getPaths()
152 return Paths; in getPaths()
H A DSpecialCaseList.h75 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS,
84 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS);
110 bool createInternal(const std::vector<std::string> &Paths,
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp169 llvm::FileCollector::PathCanonicalizer::PathStorage Paths = in copyToRoot() local
177 path::append(CacheDst, path::relative_path(Paths.CopyFrom)); in copyToRoot()
184 Paths.CopyFrom = Dst; in copyToRoot()
191 if (std::error_code EC = fs::copy_file(Paths.CopyFrom, CacheDst)) in copyToRoot()
199 addFileMapping(Paths.VirtualPath, CacheDst); in copyToRoot()
/openbsd-src/usr.sbin/pkg_add/OpenBSD/PackageRepository/
H A DInstalled.pm37 require OpenBSD::Paths;
39 return OpenBSD::Paths->machine_architecture;
41 return OpenBSD::Paths->os_version;
47 OpenBSD::Paths->machine_architecture);
97 'snapshots' : OpenBSD::Paths->os_directory;
H A DCache.pm26 return undef unless -f OpenBSD::Paths->updateinfodb;
39 unshift(@params, OpenBSD::Paths->locate,
40 '-d', OpenBSD::Paths->updateinfodb, '--');
/openbsd-src/gnu/llvm/llvm/tools/llvm-cov/
H A DCoverageReport.cpp122 unsigned getNumRedundantPathComponents(ArrayRef<std::string> Paths) { in getNumRedundantPathComponents() argument
125 SmallVector<StringRef, 8> FirstPathComponents{sys::path::begin(Paths[0]), in getNumRedundantPathComponents()
126 sys::path::end(Paths[0])}; in getNumRedundantPathComponents()
129 for (unsigned I = 1, E = Paths.size(); NumRedundant > 0 && I < E; ++I) { in getNumRedundantPathComponents()
130 StringRef Path = Paths[I]; in getNumRedundantPathComponents()
152 unsigned getRedundantPrefixLen(ArrayRef<std::string> Paths) { in getRedundantPrefixLen() argument
154 if (Paths.size() <= 1) in getRedundantPrefixLen()
158 unsigned NumRedundant = getNumRedundantPathComponents(Paths); in getRedundantPrefixLen()
159 auto Component = sys::path::begin(Paths[0]); in getRedundantPrefixLen()
/openbsd-src/gnu/llvm/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp323 Paths.reserve(OriginalPaths.size()); in FileIndex()
329 Paths.emplace_back(Path, I); in FileIndex()
337 llvm::sort(Paths); in FileIndex()
342 bool empty() const { return Paths.empty(); } in empty()
408 Award(1, indexLookup</*Prefix=*/true>(Prefix, Paths)); in scoreCandidates()
437 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner()
448 S.PrefixLength = matchingPrefix(Filename, Paths[S.Index].first); in pickWinner()
454 return {longestMatch(Filename, Paths).second, 0}; in pickWinner()
491 std::vector<SubstringAndIndex> Paths; // Full path. member in clang::tooling::__anone90b9a300111::FileIndex
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp66 CXXBasePaths Paths; in visitCXXRecordDecl() local
67 Paths.setOrigin(RD); in visitCXXRecordDecl()
94 if (RD->lookupInBases(IsPublicBaseRefCntblWOVirtualDtor, Paths, in visitCXXRecordDecl()
H A DPtrTypesSemantics.cpp76 CXXBasePaths Paths; in isRefCountable() local
77 Paths.setOrigin(const_cast<CXXRecordDecl *>(R)); in isRefCountable()
90 bool BasesResult = R->lookupInBases(isRefCountableBase, Paths, in isRefCountable()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
39 createOrDie(const std::vector<std::string> &Paths,

12345