reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
105 if (!list) 107 if (list->ref == 1 && list->n + n <= list->size) 107 if (list->ref == 1 && list->n + n <= list->size) 107 if (list->ref == 1 && list->n + n <= list->size) 108 return list; 110 ctx = FN(LIST(EL),get_ctx)(list); 111 new_size = ((list->n + n + 1) * 3) / 2; 112 if (list->ref == 1) { 113 res = isl_realloc(ctx, list, LIST(EL), 116 return FN(LIST(EL),free)(list); 121 if (list->n + n <= list->size && list->size < new_size) 121 if (list->n + n <= list->size && list->size < new_size) 121 if (list->n + n <= list->size && list->size < new_size) 122 new_size = list->size; 126 return FN(LIST(EL),free)(list); 128 for (i = 0; i < list->n; ++i) 129 res = FN(LIST(EL),add)(res, FN(EL,copy)(list->p[i])); 131 FN(LIST(EL),free)(list);