Lines Matching defs:new_type
434 type_datum_t *type, *base_type, *new_type = NULL;
473 if ((new_type =
474 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) {
477 new_type->primary = type->primary;
478 new_type->flags = type->flags;
479 new_type->flavor = type->flavor;
480 /* for attributes, the writing of new_type->types is
483 new_type->s.value = state->base->p_types.nprim + 1;
487 (hashtab_datum_t) new_type);
492 base_type = new_type;
497 if ((new_type = calloc(1, sizeof(*new_type))) == NULL) {
500 new_type->primary = type->primary;
501 new_type->flavor = type->flavor;
502 new_type->flags = type->flags;
503 new_type->s.value = base_type->s.value;
508 (state->dest_decl->p_types.table, new_id, new_type)) {
520 free(new_type);
841 type_datum_t *type, *base_type, *new_type = NULL, *target_type;
884 if ((new_type =
885 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) {
889 new_type->primary = target_type->s.value;
890 new_type->flags = target_type->flags;
891 new_type->flavor = TYPE_ALIAS;
892 new_type->s.value = state->base->p_types.nprim + 1;
897 (state->base->p_types.table, new_id, new_type)) {
901 base_type = new_type;
937 free(new_type);
1149 type_datum_t *type, *new_type = NULL;
1168 new_type = hashtab_search(typetab->table, id);
1169 assert(new_type != NULL && new_type->flavor == TYPE_ATTRIB);
1185 if (ebitmap_union(&new_type->types, &e_tmp)) {