• Home
  • Raw
  • Download

Lines Matching refs:new_class

450 	class_datum_t *class, *new_class;  in class_copy_callback()  local
465 new_class = (class_datum_t *) malloc(sizeof(class_datum_t)); in class_copy_callback()
466 if (!new_class) { in class_copy_callback()
470 memset(new_class, 0, sizeof(class_datum_t)); in class_copy_callback()
471 if (symtab_init(&new_class->permissions, PERM_SYMTAB_SIZE)) { in class_copy_callback()
473 free(new_class); in class_copy_callback()
477 new_class->s.value = class->s.value; in class_copy_callback()
480 ret = class_copy_default_new_object(state, class, new_class); in class_copy_callback()
482 free(new_class); in class_copy_callback()
489 free(new_class); in class_copy_callback()
495 (hashtab_datum_t) new_class); in class_copy_callback()
498 free(new_class); in class_copy_callback()
505 &new_class->permissions)) { in class_copy_callback()
511 new_class->comkey = strdup(class->comkey); in class_copy_callback()
512 if (!new_class->comkey) { in class_copy_callback()
517 new_class->comdatum = in class_copy_callback()
519 new_class->comkey); in class_copy_callback()
520 if (!new_class->comdatum) { in class_copy_callback()
522 new_class->comkey); in class_copy_callback()
525 new_class->permissions.nprim += in class_copy_callback()
526 new_class->comdatum->permissions.nprim; in class_copy_callback()
536 class_datum_t *class, *new_class; in constraint_copy_callback() local
543 new_class = hashtab_search(state->out->p_classes.table, id); in constraint_copy_callback()
544 if (!new_class) { in constraint_copy_callback()
551 (&new_class->constraints, class->constraints, state) == -1 in constraint_copy_callback()
552 || constraint_node_clone(&new_class->validatetrans, in constraint_copy_callback()