Home
last modified time | relevance | path

Searched refs:cond_bool_datum_t (Results 1 – 14 of 14) sorted by relevance

/external/selinux/libsepol/src/
Dbooleans.c30 cond_bool_datum_t *datum = in bool_update()
60 cond_bool_datum_t *booldatum = policydb->bool_val_to_struct[bool_idx]; in bool_to_record()
145 cond_bool_datum_t *booldatum = NULL; in sepol_bool_query()
Dconditional.c527 p->bool_val_to_struct = (cond_bool_datum_t **) in cond_init_bool_indexes()
528 malloc(p->p_bools.nprim * sizeof(cond_bool_datum_t *)); in cond_init_bool_indexes()
546 cond_bool_datum_t *booldatum; in cond_index_bool()
563 static int bool_isvalid(cond_bool_datum_t * b) in bool_isvalid()
575 cond_bool_datum_t *booldatum; in cond_read_bool()
579 booldatum = malloc(sizeof(cond_bool_datum_t)); in cond_read_bool()
582 memset(booldatum, 0, sizeof(cond_bool_datum_t)); in cond_read_bool()
Dexpand.c1070 cond_bool_datum_t *bool, *new_bool; in bool_copy_callback()
1074 bool = (cond_bool_datum_t *) datum; in bool_copy_callback()
1090 new_bool = (cond_bool_datum_t *) malloc(sizeof(cond_bool_datum_t)); in bool_copy_callback()
2863 cond_bool_datum_t *booldatum; in discard_tunables()
2864 cond_bool_datum_t *tmp[COND_EXPR_MAXDEPTH]; in discard_tunables()
2867 memset(tmp, 0, sizeof(cond_bool_datum_t *) * COND_EXPR_MAXDEPTH); in discard_tunables()
Dlink.c603 cond_bool_datum_t *booldatum, *base_bool, *new_bool = NULL; in bool_copy_callback()
607 booldatum = (cond_bool_datum_t *) datum; in bool_copy_callback()
619 (cond_bool_datum_t *) malloc(sizeof(*new_bool))) == NULL) { in bool_copy_callback()
Dwrite.c660 cond_bool_datum_t *booldatum; in cond_write_bool()
667 booldatum = (cond_bool_datum_t *) datum; in cond_write_bool()
/external/selinux/libsepol/tests/
Dtest-common.c114 cond_bool_datum_t *d = (cond_bool_datum_t *) datum; in cond_test_index()
Dtest-linker-cond-map.c80 cond_bool_datum_t *b; in test_bool_state()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h240 } cond_bool_datum_t; typedef
568 cond_bool_datum_t **bool_val_to_struct;
/external/selinux/checkpolicy/test/
Ddispol.c265 cond_bool_datum_t *bool; in change_bool()
Ddismod.c602 cond_bool_datum_t *bool;
/external/selinux/checkpolicy/
Dpolicy_define.c1746 cond_bool_datum_t *datum; in define_bool_tunable()
1766 datum = (cond_bool_datum_t *) malloc(sizeof(cond_bool_datum_t)); in define_bool_tunable()
1772 memset(datum, 0, sizeof(cond_bool_datum_t)); in define_bool_tunable()
4011 cond_bool_datum_t *bool_var; in define_cond_expr()
4097 (cond_bool_datum_t *) hashtab_search(policydbp->p_bools. in define_cond_expr()
Dcheckpolicy.c359 cond_bool_datum_t *bool; in change_bool()
Dmodule_compiler.c984 cond_bool_datum_t *booldatum = NULL; in require_bool_tunable()
/external/selinux/libsepol/cil/src/
Dcil_binary.c773 cond_bool_datum_t *sepol_bool = cil_malloc(sizeof(*sepol_bool)); in cil_bool_to_policydb()
774 memset(sepol_bool, 0, sizeof(cond_bool_datum_t)); in cil_bool_to_policydb()
2051 cond_bool_datum_t *sepol_bool = hashtab_search(pdb->p_bools.table, key); in __cil_cond_item_to_sepol_expr()
3954 cond_bool_datum_t *bool = (cond_bool_datum_t *)datum; in __cil_bool_val_array_insert()
4030 policydb->bool_val_to_struct = cil_malloc(sizeof(cond_bool_datum_t *) * policydb->p_bools.nprim); in __cil_policydb_val_arrays_create()