Home
last modified time | relevance | path

Searched refs:create_directory (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/
H A Dcreate_directory.pass.cpp50 ASSERT_NOT_NOEXCEPT(fs::create_directory(p)); in TEST_CASE()
51 ASSERT_NOEXCEPT(fs::create_directory(p, ec)); in TEST_CASE()
52 ASSERT_NOT_NOEXCEPT(fs::create_directory(p, p)); in TEST_CASE()
53 ASSERT_NOEXCEPT(fs::create_directory(p, p, ec)); in TEST_CASE()
62 TEST_CHECK(fs::create_directory(dir, ec) == false); in TEST_CASE()
66 TEST_CHECK(fs::create_directory(dir) == false); in TEST_CASE()
74 TEST_CHECK(fs::create_directory(dir, ec) == true); in TEST_CASE()
89 TEST_CHECK(fs::create_directory(dir, ec) == false); in TEST_CASE()
111 TEST_CHECK(fs::create_directory(dir, ec) == false); in TEST_CASE()
123 TEST_CHECK(create_directory(sym, ec) == false); in TEST_CASE()
[all …]
H A Dcreate_directory_with_attributes.pass.cpp35 ASSERT_SAME_TYPE(decltype(fs::create_directory(p, p)), bool); in TEST_CASE()
37 ASSERT_NOT_NOEXCEPT(fs::create_directory(p, p)); in TEST_CASE()
38 ASSERT_NOEXCEPT(fs::create_directory(p, p, ec)); in TEST_CASE()
51 TEST_CHECK(fs::create_directory(dir, dir2, ec) == false); in TEST_CASE()
58 TEST_CHECK(fs::create_directory(dir, dir2) == false); in TEST_CASE()
74 TEST_CHECK(fs::create_directory(dir, attr_dir, ec) == true); in TEST_CASE()
128 TEST_CHECK(create_directory(dest, file, ec) == false); in TEST_CASE()
134 TEST_CHECK(create_directory(dest, dne, ec) == false); in TEST_CASE()
145 TEST_CHECK(create_directory(sym, attr_dir, ec) == false); in TEST_CASE()
157 TEST_CHECK(create_directory(sym, attr_dir, ec) == false); in TEST_CASE()
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dfilesystem104 bool create_directory(const path& p);
105 bool create_directory(const path& p, error_code& ec) noexcept;
107 bool create_directory(const path& p, const path& attributes);
108 bool create_directory(const path& p, const path& attributes,
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/
H A Dtoctou.pass.cpp77 fs::create_directory(victim_del_path, ec); in main()
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Doperations.h83 inline _LIBCPP_HIDE_FROM_ABI bool create_directory(const path& __p) { return __create_directory(__p… in create_directory() function
84 inline _LIBCPP_HIDE_FROM_ABI bool create_directory(const path& __p, error_code& __ec) noexcept { re… in create_directory() function
85 inline _LIBCPP_HIDE_FROM_ABI bool create_directory(const path& __p, const path& __attrs) { return _… in create_directory() function
86 inline _LIBCPP_HIDE_FROM_ABI bool create_directory(const path& __p, const path& __attrs, error_code… in create_directory() function
/llvm-project-15.0.7/lldb/source/Host/common/
H A DHostInfoBase.cpp278 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeProcessTempFileDirectory()
301 if (llvm::sys::fs::create_directory(temp_file_spec.GetPath())) in ComputeGlobalTempFileDirectory()
H A DEditline.cpp224 if (!llvm::sys::fs::create_directory(lldb_history_file)) { in GetHistoryFilePath()
/llvm-project-15.0.7/llvm/tools/dsymutil/
H A DReproducer.cpp19 EC = sys::fs::create_directory(Root); in createReproducerDir()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCompileCommandsTests.cpp132 ASSERT_THAT(llvm::sys::fs::create_directory(TempDir + "/bin"), ok()); in TEST()
133 ASSERT_THAT(llvm::sys::fs::create_directory(TempDir + "/lib"), ok()); in TEST()
/llvm-project-15.0.7/lldb/source/Utility/
H A DReproducer.cpp40 auto ec = sys::fs::create_directory(root->GetPath()); in Initialize()
/llvm-project-15.0.7/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h133 EC = llvm::sys::fs::create_directory(Path);
/llvm-project-15.0.7/lldb/tools/lldb-server/
H A Dlldb-platform.cpp100 Status error(llvm::sys::fs::create_directory(temp_file_spec.GetPath())); in save_socket_id_to_file()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DPath.cpp969 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F()
970 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F()
971 ASSERT_EQ(fs::create_directory(Twine(TestDirectory) + "foo", false), in TEST_F()
981 fs::create_directory(Twine(TestDirectory) + "baz500", false, in TEST_F()
986 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "baz777", false, in TEST_F()
1045 ASSERT_NO_ERROR(fs::create_directory(Twine(LongDir))); in TEST_F()
1049 ASSERT_NO_ERROR(fs::create_directory("b")); in TEST_F()
1050 ASSERT_EQ(fs::create_directory(Twine(LongDir), false), errc::file_exists); in TEST_F()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DFileRemapper.cpp112 if (fs::create_directory(outputDir)) in flushToDisk()
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp208 EC = sys::fs::create_directory(ResultPath.begin(), false); in createUniqueEntity()
973 std::error_code EC = create_directory(P, IgnoreExisting, Perms); in create_directories()
988 return create_directory(P, IgnoreExisting, Perms); in create_directories()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwinDevice.cpp274 return llvm::sys::fs::create_directory(module_cache_folder.GetPath()); in MakeCacheFolderForFile()
/llvm-project-15.0.7/clang/unittests/DirectoryWatcher/
H A DDirectoryWatcherTest.cpp65 create_directory(TestWatchedDir, false); in DirectoryWatcherTestFixture()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DFileSystem.h315 std::error_code create_directory(const Twine &path, bool IgnoreExisting = true,
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp692 if (!sys::fs::exists(CacheDir.str()) && sys::fs::create_directory(CacheDir.str())) { in notifyObjectCompiled()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp711 if (!sys::fs::exists(CacheDir.str()) && sys::fs::create_directory(CacheDir.str())) { in notifyObjectCompiled()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp858 Status error(llvm::sys::fs::create_directory(path, mode)); in Handle_qPlatform_mkdir()
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx20Papers.csv90 "`P1164R1 <https://wg21.link/P1164R1>`__","LWG","Make create_directory() Intuitive","Kona","|Comple…
H A DCxx20Issues.csv86 …nk/LWG3079>`__","LWG 2935 forgot to fix the existing_p overloads of create_directory","Rapperswil"…
/llvm-project-15.0.7/lldb/source/Target/
H A DPlatform.cpp637 return llvm::sys::fs::create_directory(file_spec.GetPath(), permissions); in MakeDirectory()
/llvm-project-15.0.7/llvm/lib/Support/Windows/
H A DPath.inc240 std::error_code create_directory(const Twine &path, bool IgnoreExisting,

12