Searched refs:perm (Results 1 – 4 of 4) sorted by relevance
52 perm = int(permission_bits[i]) # throws ValueError if not an integer53 if perm > 7:54 raise ValueError("Invalid permission bit: %s" % str(perm))55 if perm & permission == 0:
180 perm = int(permission_bits[i]) # throws ValueError if not an integer181 if perm > 7:182 raise ValueError("Invalid permission bit: %s" % str(perm))183 if perm & permission == 0:
112 int perm = Integer.valueOf(permissionBits.charAt(i) + ""); in hasPermission() local113 if (perm > 7) { in hasPermission()114 throw new RuntimeException(String.format("Invalid permission bit: %d", perm)); in hasPermission()116 if ((perm & permission.getPermissionNum()) == 0) { in hasPermission()
64 perm = int(permission_bits[i]) # throws ValueError if not an integer65 if perm > 7:66 raise ValueError("Invalid permission bit: %s" % str(perm))67 if perm & permission == 0: