reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
673 std::error_code setPermissions(const Twine &Path, perms Permissions);
162 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp 822 Status error(llvm::sys::fs::setPermissions(path, perms));
tools/lldb/source/Target/Platform.cpp 793 return llvm::sys::fs::setPermissions(file_spec.GetPath(), Perms);
unittests/Support/Path.cpp576 fs::setPermissions(Twine(TestDirectory) + "/noreadperm", fs::no_perms); 577 fs::setPermissions(Twine(TestDirectory) + "/noreadperm", fs::all_exe); 1607 ASSERT_NO_ERROR(fs::setPermissions(TempPath, AllRWE)); 1613 ASSERT_NO_ERROR(fs::setPermissions(TempPath, AllRWE)); 1677 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_all), NoError); 1680 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_read | fs::all_exe), NoError); 1757 EXPECT_EQ(fs::setPermissions(TempPath, fs::no_perms), NoError); 1760 EXPECT_EQ(fs::setPermissions(TempPath, fs::owner_read), NoError); 1763 EXPECT_EQ(fs::setPermissions(TempPath, fs::owner_write), NoError); 1766 EXPECT_EQ(fs::setPermissions(TempPath, fs::owner_exe), NoError); 1769 EXPECT_EQ(fs::setPermissions(TempPath, fs::owner_all), NoError); 1772 EXPECT_EQ(fs::setPermissions(TempPath, fs::group_read), NoError); 1775 EXPECT_EQ(fs::setPermissions(TempPath, fs::group_write), NoError); 1778 EXPECT_EQ(fs::setPermissions(TempPath, fs::group_exe), NoError); 1781 EXPECT_EQ(fs::setPermissions(TempPath, fs::group_all), NoError); 1784 EXPECT_EQ(fs::setPermissions(TempPath, fs::others_read), NoError); 1787 EXPECT_EQ(fs::setPermissions(TempPath, fs::others_write), NoError); 1790 EXPECT_EQ(fs::setPermissions(TempPath, fs::others_exe), NoError); 1793 EXPECT_EQ(fs::setPermissions(TempPath, fs::others_all), NoError); 1796 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_read), NoError); 1799 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_write), NoError); 1802 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_exe), NoError); 1805 EXPECT_EQ(fs::setPermissions(TempPath, fs::set_uid_on_exe), NoError); 1808 EXPECT_EQ(fs::setPermissions(TempPath, fs::set_gid_on_exe), NoError); 1816 EXPECT_EQ(fs::setPermissions(TempPath, fs::sticky_bit), NoError); 1819 EXPECT_EQ(fs::setPermissions(TempPath, fs::set_uid_on_exe | 1826 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_read | fs::set_uid_on_exe | 1833 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_perms), NoError); 1837 EXPECT_EQ(fs::setPermissions(TempPath, fs::all_perms & ~fs::sticky_bit),