Searched refs:SYM_BOOLS (Results 1 – 9 of 9) 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 | 117 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 | 396 #define SYM_BOOLS 5 macro 434 #define p_bools_scope scope[SYM_BOOLS] 528 #define p_bools symtab[SYM_BOOLS] 539 #define p_bool_val_to_name sym_val_to_name[SYM_BOOLS]
|
/external/selinux/checkpolicy/ |
D | module_compiler.c | 60 [SYM_BOOLS] = "bool", 1002 require_symbol(SYM_BOOLS, id, (hashtab_datum_t *) booldatum, in require_bool_tunable() 1007 print_error_msg(retval, SYM_BOOLS); in require_bool_tunable()
|
D | policy_define.c | 1775 ret = declare_symbol(SYM_BOOLS, id, datum, &value, &value); in define_bool_tunable() 4090 if (!is_id_in_scope(SYM_BOOLS, id)) { in define_cond_expr()
|
/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() 1567 assert(module->map[SYM_BOOLS][cur_expr->bool - 1] != 0); in copy_cond_list() 1569 module->map[SYM_BOOLS][cur_expr->bool - 1]; in copy_cond_list() 1575 module->map[SYM_BOOLS][cur->bool_ids[i] - 1]; in copy_cond_list()
|
D | expand.c | 1077 if (!is_id_enabled(id, state->base, SYM_BOOLS)) { in bool_copy_callback()
|
/external/selinux/checkpolicy/test/ |
D | dismod.c | 390 display_id(p, fp, SYM_BOOLS, i, ""); in display_bools()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 777 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value); in cil_bool_to_policydb()
|