Lines Matching refs:syntax
62 enum cil_syntax syntax[] = { in cil_fill_list() enum
66 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_fill_list()
68 rc = __cil_verify_syntax(current, syntax, syntax_len); in cil_fill_list()
155 enum cil_syntax syntax[] = { in cil_gen_block() enum
161 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_block()
170 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_block()
211 enum cil_syntax syntax[] = { in cil_gen_blockinherit() enum
216 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_blockinherit()
224 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_blockinherit()
256 enum cil_syntax syntax[] = { in cil_gen_blockabstract() enum
261 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_blockabstract()
269 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_blockabstract()
301 enum cil_syntax syntax[] = { in cil_gen_in() enum
307 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_in()
315 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_in()
348 enum cil_syntax syntax[] = { in cil_gen_class() enum
354 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_class()
360 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_class()
406 enum cil_syntax syntax[] = { in cil_gen_classorder() enum
411 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_classorder()
419 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_classorder()
534 enum cil_syntax syntax[] = { in cil_fill_perms() enum
538 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_fill_perms()
540 rc = __cil_verify_syntax(start_perm->cl_head, syntax, syntax_len); in cil_fill_perms()
560 enum cil_syntax syntax[] = { in cil_fill_classperms() enum
565 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_fill_classperms()
567 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_fill_classperms()
621 enum cil_syntax syntax[] = { in cil_fill_classperms_list() enum
624 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_fill_classperms_list()
630 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_fill_classperms_list()
690 enum cil_syntax syntax[] = { in cil_gen_classpermission() enum
695 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_classpermission()
701 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_classpermission()
748 enum cil_syntax syntax[] = { in cil_gen_classpermissionset() enum
754 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_classpermissionset()
760 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_classpermissionset()
799 enum cil_syntax syntax[] = { in cil_gen_map_class() enum
805 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_map_class()
810 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_map_class()
843 enum cil_syntax syntax[] = { in cil_gen_classmapping() enum
850 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_classmapping()
856 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_classmapping()
897 enum cil_syntax syntax[] = { in cil_gen_common() enum
903 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_common()
912 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_common()
944 enum cil_syntax syntax[] = { in cil_gen_classcommon() enum
950 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_classcommon()
958 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_classcommon()
992 enum cil_syntax syntax[] = { in cil_gen_sid() enum
997 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_sid()
1006 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_sid()
1042 enum cil_syntax syntax[] = { in cil_gen_sidcontext() enum
1048 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_sidcontext()
1056 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_sidcontext()
1103 enum cil_syntax syntax[] = { in cil_gen_sidorder() enum
1108 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_sidorder()
1116 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_sidorder()
1154 enum cil_syntax syntax[] = { in cil_gen_user() enum
1159 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_user()
1168 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_user()
1205 enum cil_syntax syntax[] = { in cil_gen_userlevel() enum
1211 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_userlevel()
1219 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_userlevel()
1266 enum cil_syntax syntax[] = { in cil_gen_userrange() enum
1272 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_userrange()
1280 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_userrange()
1327 enum cil_syntax syntax[] = { in cil_gen_userprefix() enum
1333 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_userprefix()
1341 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_userprefix()
1373 enum cil_syntax syntax[] = { in cil_gen_selinuxuser() enum
1380 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_selinuxuser()
1388 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_selinuxuser()
1422 enum cil_syntax syntax[] = { in cil_gen_selinuxuserdefault() enum
1428 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_selinuxuserdefault()
1436 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_selinuxuserdefault()
1483 enum cil_syntax syntax[] = { in cil_gen_role() enum
1488 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_role()
1497 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_role()
1535 enum cil_syntax syntax[] = { in cil_gen_roletype() enum
1541 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_roletype()
1549 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_roletype()
1582 enum cil_syntax syntax[] = { in cil_gen_userrole() enum
1588 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_userrole()
1596 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_userrole()
1629 enum cil_syntax syntax[] = { in cil_gen_roletransition() enum
1637 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_roletransition()
1645 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_roletransition()
1680 enum cil_syntax syntax[] = { in cil_gen_roleallow() enum
1686 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_roleallow()
1694 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_roleallow()
1727 enum cil_syntax syntax[] = { in cil_gen_roleattribute() enum
1732 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_roleattribute()
1741 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_roleattribute()
1797 enum cil_syntax syntax[] = { in cil_gen_roleattributeset() enum
1803 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_roleattributeset()
1811 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_roleattributeset()
1851 enum cil_syntax syntax[] = { in cil_gen_avrule() enum
1858 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_avrule()
1866 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_avrule()
1908 enum cil_syntax syntax[] = { in cil_gen_type_rule() enum
1916 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_type_rule()
1924 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_type_rule()
1960 enum cil_syntax syntax[] = { in cil_gen_type() enum
1965 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_type()
1974 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_type()
2015 enum cil_syntax syntax[] = { in cil_gen_typeattribute() enum
2020 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_typeattribute()
2029 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_typeattribute()
2086 enum cil_syntax syntax[] = { in cil_gen_bool() enum
2092 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_bool()
2101 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_bool()
2152 enum cil_syntax syntax[] = { in cil_gen_tunable() enum
2158 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_tunable()
2167 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_tunable()
2508 enum cil_syntax syntax[] = { in cil_gen_boolif() enum
2515 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_boolif()
2525 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_boolif()
2594 enum cil_syntax syntax[] = { in cil_gen_tunif() enum
2601 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_tunif()
2611 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_tunif()
2674 enum cil_syntax syntax[] = { in cil_gen_condblock() enum
2679 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_condblock()
2687 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_condblock()
2726 enum cil_syntax syntax[] = { in cil_gen_alias() enum
2731 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_alias()
2741 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_alias()
2791 enum cil_syntax syntax[] = { in cil_gen_aliasactual() enum
2797 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_aliasactual()
2804 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_aliasactual()
2844 enum cil_syntax syntax[] = { in cil_gen_typeattributeset() enum
2850 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_typeattributeset()
2858 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_typeattributeset()
2897 enum cil_syntax syntax[] = { in cil_gen_typepermissive() enum
2902 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_typepermissive()
2910 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_typepermissive()
2943 enum cil_syntax syntax[] = { in cil_gen_typetransition() enum
2952 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_typetransition()
2959 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_typetransition()
3035 enum cil_syntax syntax[] = { in cil_gen_rangetransition() enum
3043 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_rangetransition()
3051 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_rangetransition()
3102 enum cil_syntax syntax[] = { in cil_gen_sensitivity() enum
3107 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_sensitivity()
3116 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_sensitivity()
3155 enum cil_syntax syntax[] = { in cil_gen_category() enum
3160 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_category()
3169 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_category()
3205 enum cil_syntax syntax[] = { in cil_gen_catset() enum
3211 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_catset()
3220 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_catset()
3264 enum cil_syntax syntax[] = { in cil_gen_catorder() enum
3269 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_catorder()
3277 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_catorder()
3315 enum cil_syntax syntax[] = { in cil_gen_sensitivityorder() enum
3320 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_sensitivityorder()
3328 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_sensitivityorder()
3367 enum cil_syntax syntax[] = { in cil_gen_senscat() enum
3373 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_senscat()
3381 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_senscat()
3420 enum cil_syntax syntax[] = { in cil_gen_level() enum
3426 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_level()
3435 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_level()
3480 enum cil_syntax syntax[] = { in cil_fill_levelrange() enum
3485 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_fill_levelrange()
3492 rc = __cil_verify_syntax(low, syntax, syntax_len); in cil_fill_levelrange()
3527 enum cil_syntax syntax[] = { in cil_gen_levelrange() enum
3533 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_levelrange()
3542 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_levelrange()
3592 enum cil_syntax syntax[] = { in cil_gen_constrain() enum
3598 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_constrain()
3606 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_constrain()
3650 enum cil_syntax syntax[] = { in cil_gen_validatetrans() enum
3656 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_validatetrans()
3664 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_validatetrans()
3707 enum cil_syntax syntax[] = { in cil_fill_context() enum
3714 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_fill_context()
3721 rc = __cil_verify_syntax(user_node, syntax, syntax_len); in cil_fill_context()
3752 enum cil_syntax syntax[] = { in cil_gen_context() enum
3758 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_context()
3767 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_context()
3813 enum cil_syntax syntax[] = { in cil_gen_filecon() enum
3820 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_filecon()
3829 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_filecon()
3904 enum cil_syntax syntax[] = { in cil_gen_portcon() enum
3911 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_portcon()
3920 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_portcon()
4003 enum cil_syntax syntax[] = { in cil_gen_nodecon() enum
4010 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_nodecon()
4018 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_nodecon()
4093 enum cil_syntax syntax[] = { in cil_gen_genfscon() enum
4100 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_genfscon()
4108 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_genfscon()
4157 enum cil_syntax syntax[] = { in cil_gen_netifcon() enum
4164 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_netifcon()
4172 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_netifcon()
4234 enum cil_syntax syntax[] = { in cil_gen_pirqcon() enum
4240 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_pirqcon()
4248 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_pirqcon()
4298 enum cil_syntax syntax[] = { in cil_gen_iomemcon() enum
4304 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_iomemcon()
4312 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_iomemcon()
4384 enum cil_syntax syntax[] = { in cil_gen_ioportcon() enum
4390 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_ioportcon()
4398 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_ioportcon()
4470 enum cil_syntax syntax[] = { in cil_gen_pcidevicecon() enum
4476 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_pcidevicecon()
4484 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_pcidevicecon()
4534 enum cil_syntax syntax[] = { in cil_gen_devicetreecon() enum
4540 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_devicetreecon()
4548 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_devicetreecon()
4595 enum cil_syntax syntax[] = { in cil_gen_fsuse() enum
4602 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_fsuse()
4611 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_fsuse()
4684 enum cil_syntax syntax[] = { in cil_gen_macro() enum
4691 int syntax_len = sizeof(syntax)/ sizeof(*syntax); in cil_gen_macro()
4697 rc =__cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_macro()
4833 enum cil_syntax syntax[] = { in cil_gen_call() enum
4839 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_call()
4847 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_call()
4939 enum cil_syntax syntax[] = { in cil_gen_optional() enum
4945 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_optional()
4954 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_optional()
4989 enum cil_syntax syntax[] = { in cil_gen_policycap() enum
4994 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_policycap()
5003 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_policycap()
5038 enum cil_syntax syntax[] = { in cil_gen_ipaddr() enum
5044 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_ipaddr()
5053 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_ipaddr()
5178 enum cil_syntax syntax[] = { in cil_fill_level() enum
5183 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_fill_level()
5189 rc = __cil_verify_syntax(curr, syntax, syntax_len); in cil_fill_level()
5237 enum cil_syntax syntax[] = { in cil_gen_bounds() enum
5243 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_bounds()
5251 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_bounds()
5300 enum cil_syntax syntax[] = { in cil_gen_default() enum
5306 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_default()
5308 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_default()
5367 enum cil_syntax syntax[] = { in cil_gen_defaultrange() enum
5374 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_defaultrange()
5376 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_defaultrange()
5451 enum cil_syntax syntax[] = { in cil_gen_handleunknown() enum
5456 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_handleunknown()
5464 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_handleunknown()
5504 enum cil_syntax syntax[] = { in cil_gen_mls() enum
5509 int syntax_len = sizeof(syntax)/sizeof(*syntax); in cil_gen_mls()
5516 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_mls()