Home
last modified time | relevance | path

Searched refs:new_cat (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dexpand.c1182 cat_datum_t *cat = (cat_datum_t *) datum, *new_cat = NULL; in cats_copy_callback() local
1193 new_cat = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in cats_copy_callback()
1194 if (!new_cat) in cats_copy_callback()
1196 cat_datum_init(new_cat); in cats_copy_callback()
1201 new_cat->s.value = cat->s.value; in cats_copy_callback()
1202 new_cat->isalias = cat->isalias; in cats_copy_callback()
1205 (hashtab_key_t) new_id, (hashtab_datum_t) new_cat)) { in cats_copy_callback()
1213 cat_datum_destroy(new_cat); in cats_copy_callback()
1214 free(new_cat); in cats_copy_callback()
Dlink.c1046 mls_semantic_cat_t *src_cat, *new_cat; in mls_level_convert() local
1059 new_cat = in mls_level_convert()
1061 if (!new_cat) { in mls_level_convert()
1065 mls_semantic_cat_init(new_cat); in mls_level_convert()
1067 new_cat->next = dst->cat; in mls_level_convert()
1068 dst->cat = new_cat; in mls_level_convert()