Home
last modified time | relevance | path

Searched refs:tgt_type (Results 1 – 8 of 8) sorted by relevance

/external/selinux/python/sepolgen/src/sepolgen/
Daccess.py87 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 …]
Dinterfaces.py148 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)
Dmatching.py168 dist += self.type_distance(req.tgt_type, prov.tgt_type)
239 ifset.tgt_type_map.get(av.tgt_type, [])):
Dpolicygen.py269 (av.src_type, av.tgt_type, av.obj_class, av.perms.to_space_str()))
293 ifcall.args.append(av.tgt_type)
Drefpolicy.py478 if av.src_type == av.tgt_type:
481 self.tgt_types.add(av.tgt_type)
/external/selinux/python/sepolgen/tests/
Dtest_access.py31 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 …]
Dtest_interfaces.py53 av.tgt_type = "$1"
63 av.tgt_type = "$1"
73 av.tgt_type = "$2"
/external/eigen/Eigen/src/Core/arch/CUDA/
DHalf.h40 #define EIGEN_EXPLICIT_CAST(tgt_type) explicit operator tgt_type() argument
42 #define EIGEN_EXPLICIT_CAST(tgt_type) operator tgt_type() argument