Home
last modified time | relevance | path

Searched refs:perm_options (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Dperm_options.h26 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 Doperations.h143 _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 Dpermissions.pass.cpp36 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 Denum.perm_options.pass.cpp24 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 Dfilesystem71 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 DCMakeLists.txt278 __filesystem/perm_options.h
H A Dmodule.modulemap.in620 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 Dincrement.pass.cpp264 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 Dcreate_directory_with_attributes.pass.cpp67 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 Dcopy_file.pass.cpp149 perm_options::remove); in TEST_CASE()
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Doperations.cpp1259 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 DBUILD.gn339 "__filesystem/perm_options.h",
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc1449 SYMBOL(perm_options, std::filesystem::, <filesystem>)