Lines Matching +full:r +full:- +full:xp
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
58 r = list(sorted(s.ranges))
59 while i < len(r) - 1:
61 self.assertLessEqual(r[i][0], r[i][1])
63 self.assertGreater(r[i + 1][0] - r[i][1], 1)
101 self.assertEqual(a.to_string(), "~ { 42-64 1234 2345 }")
103 self.assertEqual(a.to_string(), "{ 42-64 1234 2345 }")
124 context = "user_u:object_r:foo_t:s0-s0:c0-c255"
130 self.assertEqual(sc.level, "s0-s0:c0-c255")
211 xp = refpolicy.XpermSet()
212 av.xperms = { "ioctl": xp }
221 self.assertIs(a.xperms, xp)
227 xp = refpolicy.XpermSet()
228 av.xperms = { "ioctl": xp }
237 self.assertIs(a.xperms, xp)