Home
last modified time | relevance | path

Searched refs:SYM_BOOLS (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsepol/tests/
Dtest-linker-cond-map.c72 CU_ASSERT(strcmp(p->sym_val_to_name[SYM_BOOLS][expr->bool - 1], bools[i].bool) == 0); in test_cond_expr_mapping()
99 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
109 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
127 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
137 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
147 test_sym_presence(base, "g_m2_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
148 test_sym_presence(base, "g_m2_bool_2", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
Dtest-common.c115 CU_ASSERT(p->sym_val_to_name[SYM_BOOLS][d->s.value - 1] == (char *)key); in cond_test_index()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h378 #define SYM_BOOLS 5 macro
415 #define p_bools_scope scope[SYM_BOOLS]
509 #define p_bools symtab[SYM_BOOLS]
520 #define p_bool_val_to_name sym_val_to_name[SYM_BOOLS]
/external/selinux/policycoreutils/semodule_deps/
Dsemodule_deps.c166 if (!(i == SYM_TYPES || i == SYM_BOOLS)) in generate_requires()
/external/selinux/libsepol/src/
Dlink.c658 state->cur->map[SYM_BOOLS][booldatum->s.value - 1] = base_bool->s.value; in bool_copy_callback()
1574 assert(module->map[SYM_BOOLS][cur_expr->bool - 1] != 0); in copy_cond_list()
1576 module->map[SYM_BOOLS][cur_expr->bool - 1]; in copy_cond_list()
1582 module->map[SYM_BOOLS][cur->bool_ids[i] - 1]; in copy_cond_list()
Dexpand.c1079 if (!is_id_enabled(id, state->base, SYM_BOOLS)) { in bool_copy_callback()
/external/selinux/checkpolicy/test/
Ddismod.c365 display_id(p, fp, SYM_BOOLS, i, ""); in display_bools()
/external/selinux/checkpolicy/
Dmodule_compiler.c1070 require_symbol(SYM_BOOLS, id, (hashtab_datum_t *) booldatum, in require_bool_tunable()
Dpolicy_define.c1677 ret = declare_symbol(SYM_BOOLS, id, datum, &value, &value); in define_bool_tunable()
3988 if (!is_id_in_scope(SYM_BOOLS, id)) { in define_cond_expr()
/external/selinux/libsepol/cil/src/
Dcil_binary.c775 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()