Searched refs:IdSet (Results 1 – 8 of 8) sorted by relevance
/external/selinux/python/sepolgen/src/sepolgen/ |
D | refpolicy.py | 251 class IdSet(set): class 356 self.perms = IdSet() 427 self.attributes = IdSet() 440 self.roleattributes = IdSet() 450 self.types = IdSet() 462 self.attributes = IdSet() 463 self.aliases = IdSet() 477 self.aliases = IdSet() 524 self.src_types = IdSet() 525 self.tgt_types = IdSet() [all …]
|
D | access.py | 90 self.perms = refpolicy.IdSet() 123 self.perms = refpolicy.IdSet(list[3:]) 299 types = refpolicy.IdSet() 312 s = refpolicy.IdSet()
|
D | interfaces.py | 41 self.obj_classes = refpolicy.IdSet() 441 new_perms = refpolicy.IdSet()
|
D | refparser.py | 918 s = refpolicy.IdSet()
|
/external/selinux/python/sepolgen/tests/ |
D | test_access.py | 33 self.assertTrue(isinstance(a.perms, refpolicy.IdSet)) 144 b.perms = refpolicy.IdSet(["read"]) 148 b.perms = refpolicy.IdSet(["read", "write", "append"]) 151 b.perms = refpolicy.IdSet(["read", "append"]) 258 self.assertEqual(av.perms, refpolicy.IdSet(["read", "write"])) 301 self.assertEqual(av.perms, refpolicy.IdSet(["read", "write"])) 316 a.add("$1", "foo", "file", refpolicy.IdSet(["read", "write"])) 317 a.add("$1", "bar", "file", refpolicy.IdSet(["read", "write"])) 318 a.add("what", "bar", "file", refpolicy.IdSet(["read", "write"])) 389 s.add("foo", "bar", "file", refpolicy.IdSet(["read"]),
|
D | test_interfaces.py | 50 self.assertEqual(p.obj_classes, refpolicy.IdSet(["file"])) 60 self.assertEqual(p.obj_classes, refpolicy.IdSet(["process"])) 70 self.assertEqual(p.obj_classes, refpolicy.IdSet(["dir"])) 80 self.assertEqual(p.obj_classes, refpolicy.IdSet(["dir"]))
|
D | test_refpolicy.py | 27 s = refpolicy.IdSet(["read", "write", "getattr"]) 33 s = refpolicy.IdSet()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | ShowKeyboards.java | 200 IdSet idSet = new IdSet(); in showRepertoire() 578 TreeMap<String, IdSet>[] charToKeyboards = new TreeMap[UScript.CODE_LIMIT]; 585 IdSet allIds = new IdSet(); 636 TreeMap<String, IdSet> charToKeyboard = charToKeyboards[script]; in addToScript() 637 IdSet idSet = charToKeyboard.get(s); in addToScript() 639 charToKeyboard.put(s, idSet = new IdSet()); in addToScript() 665 final TreeMap<String, IdSet> charToKeyboard = charToKeyboards[script]; in print() 686 for (Entry<String, IdSet> entry : charToKeyboard.entrySet()) { in print() 688 IdSet value = entry.getValue(); in print() 851 static class IdSet { class in ShowKeyboards [all …]
|