Searched refs:SYM_BOOLS (Results 1 – 10 of 10) sorted by relevance
/external/selinux/libsepol/tests/ |
D | test-linker-cond-map.c | 72 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()
|
D | test-common.c | 115 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/ |
D | policydb.h | 378 #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/ |
D | semodule_deps.c | 166 if (!(i == SYM_TYPES || i == SYM_BOOLS)) in generate_requires()
|
/external/selinux/libsepol/src/ |
D | link.c | 658 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()
|
D | expand.c | 1079 if (!is_id_enabled(id, state->base, SYM_BOOLS)) { in bool_copy_callback()
|
/external/selinux/checkpolicy/test/ |
D | dismod.c | 365 display_id(p, fp, SYM_BOOLS, i, ""); in display_bools()
|
/external/selinux/checkpolicy/ |
D | module_compiler.c | 1070 require_symbol(SYM_BOOLS, id, (hashtab_datum_t *) booldatum, in require_bool_tunable()
|
D | policy_define.c | 1677 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/ |
D | cil_binary.c | 775 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()
|