Home
last modified time | relevance | path

Searched refs:old_cols (Results 1 – 25 of 86) sorted by relevance

1234

/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/surfpack/src/
H A DSurfpackMatrix.h153 unsigned old_cols = nCols; in resize() local
162 unsigned col_max = (old_cols < nCols) ? old_cols : nCols; in resize()
167 if (i >= old_rows || j >= old_cols) { in resize()
170 unsigned src_index = forFortran ? j*old_rows+i : i*old_cols+j; in resize()
/dports/devel/cc65/cc65-2.19/libsrc/atari/
H A Dsavevec.s21 old_cols: .res 8 label
59 sta old_cols,y
98 lda old_cols,Y
/dports/math/octave/octave-6.4.0/libgui/src/
H A Dvariable-editor-model.cc1277 int old_cols = display_columns (); in update_data() local
1284 if (new_rows != old_rows || new_cols != old_cols) in update_data()
1285 change_display_size (old_rows, old_cols, new_rows, new_cols); in update_data()
1313 if (new_cols < old_cols) in change_display_size()
1315 beginRemoveColumns (QModelIndex (), new_cols, old_cols-1); in change_display_size()
1318 else if (new_cols > old_cols) in change_display_size()
1320 beginInsertColumns (QModelIndex (), old_cols, new_cols-1); in change_display_size()
1329 int old_cols = display_columns (); in maybe_resize_rows() local
1337 change_display_size (old_rows, old_cols, new_rows, new_cols); in maybe_resize_rows()
1344 int old_cols = display_columns (); in maybe_resize_columns() local
[all …]
/dports/chinese/tintin++/tt/src/
H A Dterminal.c139 static int old_rows, old_cols; in init_terminal_size() local
146 old_cols = gtd->screen->cols; in init_terminal_size()
179 if (old_rows <= old_cols / 2 && gtd->screen->rows > gtd->screen->cols / 2) in init_terminal_size()
183 else if (old_rows >= old_cols / 2 && gtd->screen->rows < gtd->screen->cols / 2) in init_terminal_size()
/dports/net/tintin++/tt/src/
H A Dterminal.c139 static int old_rows, old_cols; in init_terminal_size() local
146 old_cols = gtd->screen->cols; in init_terminal_size()
179 if (old_rows <= old_cols / 2 && gtd->screen->rows > gtd->screen->cols / 2) in init_terminal_size()
183 else if (old_rows >= old_cols / 2 && gtd->screen->rows < gtd->screen->cols / 2) in init_terminal_size()
/dports/graphics/dia/dia-0.97.3/objects/Misc/
H A Dgrid_object.c454 int old_cols = grid_object->cells_cols; in grid_object_reallocate_cells() local
460 if (old_rows == new_rows && old_cols == new_cols) in grid_object_reallocate_cells()
468 for (i = 0; i < old_cols; ++i) in grid_object_reallocate_cells()
470 int cell = grid_cell(i, j, old_rows, old_cols); in grid_object_reallocate_cells()
475 for (i = new_cols; i < old_cols; ++i) in grid_object_reallocate_cells()
478 int cell = grid_cell(i, j, old_rows, old_cols); in grid_object_reallocate_cells()
496 int oldloc = grid_cell(i,j,old_rows,old_cols); in grid_object_reallocate_cells()
501 if (i < old_cols && j < old_rows) in grid_object_reallocate_cells()
/dports/x11/foot/foot/
H A Dgrid.c291 const int old_cols = grid->num_cols; in grid_resize_without_reflow() local
315 sizeof(struct cell) * min(old_cols, new_cols)); in grid_resize_without_reflow()
320 if (new_cols > old_cols) { in grid_resize_without_reflow()
322 memset(&new_row->cells[old_cols], 0, in grid_resize_without_reflow()
325 } else if (old_cols > new_cols) { in grid_resize_without_reflow()
566 const int old_cols = grid->num_cols; in grid_resize_and_reflow() local
663 for (int c = old_cols - 1; c >= 0; c--) { in grid_resize_and_reflow()
671 xassert(col_count >= 0 && col_count <= old_cols); in grid_resize_and_reflow()
741 xassert(start + cols <= old_cols); in grid_resize_and_reflow()
782 from + amount < old_cols && in grid_resize_and_reflow()
[all …]
/dports/audio/festival/speech_tools/base_class/
H A DEST_TVector.cc200 int old_cols = num_columns(); in resize() local
214 copy_c = Lof(num_columns(), old_cols); in resize()
222 copy_c = old_cols; in resize()
H A DEST_TMatrix.cc255 int old_cols = num_columns(); in resize() local
263 new_cols = old_cols; in resize()
275 copy_c = Lof(num_columns(), old_cols); in resize()
285 copy_c = old_cols; in resize()
/dports/x11/libfm-extra/libfm-1.3.2/src/gtk/
H A Dfm-standard-view.c1688 _ColumnsCache* old_cols = NULL; /* satisfy the compiler */ in _fm_standard_view_set_columns() local
1705 old_cols = g_new(_ColumnsCache, n_cols); in _fm_standard_view_set_columns()
1710 old_cols[i].col = col; in _fm_standard_view_set_columns()
1711 old_cols[i].info = info; in _fm_standard_view_set_columns()
1721 if(old_cols[i].info && old_cols[i].info->col_id == info->col_id) in _fm_standard_view_set_columns()
1726 col = old_cols[i].col; in _fm_standard_view_set_columns()
1730 old_cols[i].info->width = info->width; in _fm_standard_view_set_columns()
1733 old_cols[i].info->reserved1 = 0; in _fm_standard_view_set_columns()
1757 if(old_cols[i].col != NULL) in _fm_standard_view_set_columns()
1759 old_cols[i].col); in _fm_standard_view_set_columns()
[all …]
/dports/x11/libfm/libfm-1.3.2/src/gtk/
H A Dfm-standard-view.c1688 _ColumnsCache* old_cols = NULL; /* satisfy the compiler */ in _fm_standard_view_set_columns() local
1705 old_cols = g_new(_ColumnsCache, n_cols); in _fm_standard_view_set_columns()
1710 old_cols[i].col = col; in _fm_standard_view_set_columns()
1711 old_cols[i].info = info; in _fm_standard_view_set_columns()
1721 if(old_cols[i].info && old_cols[i].info->col_id == info->col_id) in _fm_standard_view_set_columns()
1726 col = old_cols[i].col; in _fm_standard_view_set_columns()
1730 old_cols[i].info->width = info->width; in _fm_standard_view_set_columns()
1733 old_cols[i].info->reserved1 = 0; in _fm_standard_view_set_columns()
1757 if(old_cols[i].col != NULL) in _fm_standard_view_set_columns()
1759 old_cols[i].col); in _fm_standard_view_set_columns()
[all …]
/dports/x11/3ddesktop/3ddesktop-0.2.9/
H A Dfaceset.hpp65 int old_cols = cols;
92 if (cols != old_cols && rows > 1) // if columns changed must start new
/dports/news/tin/tin-2.4.5/src/
H A Dsignal.c587 int old_cols; in set_win_size() local
597 old_cols = *num_cols; in set_win_size()
634 return (*num_lines != old_lines || *num_cols != old_cols); in set_win_size()
/dports/chinese/tin/tin-2.4.5/src/
H A Dsignal.c587 int old_cols; in set_win_size() local
597 old_cols = *num_cols; in set_win_size()
634 return (*num_lines != old_lines || *num_cols != old_cols); in set_win_size()
/dports/devel/cgdb/cgdb-0.8.0/lib/vterm/
H A Dscreen.c482 int old_cols = screen->cols; in resize_buffer() local
492 for(col = 0; col < old_cols && col < new_cols; col++) in resize_buffer()
493 new_buffer[new_row * new_cols + col] = old_buffer[old_row * old_cols + col]; in resize_buffer()
521 if(!(screen->callbacks->sb_popline(old_cols, screen->sb_buffer, screen->cbdata))) in resize_buffer()
525 …for(pos.col = 0; pos.col < old_cols && pos.col < new_cols; pos.col += screen->sb_buffer[pos.col].w… in resize_buffer()
584 int old_cols = screen->cols; in resize() local
586 if(new_cols > old_cols) { in resize()
603 if(new_cols <= old_cols) { in resize()
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/innobase/dict/
H A Ddict0mem.cc1271 const dict_col_t* const old_cols = cols; in instant_add_column() local
1280 cols[i].def_val = old_cols[i].def_val; in instant_add_column()
1309 DBUG_ASSERT(base >= old_cols); in instant_add_column()
1310 size_t n = size_t(base - old_cols); in instant_add_column()
1324 if (field.col < old_cols in instant_add_column()
1332 DBUG_ASSERT(field.col >= old_cols); in instant_add_column()
1333 size_t n = size_t(field.col - old_cols); in instant_add_column()
1354 dict_col_t* old_cols, in rollback_instant() argument
1386 cols = old_cols; in rollback_instant()
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/innobase/dict/
H A Ddict0mem.cc1271 const dict_col_t* const old_cols = cols; in instant_add_column() local
1280 cols[i].def_val = old_cols[i].def_val; in instant_add_column()
1309 DBUG_ASSERT(base >= old_cols); in instant_add_column()
1310 size_t n = size_t(base - old_cols); in instant_add_column()
1324 if (field.col < old_cols in instant_add_column()
1332 DBUG_ASSERT(field.col >= old_cols); in instant_add_column()
1333 size_t n = size_t(field.col - old_cols); in instant_add_column()
1354 dict_col_t* old_cols, in rollback_instant() argument
1386 cols = old_cols; in rollback_instant()
/dports/math/qtiplot-doc/qtiplot-0.9.8.9/qtiplot/src/matrix/
H A DMatrixModel.cpp616 int old_cols = d_cols; in transpose() local
618 d_rows = old_cols; in transpose()
622 d_data[aux++] = data[j*old_cols + i]; in transpose()
682 int old_cols = d_cols; in rotate90() local
684 d_rows = old_cols; in rotate90()
690 d_data[cell++] = data[(aux - j)*old_cols + i]; in rotate90()
694 int aux = old_cols - 1; in rotate90()
698 d_data[cell++] = data[j*old_cols + k]; in rotate90()
/dports/editors/vim/vim-8.2.3745/src/libvterm/src/
H A Dscreen.c502 int old_cols = screen->cols; in resize_buffer() local
513 for(col = 0; col < old_cols && col < new_cols; col++) in resize_buffer()
514 new_buffer[new_row * new_cols + col] = old_buffer[old_row * old_cols + col]; in resize_buffer()
544 if(!(screen->callbacks->sb_popline(old_cols, screen->sb_buffer, screen->cbdata))) in resize_buffer()
548 …for(pos.col = 0; pos.col < old_cols && pos.col < new_cols; pos.col += screen->sb_buffer[pos.col].w… in resize_buffer()
609 int old_cols = screen->cols; in resize() local
611 if(new_cols > old_cols) { in resize()
628 if(new_cols <= old_cols) { in resize()
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/dcmimage/libsrc/
H A Ddicoimg.cc413 const Uint16 old_cols = Columns; // save old values in rotate() local
422 DiRotateTemplate<Uint8> dummy(InterData, old_cols, old_rows, Columns, Rows, in rotate()
428 DiRotateTemplate<Uint16> dummy(InterData, old_cols, old_rows, Columns, Rows, in rotate()
434 DiRotateTemplate<Uint32> dummy(InterData, old_cols, old_rows, Columns, Rows, in rotate()
/dports/devel/ncurses/ncurses-6.3/ncurses/tinfo/
H A Dlib_setup.c450 int old_cols; in _nc_update_screensize() local
454 CallDriver_2(sp, td_getsize, &old_lines, &old_cols); in _nc_update_screensize()
459 int old_cols = columns; in _nc_update_screensize() local
470 if ((new_lines != old_lines) || (new_cols != old_cols)) { in _nc_update_screensize()
/dports/graphics/qgis/qgis-3.22.3/python/plugins/db_manager/db_plugins/postgis/plugins/versioning/
H A Ddlg_versioning.py194 old_cols = ",".join(u"OLD." + x for x in self.columns)
234 …gsql';""" % {'view': self.view, 'schematable': self.schematable, 'cols': cols, 'oldcols': old_cols,
/dports/graphics/qgis-ltr/qgis-3.16.16/python/plugins/db_manager/db_plugins/postgis/plugins/versioning/
H A Ddlg_versioning.py194 old_cols = ",".join([u"OLD." + x for x in self.columns])
234 …gsql';""" % {'view': self.view, 'schematable': self.schematable, 'cols': cols, 'oldcols': old_cols,
/dports/www/phpgroupware/phpgroupware-0.9.16.017/etemplate/inc/
H A Dclass.db_tools.inc.php369 $old_cols = $this->data[$posted_table = $content['posted_table']]['fd'];
382 while ((list($old_name,$old_col) = @each($old_cols)) &&
387 if ($col['name'] != $old_name && $n <= count($old_cols)) // column renamed --> remeber it
/dports/x11/mlterm/mlterm-3.9.1/vtemu/
H A Dvt_edit.c513 static void resize_hadjustment(vt_edit_t *edit, u_int new_cols, u_int old_cols) { in resize_hadjustment() argument
530 if (vt_line_is_continued_to_next(line) && old_cols < new_cols) { in resize_hadjustment()
589 cursor_col = edit->cursor.col + count * old_cols; in resize_hadjustment()
852 u_int old_cols; in vt_edit_resize() local
862 old_cols = edit->model.num_cols; in vt_edit_resize()
864 if (resize_mode == RZ_WRAP && old_cols > new_cols) { in vt_edit_resize()
865 resize_hadjustment(edit, new_cols, old_cols); in vt_edit_resize()
933 if (resize_mode == RZ_WRAP && old_cols < new_cols) { in vt_edit_resize()
964 resize_hadjustment(edit, new_cols, old_cols); in vt_edit_resize()

1234