Lines Matching refs:perms
86 enum perms {
111 // Helper functions so that you can use & and | to manipulate perms bits:
112 inline perms operator|(perms l, perms r) {
113 return static_cast<perms>(static_cast<unsigned short>(l) |
116 inline perms operator&(perms l, perms r) {
117 return static_cast<perms>(static_cast<unsigned short>(l) &
120 inline perms &operator|=(perms &l, perms r) {
124 inline perms &operator&=(perms &l, perms r) {
128 inline perms operator~(perms x) {
130 return static_cast<perms>(
176 perms Perms = perms_not_known;
184 basic_file_status(file_type Type, perms Perms, time_t ATime,
192 basic_file_status(file_type Type, perms Perms, uint32_t LastAccessTimeHigh,
205 perms permissions() const { return Perms; }
242 void permissions(perms p) { Perms = p; }
266 file_status(file_type Type, perms Perms, dev_t Dev, nlink_t Links, ino_t Ino,
274 file_status(file_type Type, perms Perms, uint32_t LinkCount,
327 perms Perms = owner_all | group_all);
336 perms Perms = owner_all | group_all);
673 std::error_code setPermissions(const Twine &Path, perms Permissions);
678 std::error_code setPermissions(int FD, perms Permissions);
688 ErrorOr<perms> getPermissions(const Twine &Path);