reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
886 if (!tab || !sample) 889 if (tab->n_sample + 1 > tab->samples->n_row) { 889 if (tab->n_sample + 1 > tab->samples->n_row) { 890 int *t = isl_realloc_array(tab->mat->ctx, 891 tab->sample_index, int, tab->n_sample + 1); 891 tab->sample_index, int, tab->n_sample + 1); 894 tab->sample_index = t; 897 tab->samples = isl_mat_extend(tab->samples, 897 tab->samples = isl_mat_extend(tab->samples, 898 tab->n_sample + 1, tab->samples->n_col); 898 tab->n_sample + 1, tab->samples->n_col); 899 if (!tab->samples) 902 isl_seq_cpy(tab->samples->row[tab->n_sample], sample->el, sample->size); 902 isl_seq_cpy(tab->samples->row[tab->n_sample], sample->el, sample->size); 904 tab->sample_index[tab->n_sample] = tab->n_sample; 904 tab->sample_index[tab->n_sample] = tab->n_sample; 904 tab->sample_index[tab->n_sample] = tab->n_sample; 905 tab->n_sample++;