Lines Matching refs:model_nb_rows
217 gint model_nb_rows; /* = gda_data_model_get_n_rows (model) */ member
266 if ((model_row >= proxy->priv->model_nb_rows) && (proxy->priv->model_nb_rows >= 0)) in model_row_to_absolute_row()
285 if (proxy->priv->model_nb_rows == -1) in row_modif_to_absolute_row()
290 return proxy->priv->model_nb_rows + index; in row_modif_to_absolute_row()
307 if ((abs_row < proxy->priv->model_nb_rows) || (proxy->priv->model_nb_rows < 0)) { in absolute_row_to_model_row()
317 *rm = g_slist_nth_data (proxy->priv->new_rows, abs_row - proxy->priv->model_nb_rows); in absolute_row_to_model_row()
1013 proxy->priv->model_nb_rows = gda_data_model_get_n_rows (model); in gda_data_proxy_set_property()
1180 proxy->priv->model_nb_rows ++; in proxied_model_row_inserted_cb()
1256 proxy->priv->model_nb_rows --; in proxied_model_row_removed_cb()
1870 if (proxy->priv->model_nb_rows == -1) in gda_data_proxy_append()
2549 …proxy->priv->chunk_proxy_nb_rows = proxy->priv->model_nb_rows + g_slist_length (proxy->priv->new_r… in chunk_sync_idle()
2733 if (proxy->priv->model_nb_rows >= 0) { in compute_display_chunk()
2736 if (proxy->priv->sample_first_row >= proxy->priv->model_nb_rows) in compute_display_chunk()
2738 ((proxy->priv->model_nb_rows - 1) / proxy->priv->sample_size); in compute_display_chunk()
2742 if (proxy->priv->sample_last_row >= proxy->priv->model_nb_rows) in compute_display_chunk()
2743 proxy->priv->sample_last_row = proxy->priv->model_nb_rows - 1; in compute_display_chunk()
2752 proxy->priv->sample_last_row = proxy->priv->model_nb_rows - 1; in compute_display_chunk()
2753 new_nb_rows = proxy->priv->model_nb_rows; in compute_display_chunk()
2760 if (proxy->priv->model_nb_rows == 0 ) { in compute_display_chunk()
2783 g_assert (i + proxy->priv->sample_first_row < proxy->priv->model_nb_rows); in compute_display_chunk()
3425 if (proxy->priv->model_nb_rows >= 0) { in gda_data_proxy_get_n_rows()
3430 nbrows = proxy->priv->model_nb_rows + in gda_data_proxy_get_n_rows()