Lines Matching defs:map
95 /* builds map: type/attribute -> {all attributes that are a superset of it} */
100 struct type_vec *map = calloc(p->p_types.nprim, sizeof(*map));
101 if (!map)
105 if (type_vec_init(&map[i]))
114 if (type_vec_append(&map[i], k))
129 if (type_vec_append(&map[i], k))
135 return map;
138 type_vec_destroy(&map[k]);
139 free(map);