Home
last modified time | relevance | path

Searched refs:new_rows (Results 1 – 5 of 5) sorted by relevance

/external/libvterm/src/
Dscreen.c80 static ScreenCell *realloc_buffer(VTermScreen *screen, ScreenCell *buffer, int new_rows, int new_co… in realloc_buffer() argument
82 …ScreenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_co… in realloc_buffer()
84 for(int row = 0; row < new_rows; row++) { in realloc_buffer()
480 static int resize(int new_rows, int new_cols, VTermPos *delta, void *user) in resize() argument
489 if(!is_altscreen && new_rows < old_rows) { in resize()
493 for(pos.row = old_rows - 1; pos.row >= new_rows; pos.row--) in resize()
498 if(first_blank_row > new_rows) { in resize()
505 scrollrect(rect, first_blank_row - new_rows, 0, user); in resize()
508 delta->row -= first_blank_row - new_rows; in resize()
512 screen->buffers[0] = realloc_buffer(screen, screen->buffers[0], new_rows, new_cols); in resize()
[all …]
/external/ceres-solver/internal/ceres/
Dtriplet_sparse_matrix.cc113 int* new_rows = new int[new_max_num_nonzeros]; in Reserve() local
118 new_rows[i] = rows_[i]; in Reserve()
123 rows_.reset(new_rows); in Reserve()
/external/eigen/Eigen/src/Core/
DPlainObjectBase.h717 const Index new_rows = other.rows() - _this.rows();
720 if (new_rows>0)
721 _this.bottomRightCorner(new_rows, other.cols()) = other.bottomRows(new_rows);
748 const Index new_rows = Derived::RowsAtCompileTime==1 ? 1 : size;
750 _this.derived().m_storage.conservativeResize(size,new_rows,new_cols);
759 const Index new_rows = Derived::RowsAtCompileTime==1 ? 1 : other.rows();
761 _this.derived().m_storage.conservativeResize(other.size(),new_rows,new_cols);
/external/opencv/cxcore/src/
Dcxarray.cpp2937 int total_width, new_rows, cn; in cvReshapeMatND() local
2957 new_rows = new_sizes[0]; in cvReshapeMatND()
2959 new_rows = total_width*mat->rows/new_cn; in cvReshapeMatND()
2962 new_rows = mat->rows; in cvReshapeMatND()
2964 new_rows = mat->rows * total_width / new_cn; in cvReshapeMatND()
2967 if( new_rows != mat->rows ) in cvReshapeMatND()
2975 total_width = total_size / new_rows; in cvReshapeMatND()
2977 if( total_width * new_rows != total_size ) in cvReshapeMatND()
2982 header->rows = new_rows; in cvReshapeMatND()
2992 header->step &= new_rows > 1 ? -1 : 0; in cvReshapeMatND()
[all …]
/external/opencv/cxcore/include/
Dcxcore.h412 int new_cn, int new_rows CV_DEFAULT(0) );