Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dexpand.c1392 ebitmap_t stypes, ttypes; in expand_filename_trans() local
1400 ebitmap_init(&stypes); in expand_filename_trans()
1404 &cur_rule->stypes, &stypes, 1)) { in expand_filename_trans()
1417 ebitmap_for_each_bit(&stypes, snode, i) { in expand_filename_trans()
1483 ebitmap_destroy(&stypes); in expand_filename_trans()
1564 ebitmap_t stypes, ttypes; in expand_range_trans() local
1571 ebitmap_init(&stypes); in expand_range_trans()
1576 &rule->stypes, &stypes, 1)) { in expand_range_trans()
1582 ebitmap_destroy(&stypes); in expand_range_trans()
1588 ebitmap_for_each_bit(&stypes, snode, i) { in expand_range_trans()
[all …]
Dassertion.c236 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in report_assertion_avtab_matches()
252 rc = ebitmap_and(&self_matches, &avrule->stypes.types, &matches); in report_assertion_avtab_matches()
405 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in check_assertion_extended_permissions()
423 rc = ebitmap_and(&self_matches, &avrule->stypes.types, &matches); in check_assertion_extended_permissions()
480 rc = ebitmap_match_any(&avrule->stypes.types, &p->attr_type_map[k->source_type - 1]); in check_assertion_avtab_match()
496 rc2 = ebitmap_match_any(&avrule->stypes.types, &match); in check_assertion_avtab_match()
Dmodule_to_cil.c1208 ts = &avrule->stypes; in avrule_list_to_cil()
1542 char **stypes = NULL; in range_trans_to_cil() local
1557 ts = &rule->stypes; in range_trans_to_cil()
1558 rc = process_typeset(pdb, ts, attr_list, &stypes, &num_stypes); in range_trans_to_cil()
1577 …cil_printf("(rangetransition %s %s %s ", stypes[stype], ttypes[ttype], pdb->p_class_val_to_name[i]… in range_trans_to_cil()
1599 names_destroy(&stypes, &num_stypes); in range_trans_to_cil()
1606 names_destroy(&stypes, &num_stypes); in range_trans_to_cil()
1615 char **stypes = NULL; in filename_trans_to_cil() local
1625 ts = &rule->stypes; in filename_trans_to_cil()
1626 rc = process_typeset(pdb, ts, attr_list, &stypes, &num_stypes); in filename_trans_to_cil()
[all …]
Dlink.c1282 (&cur->stypes, &new_rule->stypes, module, state) == -1 in copy_avrule_list()
1491 if (type_set_or_convert(&cur->stypes, &new_rule->stypes, module, state) || in copy_filename_trans_list()
1525 if (type_set_convert(&rule->stypes, &new_rule->stypes, in copy_range_trans_list()
Dpolicydb.c575 type_set_init(&x->stypes); in avrule_init()
586 type_set_destroy(&x->stypes); in avrule_destroy()
631 type_set_init(&x->stypes); in filename_trans_rule_init()
639 type_set_destroy(&x->stypes); in filename_trans_rule_destroy()
680 type_set_init(&x->stypes); in range_trans_rule_init()
689 type_set_destroy(&x->stypes); in range_trans_rule_destroy()
3319 if (type_set_read(&avrule->stypes, fp)) in avrule_read()
3460 if (ebitmap_set_bit(&rtr->stypes.types, rt->source_type - 1, 1)) in range_read()
3659 if (type_set_read(&ftr->stypes, fp)) in filename_trans_rule_read()
3699 if (type_set_read(&rt->stypes, fp)) in range_trans_rule_read()
Dwrite.c1661 if (type_set_write(&avrule->stypes, fp)) in avrule_write()
1860 if (type_set_write(&ftr->stypes, fp)) in filename_trans_rule_write()
1890 if (type_set_write(&rt->stypes, fp)) in range_trans_rule_write()
/external/wpa_supplicant_8/wpa_supplicant/
Dhs20_supplicant.h17 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
19 void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len,
Dhs20_supplicant.c213 void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len, in hs20_put_anqp_req() argument
224 if (stypes == BIT(HS20_STYPE_NAI_HOME_REALM_QUERY)) { in hs20_put_anqp_req()
229 } else if (stypes == BIT(HS20_STYPE_ICON_REQUEST)) { in hs20_put_anqp_req()
239 if (stypes & BIT(i)) in hs20_put_anqp_req()
249 static struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload, in hs20_build_anqp_req() argument
258 hs20_put_anqp_req(stypes, payload, payload_len, buf); in hs20_build_anqp_req()
264 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes, in hs20_anqp_send_req() argument
286 "subtypes 0x%x", MAC2STR(dst), stypes); in hs20_anqp_send_req()
288 buf = hs20_build_anqp_req(stypes, payload, payload_len); in hs20_anqp_send_req()
/external/selinux/checkpolicy/
Dcheckpolicy.h7 ebitmap_t stypes; member
Dpolicy_define.c1644 if (set_types(&avrule->stypes, id, &add, 0)) in define_compute_type_helper()
2071 (&avrule->stypes, id, &add, in define_te_avtab_xperms_helper()
2369 if (type_set_cpy(&dest->stypes, &src->stypes)) { in avrule_cpy()
2536 (&avrule->stypes, id, &add, in define_te_avtab_helper()
3327 type_set_t stypes, ttypes; in define_filename_trans() local
3358 type_set_init(&stypes); in define_filename_trans()
3366 if (set_types(&stypes, id, &add, 0)) in define_filename_trans()
3407 if (type_set_expand(&stypes, &e_stypes, policydbp, 1)) in define_filename_trans()
3473 if (type_set_cpy(&ftr->stypes, &stypes)) { in define_filename_trans()
3489 type_set_destroy(&stypes); in define_filename_trans()
[all …]
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h288 type_set_t stypes; member
315 type_set_t stypes; member
324 type_set_t stypes; member
/external/python/cpython2/Demo/tix/
Dtixwidgets.py868 stypes = {} variable
869 stypes['widget'] = ['Balloon', 'Button Box', 'Combo Box', 'Control',
873 stypes['image'] = ['Compound Image']
931 for key in stypes[type]:
/external/selinux/checkpolicy/test/
Ddismod.c258 if (display_type_set(&avrule->stypes, 0, policy, fp)) in display_avrule()
513 display_type_set(&tr->stypes, 0, p, fp); in display_filename_trans()
/external/vulkan-validation-layers/scripts/
Dparameter_validation_generator.py198 … self.stypes = [] # Values from the VkStructureType enumeration
398 self.stypes = []
573 self.stypes.append(elem.get('name'))
/external/selinux/libsepol/cil/src/
Dcil_binary.c4525 __cil_init_sepol_type_set(&avrule->stypes); in __cil_init_sepol_avrule()
4550 ebitmap_destroy(&curr->stypes.types); in __cil_destroy_sepol_avrules()
4551 ebitmap_destroy(&curr->stypes.negset); in __cil_destroy_sepol_avrules()
4700 rc = __cil_add_sepol_type(pdb, db, cil_rule->src, &rule->stypes.types); in cil_check_neverallow()
/external/python/cpython3/Doc/library/
Demail.policy.rst424 header field types, and the major MIME header field stypes. Support for
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c2418 static const int stypes[] = { in nl80211_mgmt_subscribe_ap() local
2439 for (i = 0; i < ARRAY_SIZE(stypes); i++) { in nl80211_mgmt_subscribe_ap()
2442 (stypes[i] << 4), in nl80211_mgmt_subscribe_ap()