Lines Matching refs:mode
49 int mode = 0;
54 case OWNER_READ : mode |= UnixConstants.S_IRUSR; break;
55 case OWNER_WRITE : mode |= UnixConstants.S_IWUSR; break;
56 case OWNER_EXECUTE : mode |= UnixConstants.S_IXUSR; break;
57 case GROUP_READ : mode |= UnixConstants.S_IRGRP; break;
58 case GROUP_WRITE : mode |= UnixConstants.S_IWGRP; break;
59 case GROUP_EXECUTE : mode |= UnixConstants.S_IXGRP; break;
60 case OTHERS_READ : mode |= UnixConstants.S_IROTH; break;
61 case OTHERS_WRITE : mode |= UnixConstants.S_IWOTH; break;
62 case OTHERS_EXECUTE : mode |= UnixConstants.S_IXOTH; break;
65 return mode;
70 int mode = defaultMode;
77 mode = toUnixMode((Set<PosixFilePermission>)attr.value());
79 return mode;