Lines Matching refs:Path
20 void llvm::MachO::replace_extension(SmallVectorImpl<char> &Path, in replace_extension() argument
22 StringRef P(Path.begin(), Path.size()); in replace_extension()
27 sys::path::replace_extension(Path, Extension); in replace_extension()
38 Path.push_back('.'); in replace_extension()
41 Path.append(Ext.begin(), Ext.end()); in replace_extension()
44 std::error_code llvm::MachO::shouldSkipSymLink(const Twine &Path, in shouldSkipSymLink() argument
48 auto P = Path.toNullTerminatedStringRef(Storage); in shouldSkipSymLink()
110 bool llvm::MachO::isPrivateLibrary(StringRef Path, bool IsSymLink) { in isPrivateLibrary() argument
112 Path.consume_front(MACCATALYST_PREFIX_PATH); in isPrivateLibrary()
113 Path.consume_front(DRIVERKIT_PREFIX_PATH); in isPrivateLibrary()
115 Path.consume_front("/Library/Apple"); in isPrivateLibrary()
117 if (Path.starts_with("/usr/local/lib")) in isPrivateLibrary()
120 if (Path.starts_with("/System/Library/PrivateFrameworks")) in isPrivateLibrary()
125 if (Path.consume_front("/usr/lib/swift/")) in isPrivateLibrary()
130 if (Path.consume_front("/usr/lib/")) in isPrivateLibrary()
131 return Path.contains('/'); in isPrivateLibrary()
134 if (Path.starts_with("/System/Library/Frameworks/")) { in isPrivateLibrary()
137 Path.drop_front(sizeof("/System/Library/Frameworks")).split('.'); in isPrivateLibrary()
239 for (const auto &[Path, CurrP] : Paths) { in getPathsForPlatform()
241 Result.push_back(Path); in getPathsForPlatform()