Searched refs:p_bools (Results 1 – 13 of 13) sorted by relevance
/external/libsepol/src/ |
D | booleans.c | 31 hashtab_search(policydb->p_bools.table, name); in bool_update() 111 *response = policydb->p_bools.nprim; in sepol_bool_count() 135 *response = (hashtab_search(policydb->p_bools.table, name) != NULL); in sepol_bool_exists() 156 booldatum = hashtab_search(policydb->p_bools.table, name); in sepol_bool_query() 185 unsigned int nbools = policydb->p_bools.nprim; in sepol_bool_iterate()
|
D | genbools.c | 96 datum = hashtab_search(policydb->p_bools.table, name); 127 hashtab_search(policydb->p_bools.table, 224 datum = hashtab_search(policydb.p_bools.table, names[i]);
|
D | conditional.c | 528 malloc(p->p_bools.nprim * sizeof(cond_bool_datum_t *)); in cond_init_bool_indexes() 551 if (!booldatum->s.value || booldatum->s.value > p->p_bools.nprim) in cond_index_bool() 755 if (expr->bool > p->p_bools.nprim) { in expr_isvalid()
|
D | expand.c | 1082 state->out->p_bools.nprim++; in bool_copy_callback() 1083 new_bool->s.value = state->out->p_bools.nprim; in bool_copy_callback() 1085 ret = hashtab_insert(state->out->p_bools.table, in bool_copy_callback() 2877 state.boolmap = (uint32_t *)calloc(state.base->p_bools.nprim, sizeof(uint32_t)); in expand_module() 2966 if (hashtab_map(state.base->p_bools.table, bool_copy_callback, &state)) in expand_module()
|
D | link.c | 602 base_bool = hashtab_search(state->base->p_bools.table, id); in bool_copy_callback() 615 new_bool->s.value = state->base->p_bools.nprim + 1; in bool_copy_callback() 617 ret = hashtab_insert(state->base->p_bools.table, in bool_copy_callback() 623 state->base->p_bools.nprim++; in bool_copy_callback()
|
D | policydb.c | 944 malloc(p->p_bools.nprim * sizeof(char *)); in policydb_index_bools() 947 if (hashtab_map(p->p_bools.table, cond_index_bool, p)) in policydb_index_bools() 996 p->p_bools.nprim); in policydb_index_others()
|
D | write.c | 2024 if (p->p_bools.nprim) in policydb_write()
|
/external/libsepol/tests/ |
D | test-linker-cond-map.c | 82 b = hashtab_search(p->p_bools.table, bool); in test_bool_state()
|
/external/checkpolicy/test/ |
D | dispol.c | 189 for (i = 0; i < p->p_bools.nprim; i++) { in display_bools() 292 bool = hashtab_search(p->p_bools.table, name); in change_bool()
|
D | dismod.c | 364 for (i = 0; i < p->p_bools.nprim; i++) { in display_bools() 579 bool = hashtab_search(p->p_bools.table, name);
|
/external/checkpolicy/ |
D | checkpolicy.c | 296 for (i = 0; i < policydbp->p_bools.nprim; i++) { in display_bools() 354 bool = hashtab_search(policydbp->p_bools.table, name); in change_bool()
|
D | policy_define.c | 3276 (cond_bool_datum_t *) hashtab_search(policydbp->p_bools. in define_cond_expr()
|
/external/libsepol/include/sepol/policydb/ |
D | policydb.h | 481 #define p_bools symtab[SYM_BOOLS] macro
|