Home
last modified time | relevance | path

Searched refs:new_rows (Results 1 – 4 of 4) 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()
477 static int resize(int new_rows, int new_cols, VTermPos *delta, void *user) in resize() argument
486 if(!is_altscreen && new_rows < old_rows) { in resize()
492 for(pos.row = old_rows - 1; pos.row >= new_rows; pos.row--) in resize()
497 if(first_blank_row > new_rows) { in resize()
504 scrollrect(rect, first_blank_row - new_rows, 0, user); in resize()
507 delta->row -= first_blank_row - new_rows; in resize()
511 screen->buffers[0] = realloc_buffer(screen, screen->buffers[0], new_rows, new_cols); in resize()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dcheckpoint_ops_test.py360 new_rows = 7
361 initializing_values = [42] * new_rows * num_cols
366 row_remapping=[-1] * new_rows,
369 num_rows=new_rows,
373 np.reshape(initializing_values, (new_rows, num_cols)),
/external/eigen/Eigen/src/Core/
DPlainObjectBase.h957 const Index new_rows = other.rows() - _this.rows();
960 if (new_rows>0)
961 _this.bottomRightCorner(new_rows, other.cols()) = other.bottomRows(new_rows);
987 const Index new_rows = Derived::RowsAtCompileTime==1 ? 1 : size;
989 _this.derived().m_storage.conservativeResize(size,new_rows,new_cols);
998 const Index new_rows = Derived::RowsAtCompileTime==1 ? 1 : other.rows();
1000 _this.derived().m_storage.conservativeResize(other.size(),new_rows,new_cols);
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_region.cc371 Rows new_rows; in Translate() local
389 new_rows.insert(new_rows.end(), Rows::value_type(row->bottom, row)); in Translate()
393 new_rows.swap(rows_); in Translate()