Home
last modified time | relevance | path

Searched refs:cat_datum_t (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsepol/src/
Dmls.c336 cat_datum_t *catdatum, *rngdatum; in mls_context_to_sid()
382 (cat_datum_t *) hashtab_search(policydb-> in mls_context_to_sid()
398 rngdatum = (cat_datum_t *) in mls_context_to_sid()
556 cat_datum_t *catdatum; in mls_convert_context()
585 (cat_datum_t *) hashtab_search(newp->p_cats. in mls_convert_context()
Dpolicydb.c519 void cat_datum_init(cat_datum_t * x) in cat_datum_init()
521 memset(x, 0, sizeof(cat_datum_t)); in cat_datum_init()
524 void cat_datum_destroy(cat_datum_t * x __attribute__ ((unused))) in cat_datum_destroy()
943 cat_datum_t *catdatum; in cat_index()
945 catdatum = (cat_datum_t *) datum; in cat_index()
1235 cat_datum_destroy((cat_datum_t *) datum); in cat_destroy()
2994 cat_datum_t *catdatum; in cat_read()
2998 catdatum = malloc(sizeof(cat_datum_t)); in cat_read()
Dexpand.c1182 cat_datum_t *cat = (cat_datum_t *) datum, *new_cat = NULL; in cats_copy_callback()
1193 new_cat = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in cats_copy_callback()
Dlink.c713 cat_datum_t *cat, *base_cat; in cat_copy_callback()
717 cat = (cat_datum_t *) datum; in cat_copy_callback()
Dwrite.c474 cat_datum_t *catdatum; in cat_write()
480 catdatum = (cat_datum_t *) datum; in cat_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h215 } cat_datum_t; typedef
656 extern void cat_datum_init(cat_datum_t * x);
657 extern void cat_datum_destroy(cat_datum_t * x);
/external/selinux/libsepol/tests/
Dtest-common.c131 cat_datum_t *d = (cat_datum_t *) datum; in cat_test_index()
/external/selinux/checkpolicy/
Dpolicy_define.c881 cat_datum_t *datum = 0, *aliasdatum = 0; in define_category()
905 datum = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in define_category()
942 aliasdatum = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in define_category()
1060 cat_datum_t *cdatum; in define_level()
1070 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
1081 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
1099 (cat_datum_t *) hashtab_search(policydbp->p_cats. in define_level()
4060 cat_datum_t *cdatum; in parse_categories()
4069 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories()
4077 cdatum = (cat_datum_t *) hashtab_search(policydbp->p_cats.table, in parse_categories()
[all …]
Dmodule_compiler.c1176 cat_datum_t *cat = NULL; in require_cat()
1186 cat = malloc(sizeof(cat_datum_t)); in require_cat()
/external/selinux/libsepol/cil/src/
Dcil_binary.c125 static int __cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t *… in __cil_get_sepol_cat_datum()
797 cat_datum_t *sepol_cat = NULL; in cil_catorder_to_policydb()
825 cat_datum_t *sepol_cat; in cil_catalias_to_policydb()
826 cat_datum_t *sepol_alias = cil_malloc(sizeof(*sepol_cat)); in cil_catalias_to_policydb()
2717 cat_datum_t *sepol_cat = NULL; in __cil_cats_to_mls_level()
3778 cat_datum_t *cat = (cat_datum_t *)datum; in __cil_cat_val_array_insert()