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() 477 static int resize(int new_rows, int new_cols, VTermPos *delta, void *user) in resize() argument 511 screen->buffers[0] = realloc_buffer(screen, screen->buffers[0], new_rows, new_cols); in resize() 513 screen->buffers[1] = realloc_buffer(screen, screen->buffers[1], new_rows, new_cols); in resize() 518 screen->cols = new_cols; in resize() 523 screen->sb_buffer = vterm_allocator_malloc(screen->vt, sizeof(VTermScreenCell) * new_cols); in resize() 525 if(new_cols > old_cols) { in resize() [all …]
|
/external/eigen/Eigen/src/Core/ |
D | PlainObjectBase.h | 958 const Index new_cols = other.cols() - _this.cols(); 962 else if (new_cols>0) 963 _this.bottomRightCorner(other.rows(), new_cols) = other.rightCols(new_cols); 988 const Index new_cols = Derived::RowsAtCompileTime==1 ? size : 1; 989 _this.derived().m_storage.conservativeResize(size,new_rows,new_cols); 999 const Index new_cols = Derived::RowsAtCompileTime==1 ? other.cols() : 1; 1000 _this.derived().m_storage.conservativeResize(other.size(),new_rows,new_cols);
|
/external/python/cpython2/Lib/test/ |
D | test_curses.py | 349 new_cols = cols + 1 350 curses.resizeterm(new_lines, new_cols) 353 self.assertEqual(curses.COLS, new_cols)
|
/external/python/cpython3/Lib/test/ |
D | test_curses.py | 360 new_cols = cols + 1 361 curses.resizeterm(new_lines, new_cols) 364 self.assertEqual(curses.COLS, new_cols)
|