Searched refs:perm_options (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/libcxx/include/__filesystem/ |
| H A D | perm_options.h | 26 enum class _LIBCPP_ENUM_VIS perm_options : unsigned char { enum 34 inline constexpr perm_options operator&(perm_options __lhs, perm_options __rhs) { 35 return static_cast<perm_options>(static_cast<unsigned>(__lhs) & 40 inline constexpr perm_options operator|(perm_options __lhs, perm_options __rhs) { 41 return static_cast<perm_options>(static_cast<unsigned>(__lhs) | 46 inline constexpr perm_options operator^(perm_options __lhs, perm_options __rhs) { 47 return static_cast<perm_options>(static_cast<unsigned>(__lhs) ^ 52 inline constexpr perm_options operator~(perm_options __lhs) { 57 inline perm_options& operator&=(perm_options& __lhs, perm_options __rhs) { 62 inline perm_options& operator|=(perm_options& __lhs, perm_options __rhs) { [all …]
|
| H A D | operations.h | 143 _LIBCPP_FUNC_VIS void __permissions(const path&, perms, perm_options, error_code* = nullptr); 144 …E_FROM_ABI void permissions(const path& __p, perms __prms, perm_options __opts = perm_options::rep… 145 …perms __prms, error_code& __ec) noexcept { __permissions(__p, __prms, perm_options::replace, &__ec… in permissions() 146 inline _LIBCPP_HIDE_FROM_ABI void permissions(const path& __p, perms __prms, perm_options __opts, e… in permissions()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/ |
| H A D | permissions.pass.cpp | 36 const perm_options opts{}; ((void)opts); in TEST_CASE() 90 const perm_options AP = perm_options::add; in TEST_CASE() 91 const perm_options RP = perm_options::remove; in TEST_CASE() 92 const perm_options NF = perm_options::nofollow; in TEST_CASE() 97 perm_options opts; in TEST_CASE() 99 perm_options xopts = perm_options::replace) in TEST_CASE() 131 if (TC.opts == perm_options::replace) { in TEST_CASE() 155 perm_options opts = perm_options::replace; in TEST_CASE() 157 perm_options xopts = perm_options::replace) in TEST_CASE() 162 {perms::owner_all, perms::group_all, perm_options::remove}, in TEST_CASE() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.enum/ |
| H A D | enum.perm_options.pass.cpp | 24 constexpr fs::perm_options ME(int val) { in ME() 25 return static_cast<fs::perm_options>(val); in ME() 29 typedef fs::perm_options E; in main()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | filesystem | 71 enum class perm_options; 183 perm_options opts=perm_options::replace); 185 void permissions(const path& p, perms prms, perm_options opts, 255 #include <__filesystem/perm_options.h>
|
| H A D | CMakeLists.txt | 278 __filesystem/perm_options.h
|
| H A D | module.modulemap.in | 620 module perm_options { private header "__filesystem/perm_options.h" }
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ |
| H A D | increment.pass.cpp | 264 perm_options::remove); in TEST_CASE() 349 perm_options::remove); in TEST_CASE() 432 perm_options::remove); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
| H A D | create_directory_with_attributes.pass.cpp | 67 permissions(env.test_root, perms::set_gid, perm_options::remove); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/ |
| H A D | copy_file.pass.cpp | 149 perm_options::remove); in TEST_CASE()
|
| /llvm-project-15.0.7/libcxx/src/filesystem/ |
| H A D | operations.cpp | 1259 void __permissions(const path& p, perms prms, perm_options opts, in __permissions() 1263 auto has_opt = [&](perm_options o) { return bool(o & opts); }; in __permissions() 1264 const bool resolve_symlinks = !has_opt(perm_options::nofollow); in __permissions() 1265 const bool add_perms = has_opt(perm_options::add); in __permissions() 1266 const bool remove_perms = has_opt(perm_options::remove); in __permissions() 1268 (add_perms + remove_perms + has_opt(perm_options::replace)) == 1, in __permissions()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/ |
| H A D | BUILD.gn | 339 "__filesystem/perm_options.h",
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | StdSymbolMap.inc | 1449 SYMBOL(perm_options, std::filesystem::, <filesystem>)
|