Searched refs:tgt_type (Results 1 – 8 of 8) sorted by relevance
/external/selinux/python/sepolgen/src/sepolgen/ |
D | access.py | 88 self.tgt_type = None 121 self.tgt_type = list[1] 133 l = [self.src_type, self.tgt_type, self.obj_class] 150 return "allow %s %s:%s %s;" % (self.src_type, self.tgt_type, 156 a = (self.src_type, self.tgt_type, self.obj_class, x) 160 b = (other.src_type, other.tgt_type, other.obj_class, y) 182 for tgt_type in avrule.tgt_types: 186 access.tgt_type = tgt_type 272 …def add(self, src_type, tgt_type, obj_class, perms, audit_msg=None, avc_type=audit2why.TERULE, dat… argument 277 av.tgt_type = tgt_type [all …]
|
D | interfaces.py | 148 if access.is_idparam(av.tgt_type): 149 if __param_insert(av.tgt_type, refpolicy.TGT_TYPE, av, params) == 1: 282 if av.tgt_type == attr_vec.name: 283 av.tgt_type = typeattribute.type 391 if access.is_idparam(av.tgt_type): 395 tgt_types.add(av.tgt_type) 433 tgt_types = self.map_param(av.tgt_type, ifcall) 452 for tgt_type in tgt_types: 454 ifv.access.add(src_type, tgt_type, obj_class, new_perms)
|
D | matching.py | 168 dist += self.type_distance(req.tgt_type, prov.tgt_type) 239 ifset.tgt_type_map.get(av.tgt_type, [])):
|
D | policygen.py | 298 (av.src_type, av.tgt_type, av.obj_class, av.perms.to_space_str())) 322 ifcall.args.append(av.tgt_type)
|
D | refpolicy.py | 547 if av.src_type == av.tgt_type: 550 self.tgt_types.add(av.tgt_type) 603 if av.src_type == av.tgt_type: 606 self.tgt_types.add(av.tgt_type)
|
/external/selinux/python/sepolgen/tests/ |
D | test_access.py | 31 self.assertEqual(a.tgt_type, None) 41 a.tgt_type = "bar" 47 self.assertEqual(a.tgt_type, l.tgt_type) 54 a.tgt_type = "bar" 61 self.assertEqual(a.tgt_type, l.tgt_type) 72 a.tgt_type = "bar" 88 a.tgt_type = "bar" 111 a.tgt_type = "bar" 117 b.tgt_type = "bar" 134 b.tgt_type = "aar" [all …]
|
D | test_interfaces.py | 53 av.tgt_type = "$1" 63 av.tgt_type = "$1" 73 av.tgt_type = "$2"
|
/external/eigen/Eigen/src/Core/arch/CUDA/ |
D | Half.h | 40 #define EIGEN_EXPLICIT_CAST(tgt_type) explicit operator tgt_type() argument 42 #define EIGEN_EXPLICIT_CAST(tgt_type) operator tgt_type() argument
|