Lines Matching full:cells
85 inline dimen_t copyFrom(dimen_t cols, const VTermScreenCell* cells) {
87 memcpy(mCells, cells, sizeof(VTermScreenCell) * n);
91 inline dimen_t copyTo(dimen_t cols, VTermScreenCell* cells) {
93 memcpy(cells, mCells, sizeof(VTermScreenCell) * n);
125 status_t onPushline(dimen_t cols, const VTermScreenCell* cells);
126 status_t onPopline(dimen_t cols, VTermScreenCell* cells);
238 static int term_sb_pushline(int cols, const VTermScreenCell *cells, void *user) {
244 return term->onPushline(cols, cells);
247 static int term_sb_popline(int cols, VTermScreenCell *cells, void *user) {
253 return term->onPopline(cols, cells);
436 status_t Terminal::onPushline(dimen_t cols, const VTermScreenCell* cells) {
461 line->copyFrom(cols, cells);
465 status_t Terminal::onPopline(dimen_t cols, VTermScreenCell* cells) {
474 dimen_t n = line->copyTo(cols, cells);
476 cells[col].chars[0] = 0;
477 cells[col].width = 1;