Home
last modified time | relevance | path

Searched refs:CIL_TUNABLE (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_flavor.h164 CIL_TUNABLE, enumerator
Dcil_verify.c175 if (expr_flavor != CIL_BOOL && expr_flavor != CIL_TUNABLE ) { in cil_verify_expr_syntax()
181 if (expr_flavor == CIL_BOOL || expr_flavor == CIL_TUNABLE) { in cil_verify_expr_syntax()
Dcil.c536 case CIL_TUNABLE: in cil_destroy_data()
821 case CIL_TUNABLE: in cil_flavor_to_symtab_index()
933 case CIL_TUNABLE: in cil_node_to_string()
Dcil_write_ast.c1296 case CIL_TUNABLE: in __cil_write_node_helper()
Dcil_tree.c1023 case CIL_TUNABLE: { in cil_tree_print_node()
Dcil_resolve_ast.c3176 case CIL_TUNABLE: in cil_resolve_expr()
3705 if (node->flavor == CIL_TUNABLE || node->flavor == CIL_MACRO) { in __cil_resolve_ast_node_helper()
Dcil_copy_ast.c1897 case CIL_TUNABLE: in __cil_copy_node_helper()
Dcil_build_ast.c2509 …b, ast_node, (struct cil_symtab_datum*)tunable, (hashtab_key_t)key, CIL_SYM_TUNABLES, CIL_TUNABLE); in cil_gen_tunable()
2940 rc = cil_gen_expr(parse_current->next, CIL_TUNABLE, &tif->str_expr); in cil_gen_tunif()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c5526 int rc = cil_gen_bool(test_db, test_tree->root->cl_head->cl_head, test_ast_node, CIL_TUNABLE); in test_cil_gen_bool_tunable_true()
5530 CuAssertIntEquals(tc, test_ast_node->flavor, CIL_TUNABLE); in test_cil_gen_bool_tunable_true()
5570 int rc = cil_gen_bool(test_db, test_tree->root->cl_head->cl_head, test_ast_node, CIL_TUNABLE); in test_cil_gen_bool_tunable_false()
5574 CuAssertIntEquals(tc, test_ast_node->flavor, CIL_TUNABLE); in test_cil_gen_bool_tunable_false()