Searched refs:new_cols (Results 1 - 3 of 3) sorted by relevance
/external/libvterm/src/ |
H A D | screen.c | 78 static ScreenCell *realloc_buffer(VTermScreen *screen, ScreenCell *buffer, int new_rows, int new_cols) argument 80 ScreenCell *new_buffer = vterm_allocator_malloc(screen->vt, sizeof(ScreenCell) * new_rows * new_cols); 83 for(int col = 0; col < new_cols; col++) { 84 ScreenCell *new_cell = new_buffer + row*new_cols + col; 471 static int resize(int new_rows, int new_cols, VTermPos *delta, void *user) argument 503 screen->buffers[0] = realloc_buffer(screen, screen->buffers[0], new_rows, new_cols); 505 screen->buffers[1] = realloc_buffer(screen, screen->buffers[1], new_rows, new_cols); 510 screen->cols = new_cols; 515 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * new_cols); 517 if(new_cols > old_col [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | triplet_sparse_matrix.cc | 114 int* new_cols = new int[new_max_num_nonzeros]; local 119 new_cols[i] = cols_[i]; 124 cols_.reset(new_cols);
|
/external/eigen/Eigen/src/Core/ |
H A D | PlainObjectBase.h | 718 const Index new_cols = other.cols() - _this.cols(); local 722 else if (new_cols>0) 723 _this.bottomRightCorner(other.rows(), new_cols) = other.rightCols(new_cols); 749 const Index new_cols = Derived::RowsAtCompileTime==1 ? size : 1; local 750 _this.derived().m_storage.conservativeResize(size,new_rows,new_cols); 760 const Index new_cols = Derived::RowsAtCompileTime==1 ? other.cols() : 1; local 761 _this.derived().m_storage.conservativeResize(other.size(),new_rows,new_cols);
|
Completed in 241 milliseconds