Searched refs:cond_bool_datum_t (Results 1 – 14 of 14) sorted by relevance
/external/selinux/libsepol/src/ |
D | booleans.c | 30 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()
|
D | conditional.c | 527 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()
|
D | expand.c | 1070 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()
|
D | link.c | 603 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()
|
D | write.c | 660 cond_bool_datum_t *booldatum; in cond_write_bool() 667 booldatum = (cond_bool_datum_t *) datum; in cond_write_bool()
|
/external/selinux/libsepol/tests/ |
D | test-common.c | 114 cond_bool_datum_t *d = (cond_bool_datum_t *) datum; in cond_test_index()
|
D | test-linker-cond-map.c | 80 cond_bool_datum_t *b; in test_bool_state()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 240 } cond_bool_datum_t; typedef 568 cond_bool_datum_t **bool_val_to_struct;
|
/external/selinux/checkpolicy/test/ |
D | dispol.c | 265 cond_bool_datum_t *bool; in change_bool()
|
D | dismod.c | 602 cond_bool_datum_t *bool;
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 1746 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()
|
D | checkpolicy.c | 359 cond_bool_datum_t *bool; in change_bool()
|
D | module_compiler.c | 984 cond_bool_datum_t *booldatum = NULL; in require_bool_tunable()
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 773 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()
|