Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/wpa_supplicant/
Dhs20_supplicant.h13 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes,
15 struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
17 void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len,
Dhs20_supplicant.c132 void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len, in hs20_put_anqp_req() argument
143 if (stypes == BIT(HS20_STYPE_NAI_HOME_REALM_QUERY)) { in hs20_put_anqp_req()
148 } else if (stypes == BIT(HS20_STYPE_ICON_REQUEST)) { in hs20_put_anqp_req()
158 if (stypes & BIT(i)) in hs20_put_anqp_req()
168 struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload, in hs20_build_anqp_req() argument
177 hs20_put_anqp_req(stypes, payload, payload_len, buf); in hs20_build_anqp_req()
183 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes, in hs20_anqp_send_req() argument
205 "subtypes 0x%x", MAC2STR(dst), stypes); in hs20_anqp_send_req()
207 buf = hs20_build_anqp_req(stypes, payload, payload_len); in hs20_anqp_send_req()
/external/selinux/libsepol/src/
Dexpand.c1389 ebitmap_t stypes, ttypes; in expand_filename_trans() local
1396 ebitmap_init(&stypes); in expand_filename_trans()
1400 &cur_rule->stypes, &stypes, 1)) { in expand_filename_trans()
1413 ebitmap_for_each_bit(&stypes, snode, i) { in expand_filename_trans()
1467 ebitmap_destroy(&stypes); in expand_filename_trans()
1544 ebitmap_t stypes, ttypes; in expand_range_trans() local
1551 ebitmap_init(&stypes); in expand_range_trans()
1556 &rule->stypes, &stypes, 1)) { in expand_range_trans()
1562 ebitmap_destroy(&stypes); in expand_range_trans()
1568 ebitmap_for_each_bit(&stypes, snode, i) { in expand_range_trans()
[all …]
Dassertion.c235 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in report_assertion_avtab_matches()
247 rc = ebitmap_and(&tgt_matches, &avrule->stypes.types, &matches); in report_assertion_avtab_matches()
395 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in check_assertion_extended_permissions()
408 rc = ebitmap_and(&tgt_matches, &avrule->stypes.types, &matches); in check_assertion_extended_permissions()
464 rc = ebitmap_match_any(&avrule->stypes.types, &p->attr_type_map[k->source_type - 1]); in check_assertion_avtab_match()
480 rc = ebitmap_match_any(&avrule->stypes.types, &match); in check_assertion_avtab_match()
Dmodule_to_cil.c1073 ts = &avrule->stypes; in avrule_list_to_cil()
1441 char **stypes = NULL; in range_trans_to_cil() local
1456 ts = &rule->stypes; in range_trans_to_cil()
1457 rc = process_typeset(indent, pdb, ts, NULL, &stypes, &num_stypes); in range_trans_to_cil()
1476 …cil_printf("(rangetransition %s %s %s ", stypes[stype], ttypes[ttype], pdb->p_class_val_to_name[i]… in range_trans_to_cil()
1498 names_destroy(&stypes, &num_stypes); in range_trans_to_cil()
1505 names_destroy(&stypes, &num_stypes); in range_trans_to_cil()
1514 char **stypes = NULL; in filename_trans_to_cil() local
1525 ts = &rule->stypes; in filename_trans_to_cil()
1526 rc = process_typeset(indent, pdb, ts, NULL, &stypes, &num_stypes); in filename_trans_to_cil()
[all …]
Dpolicydb.c538 type_set_init(&x->stypes); in avrule_init()
549 type_set_destroy(&x->stypes); in avrule_destroy()
592 type_set_init(&x->stypes); in filename_trans_rule_init()
600 type_set_destroy(&x->stypes); in filename_trans_rule_destroy()
641 type_set_init(&x->stypes); in range_trans_rule_init()
650 type_set_destroy(&x->stypes); in range_trans_rule_destroy()
3058 if (type_set_read(&avrule->stypes, fp)) in avrule_read()
3160 if (ebitmap_set_bit(&rtr->stypes.types, rt->source_type - 1, 1)) in range_read()
3354 if (type_set_read(&ftr->stypes, fp)) in filename_trans_rule_read()
3394 if (type_set_read(&rt->stypes, fp)) in range_trans_rule_read()
Dlink.c1282 (&cur->stypes, &new_rule->stypes, module, state) == -1 in copy_avrule_list()
1482 if (type_set_or_convert(&cur->stypes, &new_rule->stypes, module, state) || in copy_filename_trans_list()
1516 if (type_set_convert(&rule->stypes, &new_rule->stypes, in copy_range_trans_list()
Dwrite.c1566 if (type_set_write(&avrule->stypes, fp)) in avrule_write()
1727 if (type_set_write(&ftr->stypes, fp)) in filename_trans_rule_write()
1757 if (type_set_write(&rt->stypes, fp)) in range_trans_rule_write()
/external/selinux/checkpolicy/
Dcheckpolicy.h7 ebitmap_t stypes; member
Dpolicy_define.c1543 if (set_types(&avrule->stypes, id, &add, 0)) in define_compute_type_helper()
1968 (&avrule->stypes, id, &add, in define_te_avtab_xperms_helper()
2261 if (type_set_cpy(&dest->stypes, &src->stypes)) { in avrule_cpy()
2427 (&avrule->stypes, id, &add, in define_te_avtab_helper()
3204 type_set_t stypes, ttypes; in define_filename_trans() local
3236 type_set_init(&stypes); in define_filename_trans()
3238 if (set_types(&stypes, id, &add, 0)) in define_filename_trans()
3281 if (type_set_expand(&stypes, &e_stypes, policydbp, 1)) in define_filename_trans()
3344 if (type_set_cpy(&ftr->stypes, &stypes)) { in define_filename_trans()
5397 if (set_types(&rule->stypes, id, &add, 0)) in define_range_trans()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h280 type_set_t stypes; member
307 type_set_t stypes; member
316 type_set_t stypes; member
/external/selinux/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/vulkan-validation-layers/
Dgenerator.py2722 … self.stypes = [] # Values from the VkStructureType enumeration
2788 self.stypes = []
2910 self.stypes.append(name)
/external/selinux/libsepol/cil/src/
Dcil_binary.c4234 __cil_init_sepol_type_set(&avrule->stypes); in __cil_init_sepol_avrule()
4250 ebitmap_destroy(&curr->stypes.types); in __cil_destroy_sepol_avrules()
4251 ebitmap_destroy(&curr->stypes.negset); in __cil_destroy_sepol_avrules()
4403 rc = __cil_add_sepol_type(pdb, db, cil_rule->src, &rule->stypes.types); in cil_check_neverallow()
/external/wpa_supplicant_8/src/drivers/
Ddriver_nl80211.c2055 static const int stypes[] = { in nl80211_mgmt_subscribe_ap() local
2077 for (i = 0; i < ARRAY_SIZE(stypes); i++) { in nl80211_mgmt_subscribe_ap()
2080 (stypes[i] << 4), in nl80211_mgmt_subscribe_ap()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.jdt.launching_3.5.100.v20100526.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...