Home
last modified time | relevance | path

Searched refs:stypes (Results 1 – 10 of 10) sorted by relevance

/external/libsepol/src/
Dexpand.c1322 ebitmap_t stypes, ttypes; in expand_filename_trans() local
1334 ebitmap_init(&stypes); in expand_filename_trans()
1338 &cur_rule->stypes, &stypes, 1)) { in expand_filename_trans()
1351 ebitmap_for_each_bit(&stypes, snode, i) { in expand_filename_trans()
1408 ebitmap_destroy(&stypes); in expand_filename_trans()
1485 ebitmap_t stypes, ttypes; in expand_range_trans() local
1492 ebitmap_init(&stypes); in expand_range_trans()
1497 &rule->stypes, &stypes, 1)) { in expand_range_trans()
1503 ebitmap_destroy(&stypes); in expand_range_trans()
1509 ebitmap_for_each_bit(&stypes, snode, i) { in expand_range_trans()
[all …]
Dassertion.c112 ebitmap_t *stypes = &a->stypes.types; in check_assertions() local
118 ebitmap_for_each_bit(stypes, snode, i) { in check_assertions()
Dpolicydb.c461 type_set_init(&x->stypes); in avrule_init()
472 type_set_destroy(&x->stypes); in avrule_destroy()
513 type_set_init(&x->stypes); in filename_trans_rule_init()
521 type_set_destroy(&x->stypes); in filename_trans_rule_destroy()
562 type_set_init(&x->stypes); in range_trans_rule_init()
571 type_set_destroy(&x->stypes); in range_trans_rule_destroy()
2928 if (type_set_read(&avrule->stypes, fp)) in avrule_read()
3030 if (ebitmap_set_bit(&rtr->stypes.types, rt->source_type - 1, 1)) in range_read()
3224 if (type_set_read(&ftr->stypes, fp)) in filename_trans_rule_read()
3264 if (type_set_read(&rt->stypes, fp)) in range_trans_rule_read()
Dlink.c1231 (&cur->stypes, &new_rule->stypes, module, state) == -1 in copy_avrule_list()
1424 if (type_set_or_convert(&cur->stypes, &new_rule->stypes, module, state) || in copy_filename_trans_list()
1458 if (type_set_convert(&rule->stypes, &new_rule->stypes, in copy_range_trans_list()
Dwrite.c1472 if (type_set_write(&avrule->stypes, fp)) in avrule_write()
1632 if (type_set_write(&ftr->stypes, fp)) in filename_trans_rule_write()
1662 if (type_set_write(&rt->stypes, fp)) in range_trans_rule_write()
/external/checkpolicy/
Dcheckpolicy.h7 ebitmap_t stypes; member
Dpolicy_define.c1403 if (set_types(&avrule->stypes, id, &add, 0)) in define_compute_type_helper()
1617 (&avrule->stypes, id, &add, in define_te_avtab_helper()
2385 type_set_t stypes, ttypes; in define_filename_trans() local
2417 type_set_init(&stypes); in define_filename_trans()
2419 if (set_types(&stypes, id, &add, 0)) in define_filename_trans()
2462 if (type_set_expand(&stypes, &e_stypes, policydbp, 1)) in define_filename_trans()
2525 ftr->stypes = stypes; in define_filename_trans()
4510 if (set_types(&rule->stypes, id, &add, 0)) in define_range_trans()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h244 type_set_t stypes; member
267 type_set_t stypes; member
276 type_set_t stypes; member
/external/checkpolicy/test/
Ddismod.c251 if (display_type_set(&avrule->stypes, 0, policy, fp)) in display_avrule()
488 display_type_set(&tr->stypes, 0, p, fp); in display_filename_trans()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c3139 static const int stypes[] = { in nl80211_mgmt_subscribe_ap() local
3161 for (i = 0; i < sizeof(stypes) / sizeof(stypes[0]); i++) { in nl80211_mgmt_subscribe_ap()
3164 (stypes[i] << 4), in nl80211_mgmt_subscribe_ap()