Home
last modified time | relevance | path

Searched refs:IsDirectory (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIO.cpp183 if (IsDirectory(Dir)) { in MkDirRecursiveInner()
185 return IsDirectory(Leaf); in MkDirRecursiveInner()
195 return IsDirectory(Leaf); in MkDirRecursiveInner()
202 if (IsDirectory(Dir)) in MkDirRecursive()
H A DFuzzerIOPosix.cpp34 bool IsDirectory(const std::string &Path) { in IsDirectory() function
72 (E->d_type == DT_UNKNOWN && IsDirectory(Path))) && in ListFilesInDirRecursive()
94 (E->d_type == DT_UNKNOWN && IsDirectory(Path))) && in IterateDirRecursive()
H A DFuzzerIO.h70 bool IsDirectory(const std::string &Path);
H A DFuzzerIOWindows.cpp79 bool IsDirectory(const std::string &Path) { in IsDirectory() function
H A DFuzzerDriver.cpp261 if (IsDirectory(Path)) in ValidateDirectoryExists()
/llvm-project/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwinKernel.cpp357 if (FileSystem::Instance().IsDirectory(possible_dir)) in CollectKextAndKernelDirectories()
374 if (FileSystem::Instance().IsDirectory(dir)) { in GetUserSpecifiedDirectoriesToSearch()
391 if (FileSystem::Instance().IsDirectory(testdir)) in AddRootSubdirsToSearchPaths()
525 if (FileSystem::Instance().IsDirectory(contents_plugins)) { in GetKernelsAndKextsInDirectoryHelper()
529 if (FileSystem::Instance().IsDirectory(plugins)) { in GetKernelsAndKextsInDirectoryHelper()
613 if (FileSystem::Instance().IsDirectory(dsym_fspec)) { in KextHasdSYMSibling()
628 if (FileSystem::Instance().IsDirectory(dsym_fspec)) { in KextHasdSYMSibling()
639 return FileSystem::Instance().IsDirectory(dsym_fspec); in KextHasdSYMSibling()
650 return FileSystem::Instance().IsDirectory(kernel_dsym); in KernelHasdSYMSibling()
H A DPlatformDarwin.cpp328 if (FileSystem::Instance().IsDirectory(sym_file)) {
763 if (!FileSystem::Instance().IsDirectory(sdks_spec)) { in FindSDKInXcodeForModules()
779 if (FileSystem::Instance().IsDirectory(enumerator_info.found_path)) in GetSDKDirectoryForModules()
1147 if (!FileSystem::Instance().IsDirectory(sysroot_spec.GetPath())) { in GetOSVersion()
1152 if (FileSystem::Instance().IsDirectory(sysroot_spec.GetPath())) { in GetOSVersion()
/llvm-project/llvm/tools/llvm-readtapi/
H A Dllvm-readtapi.cpp341 bool IsDirectory = false; in stubifyDirectory()
342 if (auto EC = sys::fs::is_directory(Path, IsDirectory)) in stubifyDirectory()
344 if (IsDirectory) in stubifyDirectory()
444 bool IsDirectory = false; in handleSingleFileAction()
445 if (auto EC = sys::fs::is_directory(PathName, IsDirectory)) in handleSingleFileAction()
448 if (IsDirectory) { in setStubOptions()
307 bool IsDirectory = false; stubifyDirectory() local
410 bool IsDirectory = false; handleStubifyAction() local
/llvm-project/third-party/unittest/googletest/src/
H A Dgtest-filepath.cc326 bool FilePath::IsDirectory() const { in IsDirectory() function in testing::internal::FilePath
335 if (!this->IsDirectory()) { in CreateDirectoriesRecursively()
378 return IsDirectory() ? FilePath(pathname_.substr(0, pathname_.length() - 1)) in RemoveTrailingPathSeparator()
/llvm-project/llvm/unittests/Support/
H A DFileCollectorTest.cpp149 bool IsDirectory = false; in TEST() local
153 ec = sys::fs::is_directory(SubdirInRoot, IsDirectory); in TEST()
155 ASSERT_TRUE(IsDirectory); in TEST()
/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h123 bool IsDirectory(const FileSpec &file_spec) const;
124 bool IsDirectory(const llvm::Twine &path) const;
/llvm-project/third-party/unittest/googletest/include/gtest/internal/
H A Dgtest-filepath.h170 bool IsDirectory() const;
/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp151 bool FileSystem::IsDirectory(const Twine &path) const { in IsDirectory() function in FileSystem
158 bool FileSystem::IsDirectory(const FileSpec &file_spec) const { in IsDirectory() function in FileSystem
159 return file_spec && IsDirectory(file_spec.GetPath()); in IsDirectory()
/llvm-project/llvm/include/llvm/Support/
H A DVirtualFileSystem.h666 YAMLVFSEntry(T1 &&VPath, T2 &&RPath, bool IsDirectory = false)
668 IsDirectory(IsDirectory) {}
671 bool IsDirectory = false;
1124 void addEntry(StringRef VirtualPath, StringRef RealPath, bool IsDirectory);
658 bool IsDirectory = false; global() member
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp32 if (FileSystem::Instance().IsDirectory(clang_path)) in VerifyClangPath()
H A DClangModulesDeclVendor.cpp694 if (FileSystem::Instance().IsDirectory(clang_resource_dir.GetPath())) { in Create()
/llvm-project/lldb/source/Plugins/SymbolLocator/Default/
H A DSymbolLocatorDefault.cpp186 if (!FileSystem::Instance().IsDirectory(dirspec)) in LocateExecutableSymbolFile()
/llvm-project/lldb/source/Plugins/SymbolLocator/DebugSymbols/
H A DSymbolLocatorDebugSymbols.cpp155 if (FileSystem::Instance().IsDirectory(dsym_filespec)) { in LocateExecutableObjectFile()
597 if (FileSystem::Instance().IsDirectory(dsym_filespec)) { in LocateMacOSXFilesUsingDebugSymbols()
/llvm-project/lldb/unittests/Host/
H A DFileSystemTest.cpp342 EXPECT_FALSE(fs.IsDirectory(spec)); in TEST()
/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp2738 bool IsDirectory) { in addDirectoryMapping()
2742 Mappings.emplace_back(VirtualPath, RealPath, IsDirectory);
2746 addEntry(VirtualPath, RealPath, /*IsDirectory=*/false);
2751 addEntry(VirtualPath, RealPath, /*IsDirectory=*/true);
2855 Entry.IsDirectory ? Entry.VPath : path::parent_path(Entry.VPath) in write()
2866 if (!Entry.IsDirectory) { in write()
2873 Entry.IsDirectory ? Entry.VPath : path::parent_path(Entry.VPath); in write()
2897 if (!Entry.IsDirectory) { in write()
2725 addEntry(StringRef VirtualPath,StringRef RealPath,bool IsDirectory) addEntry() argument
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
H A DProcessDebugger.cpp118 if (!FileSystem::Instance().IsDirectory(working_dir)) { in LaunchProcess()
/llvm-project/lldb/source/API/
H A DSBPlatform.cpp517 if (FileSystem::Instance().IsDirectory(src.ref())) in Put()
/llvm-project/lldb/source/Target/
H A DTargetList.cpp292 if (FileSystem::Instance().IsDirectory(file)) in CreateTargetInternal()
/llvm-project/lldb/source/Commands/
H A DCommandCompletions.cpp454 is_dir = fs.IsDirectory(symlink_filespec); in DiskFilesOrDirectories()
/llvm-project/lldb/source/Core/
H A DModuleList.cpp881 if (!FileSystem::Instance().IsDirectory(search_path_spec)) in GetSharedModule()

12