Searched refs:new_cols (Results 1 – 4 of 4) sorted by relevance
/external/libvterm/src/ |
D | screen.c | 80 …tic ScreenCell *realloc_buffer(VTermScreen *screen, ScreenCell *buffer, int new_rows, int new_cols) in realloc_buffer() argument 82 …eenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_cols); in realloc_buffer() 85 for(int col = 0; col < new_cols; col++) { in realloc_buffer() 86 ScreenCell *new_cell = new_buffer + row*new_cols + col; in realloc_buffer() 480 static int resize(int new_rows, int new_cols, VTermPos *delta, void *user) in resize() argument 512 screen->buffers[0] = realloc_buffer(screen, screen->buffers[0], new_rows, new_cols); in resize() 514 screen->buffers[1] = realloc_buffer(screen, screen->buffers[1], new_rows, new_cols); in resize() 519 screen->cols = new_cols; in resize() 524 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * new_cols); in resize() 526 if(new_cols > old_cols) { in resize() [all …]
|
/external/ceres-solver/internal/ceres/ |
D | triplet_sparse_matrix.cc | 114 int* new_cols = new int[new_max_num_nonzeros]; in Reserve() local 119 new_cols[i] = cols_[i]; in Reserve() 124 cols_.reset(new_cols); in Reserve()
|
/external/eigen/Eigen/src/Core/ |
D | PlainObjectBase.h | 720 const Index new_cols = other.cols() - _this.cols(); 724 else if (new_cols>0) 725 _this.bottomRightCorner(other.rows(), new_cols) = other.rightCols(new_cols); 751 const Index new_cols = Derived::RowsAtCompileTime==1 ? size : 1; 752 _this.derived().m_storage.conservativeResize(size,new_rows,new_cols); 762 const Index new_cols = Derived::RowsAtCompileTime==1 ? other.cols() : 1; 763 _this.derived().m_storage.conservativeResize(other.size(),new_rows,new_cols);
|
/external/opencv3/modules/core/test/ |
D | test_umat.cpp | 332 int new_cols = (int)ua.total()*ua.channels()/(new_rows*nChannels); in TEST_P() local 333 int sz[] = {new_rows, new_cols}; in TEST_P() 334 if( ((int)ua.total()*ua.channels()) % (new_rows*new_cols) != 0 ) in TEST_P() 343 ASSERT_EQ(ub.cols, new_cols); in TEST_P()
|