Home
last modified time | relevance | path

Searched refs:SRC_TYPE (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/main/
Dformat_utils.c815 #define SWIZZLE_CONVERT_LOOP(DST_TYPE, DST_CHANS, SRC_TYPE, SRC_CHANS, CONV) \ argument
820 SRC_TYPE src = typed_src[j]; \
857 #define SWIZZLE_CONVERT(DST_TYPE, SRC_TYPE, CONV) \ argument
863 const SRC_TYPE *typed_src = void_src; \
872 SWIZZLE_CONVERT_LOOP(DST_TYPE, 1, SRC_TYPE, 1, CONV); \
875 SWIZZLE_CONVERT_LOOP(DST_TYPE, 1, SRC_TYPE, 2, CONV); \
878 SWIZZLE_CONVERT_LOOP(DST_TYPE, 1, SRC_TYPE, 3, CONV); \
881 SWIZZLE_CONVERT_LOOP(DST_TYPE, 1, SRC_TYPE, 4, CONV); \
888 SWIZZLE_CONVERT_LOOP(DST_TYPE, 2, SRC_TYPE, 1, CONV); \
891 SWIZZLE_CONVERT_LOOP(DST_TYPE, 2, SRC_TYPE, 2, CONV); \
[all …]
/external/selinux/python/sepolgen/tests/
Dtest_interfaces.py34 self.assertEqual(p.type, refpolicy.SRC_TYPE)
49 self.assertEqual(p.type, refpolicy.SRC_TYPE)
59 self.assertEqual(p.type, refpolicy.SRC_TYPE)
69 self.assertEqual(p.type, refpolicy.SRC_TYPE)
220 self.assertEqual(param.type, refpolicy.SRC_TYPE)
/external/selinux/python/sepolgen/src/sepolgen/
Dinterfaces.py40 self.type = refpolicy.SRC_TYPE
70 if (type == refpolicy.SRC_TYPE or type == refpolicy.TGT_TYPE) and \
71 (p.type == refpolicy.TGT_TYPE or p.type == refpolicy.SRC_TYPE):
88 p.type = refpolicy.SRC_TYPE
145 if __param_insert(av.src_type, refpolicy.SRC_TYPE, av, params) == 1:
172 if extract_from_set(rule.src_types, refpolicy.SRC_TYPE):
193 if __param_insert(arg, refpolicy.SRC_TYPE, None, params):
Dpolicygen.py319 if params[i].type == refpolicy.SRC_TYPE:
358 if params[i].type not in [refpolicy.SRC_TYPE, refpolicy.TGT_TYPE,
Drefpolicy.py38 SRC_TYPE = 0 variable
47 str_to_field = { "source" : SRC_TYPE, "target" : TGT_TYPE, "object" : OBJ_CLASS,