Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dconditional.c225 s[sp] = p->bool_val_to_struct[cur->bool - 1]->state; in cond_evaluate_expr()
410 p->bool_val_to_struct[cn->bool_ids[i] - 1]->state; in cond_normalize_expr()
418 p->bool_val_to_struct[cn->bool_ids[j] - in cond_normalize_expr()
436 p->bool_val_to_struct[cn->bool_ids[i] - 1]->state = in cond_normalize_expr()
457 p->bool_val_to_struct = NULL; in cond_policydb_init()
516 if (p->bool_val_to_struct != NULL) in cond_policydb_destroy()
517 free(p->bool_val_to_struct); in cond_policydb_destroy()
524 if (p->bool_val_to_struct) in cond_init_bool_indexes()
525 free(p->bool_val_to_struct); in cond_init_bool_indexes()
526 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.c2877 booldatum = pol->bool_val_to_struct[cur_expr->bool - 1]; in discard_tunables()
/third_party/selinux/libsepol/tests/
Dtest-common.c118 CU_ASSERT(p->bool_val_to_struct[d->s.value - 1] == d); in cond_test_index()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h569 cond_bool_datum_t **bool_val_to_struct; member
/third_party/selinux/checkpolicy/test/
Ddispol.c187 p->bool_val_to_struct[i]->state); in display_bools()
Ddismod.c390 fprintf(fp, " : %d\n", p->bool_val_to_struct[i]->state); in display_bools()
/third_party/selinux/checkpolicy/
Dcheckpolicy.c303 policydbp->bool_val_to_struct[i]->state); in display_bools()
/third_party/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()