• Home
  • Raw
  • Download

Lines Matching refs:aliasdatum

706 	level_datum_t *datum = 0, *aliasdatum = 0;  in define_sens()  local
776 aliasdatum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens()
777 if (!aliasdatum) { in define_sens()
781 level_datum_init(aliasdatum); in define_sens()
782 aliasdatum->isalias = TRUE; in define_sens()
783 aliasdatum->level = level; in define_sens()
785 ret = declare_symbol(SYM_LEVELS, id, aliasdatum, NULL, &value); in define_sens()
827 if (aliasdatum) { in define_sens()
828 level_datum_destroy(aliasdatum); in define_sens()
829 free(aliasdatum); in define_sens()
885 cat_datum_t *datum = 0, *aliasdatum = 0; in define_category() local
946 aliasdatum = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in define_category()
947 if (!aliasdatum) { in define_category()
951 cat_datum_init(aliasdatum); in define_category()
952 aliasdatum->isalias = TRUE; in define_category()
953 aliasdatum->s.value = datum->s.value; in define_category()
956 declare_symbol(SYM_CATS, id, aliasdatum, NULL, in define_category()
997 if (aliasdatum) { in define_category()
998 cat_datum_destroy(aliasdatum); in define_category()
999 free(aliasdatum); in define_category()
1226 type_datum_t *aliasdatum = NULL; in add_aliases_to_type() local
1235 aliasdatum = (type_datum_t *) malloc(sizeof(type_datum_t)); in add_aliases_to_type()
1236 if (!aliasdatum) { in add_aliases_to_type()
1241 memset(aliasdatum, 0, sizeof(type_datum_t)); in add_aliases_to_type()
1242 aliasdatum->s.value = type->s.value; in add_aliases_to_type()
1244 ret = declare_symbol(SYM_TYPES, id, aliasdatum, in add_aliases_to_type()
1245 NULL, &aliasdatum->s.value); in add_aliases_to_type()
1264 type_datum_destroy(aliasdatum); in add_aliases_to_type()
1265 free(aliasdatum); in add_aliases_to_type()
1267 aliasdatum = hashtab_search(policydbp->symtab[SYM_TYPES].table, id); in add_aliases_to_type()
1268 assert(aliasdatum); in add_aliases_to_type()
1270 aliasdatum->primary = type->s.value; in add_aliases_to_type()
1271 aliasdatum->flavor = TYPE_ALIAS; in add_aliases_to_type()
1283 type_datum_destroy(aliasdatum); in add_aliases_to_type()
1284 free(aliasdatum); in add_aliases_to_type()