Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dconditional.c225 s[sp] = p->bool_val_to_struct[cur->bool - 1]->state; in cond_evaluate_expr()
411 p->bool_val_to_struct[cn->bool_ids[i] - 1]->state; in cond_normalize_expr()
419 p->bool_val_to_struct[cn->bool_ids[j] - in cond_normalize_expr()
437 p->bool_val_to_struct[cn->bool_ids[i] - 1]->state = in cond_normalize_expr()
458 p->bool_val_to_struct = NULL; in cond_policydb_init()
517 if (p->bool_val_to_struct != NULL) in cond_policydb_destroy()
518 free(p->bool_val_to_struct); in cond_policydb_destroy()
525 if (p->bool_val_to_struct) in cond_init_bool_indexes()
526 free(p->bool_val_to_struct); in cond_init_bool_indexes()
527 p->bool_val_to_struct = (cond_bool_datum_t **) in cond_init_bool_indexes()
[all …]
Dbooleans.c60 cond_bool_datum_t *booldatum = policydb->bool_val_to_struct[bool_idx]; in bool_to_record()
Dexpand.c2916 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables()
/external/selinux/libsepol/tests/
Dtest-common.c116 CU_ASSERT(p->bool_val_to_struct[d->s.value - 1] == d); in cond_test_index()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h567 cond_bool_datum_t **bool_val_to_struct; member
/external/selinux/checkpolicy/test/
Ddispol.c187 p->bool_val_to_struct[i]->state); in display_bools()
Ddismod.c391 fprintf(fp, " : %d\n", p->bool_val_to_struct[i]->state); in display_bools()
/external/selinux/checkpolicy/
Dcheckpolicy.c305 policydbp->bool_val_to_struct[i]->state); in display_bools()
/external/selinux/libsepol/cil/src/
Dcil_binary.c4045 pdb->bool_val_to_struct[bool->s.value - 1] = bool; in __cil_bool_val_array_insert()
4115 policydb->bool_val_to_struct = cil_malloc(sizeof(cond_bool_datum_t *) * policydb->p_bools.nprim); in __cil_policydb_val_arrays_create()