reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
499 if (!pw) 501 if (pw->n + n <= pw->size) 501 if (pw->n + n <= pw->size) 502 return pw; 503 ctx = FN(PW,get_ctx)(pw); 504 n += pw->n; 505 if (pw->ref == 1) { 506 res = isl_realloc(ctx, pw, struct PW, 509 return FN(PW,free)(pw); 514 res = FN(PW,alloc_size)(isl_space_copy(pw->dim), pw->type, n); 514 res = FN(PW,alloc_size)(isl_space_copy(pw->dim), pw->type, n); 516 res = FN(PW,alloc_size)(isl_space_copy(pw->dim), n); 519 return FN(PW,free)(pw); 520 for (i = 0; i < pw->n; ++i) 521 res = FN(PW,add_piece)(res, isl_set_copy(pw->p[i].set), 522 FN(EL,copy)(pw->p[i].FIELD)); 523 FN(PW,free)(pw);