Lines Matching defs:perms
81 enum perms {
106 // Helper functions so that you can use & and | to manipulate perms bits:
107 inline perms operator|(perms l, perms r) {
108 return static_cast<perms>(static_cast<unsigned short>(l) |
111 inline perms operator&(perms l, perms r) {
112 return static_cast<perms>(static_cast<unsigned short>(l) &
115 inline perms &operator|=(perms &l, perms r) {
119 inline perms &operator&=(perms &l, perms r) {
123 inline perms operator~(perms x) {
125 return static_cast<perms>(
151 perms Perms = perms_not_known;
159 basic_file_status(file_type Type, perms Perms, time_t ATime,
167 basic_file_status(file_type Type, perms Perms, uint32_t LastAccessTimeHigh,
180 perms permissions() const { return Perms; }
217 void permissions(perms p) { Perms = p; }
240 file_status(file_type Type, perms Perms, dev_t Dev, nlink_t Links, ino_t Ino,
248 file_status(file_type Type, perms Perms, uint32_t LinkCount,
300 perms Perms = owner_all | group_all);
309 perms Perms = owner_all | group_all);
661 std::error_code setPermissions(const Twine &Path, perms Permissions);
666 std::error_code setPermissions(int FD, perms Permissions);
676 ErrorOr<perms> getPermissions(const Twine &Path);