Searched refs:groupIndex (Results 1 – 2 of 2) sorted by relevance
22 def _HasPermission(permission_bits, groupIndex, permission): argument38 if groupIndex >= _PERMISSION_GROUPS:39 raise ValueError("Invalid group: %s" % str(groupIndex))45 start = groupIndex46 end = groupIndex + 147 if groupIndex < 0:
34 def HasPermission(permission_bits, groupIndex, permission): argument50 if groupIndex >= PERMISSION_GROUPS:51 raise ValueError("Invalid group: %s" % str(groupIndex))57 start = groupIndex58 end = groupIndex + 159 if groupIndex < 0: