Home
last modified time | relevance | path

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

12

/external/selinux/libsepol/src/
Dexpand.c1448 ebitmap_t stypes, ttypes; in expand_filename_trans() local
1454 ebitmap_init(&stypes); in expand_filename_trans()
1458 &cur_rule->stypes, &stypes, 1)) { in expand_filename_trans()
1470 ebitmap_for_each_positive_bit(&stypes, snode, i) { in expand_filename_trans()
1487 ebitmap_destroy(&stypes); in expand_filename_trans()
1568 ebitmap_t stypes, ttypes; in expand_range_trans() local
1575 ebitmap_init(&stypes); in expand_range_trans()
1580 &rule->stypes, &stypes, 1)) { in expand_range_trans()
1586 ebitmap_destroy(&stypes); in expand_range_trans()
1592 ebitmap_for_each_positive_bit(&stypes, snode, i) { in expand_range_trans()
[all …]
Dassertion.c237 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in report_assertion_avtab_matches()
392 rc = ebitmap_and(&src_matches, &avrule->stypes.types, in check_assertion_extended_permissions()
454 rc = ebitmap_and(&src_matches, &avrule->stypes.types, &p->attr_type_map[k->source_type - 1]); in check_assertion_self_match()
485 if (!ebitmap_match_any(&avrule->stypes.types, &p->attr_type_map[k->source_type - 1])) in check_assertion_avtab_match()
Dpolicydb.c617 type_set_init(&x->stypes); in avrule_init()
628 type_set_destroy(&x->stypes); in avrule_destroy()
673 type_set_init(&x->stypes); in filename_trans_rule_init()
681 type_set_destroy(&x->stypes); in filename_trans_rule_destroy()
722 type_set_init(&x->stypes); in range_trans_rule_init()
731 type_set_destroy(&x->stypes); in range_trans_rule_destroy()
1425 ebitmap_destroy(&fd->stypes); in filenametr_destroy()
2614 if (ebitmap_get_bit(&datum->stypes, stype - 1)) { in policydb_filetrans_insert()
2629 ebitmap_init(&datum->stypes); in policydb_filetrans_insert()
2671 return ebitmap_set_bit(&datum->stypes, stype - 1, 1); in policydb_filetrans_insert()
[all …]
Dmodule_to_cil.c1198 ts = &avrule->stypes; in avrule_list_to_cil()
1526 char **stypes = NULL; in range_trans_to_cil() local
1541 ts = &rule->stypes; in range_trans_to_cil()
1542 rc = process_typeset(pdb, ts, attr_list, &stypes, &num_stypes); in range_trans_to_cil()
1557 …cil_printf("(rangetransition %s %s %s ", stypes[stype], ttypes[ttype], pdb->p_class_val_to_name[i]… in range_trans_to_cil()
1579 names_destroy(&stypes, &num_stypes); in range_trans_to_cil()
1586 names_destroy(&stypes, &num_stypes); in range_trans_to_cil()
1595 char **stypes = NULL; in filename_trans_to_cil() local
1605 ts = &rule->stypes; in filename_trans_to_cil()
1606 rc = process_typeset(pdb, ts, attr_list, &stypes, &num_stypes); in filename_trans_to_cil()
[all …]
Dpolicydb_validate.c877 if (validate_type_set(&avrule->stypes, &flavors[SYM_TYPES])) in validate_avrules()
1091 if (validate_ebitmap(&ftd->stypes, &flavors[SYM_TYPES])) in validate_filename_trans()
1236 if (validate_type_set(&range_trans->stypes, &flavors[SYM_TYPES])) in validate_range_trans_rules()
1283 if (validate_type_set(&filename_trans->stypes, &flavors[SYM_TYPES])) in validate_filename_trans_rules()
Dlink.c1247 (&cur->stypes, &new_rule->stypes, module) == -1 in copy_avrule_list()
1444 if (type_set_or_convert(&cur->stypes, &new_rule->stypes, module) || in copy_filename_trans_list()
1477 if (type_set_convert(&rule->stypes, &new_rule->stypes, in copy_range_trans_list()
Dwrite.c583 ebitmap_for_each_positive_bit(&datum->stypes, node, bit) { in filename_write_one_compat()
642 if (ebitmap_write(&datum->stypes, fp)) in filename_write_one()
1765 if (type_set_write(&avrule->stypes, fp)) in avrule_write()
1969 if (type_set_write(&ftr->stypes, fp)) in filename_trans_rule_write()
2010 if (type_set_write(&rt->stypes, fp)) in range_trans_rule_write()
Dkernel_to_conf.c1870 ebitmap_for_each_positive_bit(&datum->stypes, node, bit) { in map_filename_trans_to_str()
Dkernel_to_cil.c1894 ebitmap_for_each_positive_bit(&datum->stypes, node, bit) { in map_filename_trans_to_str()
/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.c222 void hs20_put_anqp_req(u32 stypes, const u8 *payload, size_t payload_len, in hs20_put_anqp_req() argument
233 if (stypes == BIT(HS20_STYPE_NAI_HOME_REALM_QUERY)) { in hs20_put_anqp_req()
238 } else if (stypes == BIT(HS20_STYPE_ICON_REQUEST)) { in hs20_put_anqp_req()
248 if (stypes & BIT(i)) in hs20_put_anqp_req()
258 static struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload, in hs20_build_anqp_req() argument
267 hs20_put_anqp_req(stypes, payload, payload_len, buf); in hs20_build_anqp_req()
273 int hs20_anqp_send_req(struct wpa_supplicant *wpa_s, const u8 *dst, u32 stypes, in hs20_anqp_send_req() argument
295 "subtypes 0x%x", MAC2STR(dst), stypes); in hs20_anqp_send_req()
297 buf = hs20_build_anqp_req(stypes, payload, payload_len); in hs20_anqp_send_req()
/external/yapf/yapf/yapflib/
Dformat_token.py121 stypes = pytree_utils.GetNodeAnnotation(node,
123 self.subtypes = {subtypes.NONE} if not stypes else stypes
Dsplit_penalty.py260 stypes = pytree_utils.GetNodeAnnotation(
262 if stypes and subtypes.SUBSCRIPT_BRACKET in stypes:
323 stypes = pytree_utils.GetNodeAnnotation(
325 if stypes and subtypes.SUBSCRIPT_BRACKET in stypes:
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h172 ebitmap_t stypes; member
290 type_set_t stypes; member
318 type_set_t stypes; member
327 type_set_t stypes; member
/external/selinux/checkpolicy/
Dpolicy_define.c1631 if (set_types(&avrule->stypes, id, &add, 0)) in define_compute_type_helper()
2068 (&avrule->stypes, id, &add, in define_te_avtab_xperms_helper()
2353 if (type_set_cpy(&dest->stypes, &src->stypes)) { in avrule_cpy()
2530 (&avrule->stypes, id, &add, in define_te_avtab_helper()
3304 type_set_t stypes, ttypes; in define_filename_trans() local
3333 type_set_init(&stypes); in define_filename_trans()
3341 if (set_types(&stypes, id, &add, 0)) in define_filename_trans()
3392 if (type_set_expand(&stypes, &e_stypes, policydbp, 1)) in define_filename_trans()
3448 if (type_set_cpy(&ftr->stypes, &stypes)) { in define_filename_trans()
3465 type_set_destroy(&stypes); in define_filename_trans()
[all …]
/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.c257 if (display_type_set(&avrule->stypes, 0, policy, fp)) in display_avrule()
512 display_type_set(&tr->stypes, 0, p, fp); in display_filename_trans()
Ddispol.c347 ebitmap_for_each_positive_bit(&ftdatum->stypes, node, bit) { in filenametr_display()
/external/vulkan-validation-layers/scripts/
Dparameter_validation_generator.py207 … self.stypes = [] # Values from the VkStructureType enumeration
407 self.stypes = []
582 self.stypes.append(elem.get('name'))
/external/selinux/libsepol/cil/src/
Dcil_binary.c4623 __cil_init_sepol_type_set(&avrule->stypes); in __cil_init_sepol_avrule()
4648 ebitmap_destroy(&curr->stypes.types); in __cil_destroy_sepol_avrules()
4649 ebitmap_destroy(&curr->stypes.negset); in __cil_destroy_sepol_avrules()
4809 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.c2711 static const int stypes[] = { in nl80211_mgmt_subscribe_ap() local
2732 for (i = 0; i < ARRAY_SIZE(stypes); i++) { in nl80211_mgmt_subscribe_ap()
2735 (stypes[i] << 4), in nl80211_mgmt_subscribe_ap()
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h54295 struct ebitmap stypes; member
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h82891 struct ebitmap stypes; member
Dvmlinux.h82891 struct ebitmap stypes; member

12