Lines Matching refs:new_role
351 role_datum_t *role, *base_role, *new_role = NULL; in role_copy_callback() local
383 if ((new_role = in role_copy_callback()
384 (role_datum_t *) malloc(sizeof(*new_role))) == NULL) { in role_copy_callback()
387 role_datum_init(new_role); in role_copy_callback()
391 new_role->flavor = role->flavor; in role_copy_callback()
392 new_role->s.value = state->base->p_roles.nprim + 1; in role_copy_callback()
396 (hashtab_datum_t) new_role); in role_copy_callback()
401 base_role = new_role; in role_copy_callback()
406 if ((new_role = malloc(sizeof(*new_role))) == NULL) { in role_copy_callback()
409 role_datum_init(new_role); in role_copy_callback()
410 new_role->flavor = base_role->flavor; in role_copy_callback()
411 new_role->s.value = base_role->s.value; in role_copy_callback()
416 (state->dest_decl->p_roles.table, new_id, new_role)) { in role_copy_callback()
427 role_datum_destroy(new_role); in role_copy_callback()
429 free(new_role); in role_copy_callback()
1389 new_rule->new_role = module->map[SYM_ROLES][cur->new_role - 1]; in copy_role_trans_list()