reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
167 if (isl_space_dim(dim, isl_dim_all) <= dim->n_id) 167 if (isl_space_dim(dim, isl_dim_all) <= dim->n_id) 168 return dim; 170 if (!dim->ids) { 171 dim->ids = isl_calloc_array(dim->ctx, 171 dim->ids = isl_calloc_array(dim->ctx, 172 isl_id *, isl_space_dim(dim, isl_dim_all)); 173 if (!dim->ids) 176 ids = isl_realloc_array(dim->ctx, dim->ids, 176 ids = isl_realloc_array(dim->ctx, dim->ids, 177 isl_id *, isl_space_dim(dim, isl_dim_all)); 180 dim->ids = ids; 181 for (i = dim->n_id; i < isl_space_dim(dim, isl_dim_all); ++i) 181 for (i = dim->n_id; i < isl_space_dim(dim, isl_dim_all); ++i) 182 dim->ids[i] = NULL; 185 dim->n_id = isl_space_dim(dim, isl_dim_all); 185 dim->n_id = isl_space_dim(dim, isl_dim_all); 187 return dim; 189 isl_space_free(dim);