Home
last modified time | relevance | path

Searched refs:file_exists (Results 1 – 18 of 18) sorted by relevance

/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/
H A Dcopy_file.pass.cpp68 assert(ErrorIs(ec, std::errc::file_exists)); in test_error_reporting()
69 ExceptionChecker Checker(file, file, std::errc::file_exists, "copy_file"); in test_error_reporting()
76 assert(ErrorIs(ec, std::errc::file_exists)); in test_error_reporting()
77 ExceptionChecker Checker(file, file, std::errc::file_exists, "copy_file"); in test_error_reporting()
/llvm-project/llvm/include/llvm/Support/
H A DErrc.h48 file_exists = int(std::errc::file_exists), enumerator
H A DGraphWriter.h390 if (EC == std::errc::file_exists) {
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/
H A Dcreate_directories.pass.cpp82 assert(ErrorIs(ec, std::errc::file_exists)); in create_directory_symlinks()
111 assert(ErrorIs(ec, std::errc::file_exists)); in dest_is_file()
/llvm-project/libcxx/src/filesystem/
H A Derror.h
H A Doperations.cpp157 return err.report(errc::file_exists); in __copy()
410 return err.report(errc::file_exists); in __create_directory()
427 return err.report(errc::file_exists); in __create_directory()
487 return err.report(errc::file_exists); in __current_path()
517 if (mec != errc::file_exists) in __file_size()
541 if (mec != errc::file_exists)
/llvm-project/llvm/lib/Support/
H A DErrorHandling.cpp285 MAP_ERR_TO_COND(ERROR_ALREADY_EXISTS, file_exists); in mapWindowsError()
303 MAP_ERR_TO_COND(ERROR_FILE_EXISTS, file_exists); in mapWindowsError()
H A DLockFileManager.cpp227 if (EC != errc::file_exists) { in LockFileManager()
H A Draw_socket_stream.cpp128 std::make_error_code(std::errc::file_exists),
H A DPath.cpp190 if (EC == errc::file_exists || EC == errc::permission_denied) in createUniqueEntity()
210 if (EC == errc::file_exists) in createUniqueEntity()
/llvm-project/libcxx/test/std/input.output/filesystems/class.filesystem_error/
H A Dfilesystem_error.members.pass.cpp46 std::error_code ec = std::make_error_code(std::errc::file_exists); in test_constructors()
87 std::error_code ec = std::make_error_code(std::errc::file_exists); in test_signatures()
/llvm-project/libcxx/include/__system_error/
H A Derrc.h40 file_exists, // EEXIST
163 file_exists = EEXIST, in _LIBCPP_DECLARE_STRONG_ENUM()
/llvm-project/libcxx/test/std/diagnostics/syserr/
H A Derrc.pass.cpp41 static_assert(static_cast<int>(std::errc::file_exists) == EEXIST, ""); in main()
/llvm-project/llvm/utils/split-file/
H A Dsplit-file.cpp175 ec.value() != static_cast<int>(std::errc::file_exists)) in main()
/llvm-project/lldb/source/Symbol/
H A DObjectFile.cpp70 const bool file_exists = FileSystem::Instance().Exists(*file); in FindPlugin() local
74 if (file_exists && module_sp->GetObjectName()) { in FindPlugin()
/llvm-project/llvm/unittests/Support/
H A DPath.cpp1004 errc::file_exists); in TEST_F()
1043 errc::file_exists); in TEST_F()
1082 ASSERT_EQ(fs::create_directory(Twine(LongDir), false), errc::file_exists); in TEST_F()
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp365 if (EC != llvm::errc::file_exists) { in ReportDiag()
/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc542 if (EC == errc::file_exists || EC == errc::permission_denied) {