Home
last modified time | relevance | path

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

/external/selinux/python/sepolgen/src/sepolgen/
Daccess.py88 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 …]
Dinterfaces.py148 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)
Dmatching.py168 dist += self.type_distance(req.tgt_type, prov.tgt_type)
239 ifset.tgt_type_map.get(av.tgt_type, [])):
Dpolicygen.py298 (av.src_type, av.tgt_type, av.obj_class, av.perms.to_space_str()))
322 ifcall.args.append(av.tgt_type)
Drefpolicy.py547 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/
Dtest_access.py31 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 …]
Dtest_interfaces.py53 av.tgt_type = "$1"
63 av.tgt_type = "$1"
73 av.tgt_type = "$2"
/external/llvm-project/polly/cmake/
DCMakeLists.txt23 get_target_property(tgt_type ${tgt} TYPE)
24 string(REPLACE "_LIBRARY" "" tgt_type ${tgt_type})
25 set(POLLY_CONFIG_TARGET_${tgt}_TYPE ${tgt_type})
59 get_target_property(tgt_type ${tgt} TYPE)
60 if (NOT tgt_type STREQUAL "INTERFACE_LIBRARY")
101 get_target_property(tgt_type ${tgt} TYPE)
102 if (tgt_type STREQUAL "EXECUTABLE")
111 if (NOT tgt_type STREQUAL "INTERFACE_LIBRARY")
/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