Searched refs:tgt_type (Results 1 – 8 of 8) sorted by relevance
/external/selinux/python/sepolgen/src/sepolgen/ |
D | access.py | 87 self.tgt_type = None 118 self.tgt_type = list[1] 130 l = [self.src_type, self.tgt_type, self.obj_class] 138 return "allow %s %s:%s %s;" % (self.src_type, self.tgt_type, 144 a = (self.src_type, self.tgt_type, self.obj_class, x) 148 b = (other.src_type, other.tgt_type, other.obj_class, y) 170 for tgt_type in avrule.tgt_types: 174 access.tgt_type = tgt_type 260 …def add(self, src_type, tgt_type, obj_class, perms, audit_msg=None, avc_type=audit2why.TERULE, dat… argument 264 cls = tgt.setdefault(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: 287 if av.tgt_type == attr_vec.name: 288 av.tgt_type = typeattribute.type 396 if access.is_idparam(av.tgt_type): 400 tgt_types.add(av.tgt_type) 438 tgt_types = self.map_param(av.tgt_type, ifcall) 457 for tgt_type in tgt_types: 459 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 | 269 (av.src_type, av.tgt_type, av.obj_class, av.perms.to_space_str())) 293 ifcall.args.append(av.tgt_type)
|
D | refpolicy.py | 478 if av.src_type == av.tgt_type: 481 self.tgt_types.add(av.tgt_type)
|
/external/selinux/python/sepolgen/tests/ |
D | test_access.py | 31 self.assertEqual(a.tgt_type, None) 40 a.tgt_type = "bar" 46 self.assertEqual(a.tgt_type, l.tgt_type) 53 a.tgt_type = "bar" 60 self.assertEqual(a.tgt_type, l.tgt_type) 67 a.tgt_type = "bar" 83 a.tgt_type = "bar" 106 a.tgt_type = "bar" 112 b.tgt_type = "bar" 129 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
|