Home | History | Annotate | Download | only in tests

Lines Matching defs:access

24 import sepolgen.access as access
29 a = access.AccessVector()
38 a = access.AccessVector()
44 l = access.AccessVector(['foo', 'bar', 'file', 'read', 'write'])
51 a = access.AccessVector()
57 l = access.AccessVector()
65 a = access.AccessVector()
79 a = access.AccessVector()
89 a = access.AccessVector()
95 b = access.AccessVector()
134 self.assertTrue(access.is_idparam("$1"))
135 self.assertTrue(access.is_idparam("$2"))
136 self.assertTrue(access.is_idparam("$123"))
137 self.assertFalse(access.is_idparam("$123.23"))
138 self.assertFalse(access.is_idparam("$A"))
151 avs = access.avrule_to_access_vectors(rule)
162 for av in access.avrule_to_access_vectors(rule):
186 s = access.AccessVectorSet()
187 avs = access.avrule_to_access_vectors(rule)
193 a = access.AccessVectorSet()
220 a = access.AccessVectorSet()
236 b = access.AccessVectorSet()