Searched refs:source_type (Results 1 - 22 of 22) sorted by relevance

/external/sepolicy/tools/sepolicy-analyze/
H A Ddups.c27 if (k->source_type == k->target_type)
33 sattr = &policydb->type_attr_map[k->source_type - 1];
35 stype = policydb->type_val_to_struct[k->source_type - 1];
44 avkey.source_type = i + 1;
46 if (avkey.source_type == k->source_type &&
49 if (avkey.source_type == avkey.target_type)
51 stype2 = policydb->type_val_to_struct[avkey.source_type - 1];
H A Dtypecmp.c21 if (k->source_type < c->key.source_type)
23 if (k->source_type == c->key.source_type &&
26 if (k->source_type == c->key.source_type &&
33 k->source_type == c->key.source_type &&
67 key.source_type = 0;
68 if (k->source_type
[all...]
H A Dutils.c15 policydb->p_type_val_to_name[key->source_type
16 ? key->source_type - 1 : idx],
17 key->target_type == key->source_type ? "self" :
/external/selinux/libsepol/src/
H A Davtab.c78 mix(keyp->source_type);
143 if (key->source_type == cur->key.source_type &&
151 if (key->source_type < cur->key.source_type)
153 if (key->source_type == cur->key.source_type &&
156 if (key->source_type == cur->key.source_type &&
186 if (key->source_type
[all...]
H A Dhierarchy.c171 s = a->p->type_val_to_struct[k->source_type - 1];
179 key.source_type = t1->s.value;
198 key.source_type = k->source_type;
213 key.source_type = t1->s.value;
236 a->p->p_type_val_to_name[k->source_type - 1],
H A Dassertion.c73 avkey.source_type = stype + 1;
H A Dexpand.c1489 if ((check_rt->source_type == stype) &&
1523 rt->source_type = stype;
1697 avkey.source_type = stype + 1;
1733 p->p_type_val_to_name[avkey.source_type -
1744 p->p_type_val_to_name[avkey.source_type - 1],
1827 avkey.source_type = stype + 1;
3229 type_datum_t *stype = p->type_val_to_struct[k->source_type - 1];
3231 ebitmap_t *sattr = &p->attr_type_map[k->source_type - 1];
3248 newkey.source_type = k->source_type;
[all...]
H A Dconditional.c914 if (cur_av->node->key.source_type == key->source_type &&
H A Dmls.c619 if (rtr->source_type == scontext->type &&
H A Dwrite.c122 val = cur->key.source_type;
217 buf16[0] = cpu_to_le16(cur->key.source_type);
1524 buf[0] = cpu_to_le32(rt->source_type);
H A Dservices.c879 avkey.source_type = i + 1;
1354 avkey.source_type = scontext->type;
H A Dpolicydb.c3127 rt->source_type = le32_to_cpu(buf[0]);
3160 if (ebitmap_set_bit(&rtr->stypes.types, rt->source_type - 1, 1))
/external/skia/src/utils/
H A DSkTFitsIn.h28 typedef S source_type; typedef in struct:sktfitsin::Private::SkTOutOfRange_False
39 typedef S source_type; typedef in struct:sktfitsin::Private::SkTOutOfRange_LT_MinD
51 typedef S source_type; typedef in struct:sktfitsin::Private::SkTOutOfRange_LT_Zero
62 typedef S source_type; typedef in struct:sktfitsin::Private::SkTOutOfRange_GT_MaxD
76 typedef typename OutOfRange_Low::source_type source_type; typedef in struct:sktfitsin::Private::SkTOutOfRange_Either
77 static bool apply(source_type s) {
91 typedef SkTOutOfRange_False<typename OutOfRange_Low::source_type> Neither;
/external/sepolicy/tools/
H A Dsepolicy-check.c63 int expand_and_check(int s_op, uint32_t source_type, argument
86 match &= check(s_op, source_type, cur->key.source_type);
128 key.source_type = key.target_type = key.target_class = 0;
167 key.source_type = src->s.value;
174 match = expand_and_check(s_op, key.source_type,
182 return expand_and_check(s_op, key.source_type,
/external/valgrind/none/tests/s390x/
H A Dfpconv.c61 #define F2I(insn, initial, source_type, target_type) \
64 source_type source = initial; \
/external/selinux/checkpolicy/
H A Dcheckpolicy.c172 if (k->source_type < c->key.source_type)
174 if (k->source_type == c->key.source_type &&
177 if (k->source_type == c->key.source_type &&
206 if (insert_type_rule(k, d, &type_rules[k->source_type - 1]))
254 if (l2->key.source_type == (j + 1)) {
255 if (l1->key.source_type != (i + 1))
258 if (l1->key.source_type !
[all...]
/external/selinux/libsepol/include/sepol/policydb/
H A Davtab.h50 uint16_t source_type; member in struct:avtab_key
H A Dpolicydb.h218 uint32_t source_type; member in struct:range_trans
/external/selinux/policycoreutils/sepolgen-ifgen/
H A Dsepolgen-ifgen-attr-helper.c91 stype = p->p_type_val_to_name[key->source_type - 1];
115 if (key->source_type != cb_data->attr)
/external/selinux/checkpolicy/test/
H A Ddispol.c116 stype = p->p_type_val_to_name[key->source_type - 1];
124 fprintf(fp, "%u %s : %s ", key->source_type, ttype, tclass);
126 fprintf(fp, "%u %u : %s ", key->source_type, key->target_type,
/external/lldb/include/lldb/Symbol/
H A DClangASTContext.h198 ClangASTType source_type);
/external/selinux/libsepol/cil/src/
H A Dcil_binary.c991 if (cur_av->node->key.source_type == key->source_type &&
1009 avtab_key.source_type = src;
1287 avtab_key.source_type = src;
2676 new->source_type = sepol_src->s.value;
3676 (k->source_type << 5)) & (h->size - 1));
3686 return a->source_type != b->source_type || a->target_type != b->target_type || a->target_class != b->target_class;

Completed in 4919 milliseconds