Lines Matching defs:col

71 static inline ScreenCell *getcell(const VTermScreen *screen, int row, int col)
75 if(col < 0 || col >= screen->cols)
77 return screen->buffer + (screen->cols * row) + col;
83 int row, col;
86 for(col = 0; col < new_cols; col++) {
87 ScreenCell *new_cell = new_buffer + row*new_cols + col;
89 if(buffer && row < screen->rows && col < screen->cols)
90 *new_cell = buffer[row * screen->cols + col];
176 ScreenCell *cell = getcell(screen, pos.row, pos.col);
177 int i, col;
190 for(col = 1; col < info->width; col++)
191 getcell(screen, pos.row, pos.col + col)->chars[0] = (uint32_t)-1;
195 rect.start_col = pos.col;
196 rect.end_col = pos.col+info->width;
219 for(pos.col = 0; pos.col < screen->cols; pos.col++)
220 vterm_screen_get_cell(screen, pos, screen->sb_buffer + pos.col);
269 int row, col;
274 for(col = rect.start_col; col < rect.end_col; col++) {
275 ScreenCell *cell = getcell(screen, row, col);
557 for(pos.col = 0; pos.col < screen->cols; pos.col += screen->sb_buffer[pos.col].width)
558 vterm_screen_set_cell(screen, pos, screen->sb_buffer + pos.col);
590 int col;
591 for(col = 0; col < screen->cols; col++) {
592 ScreenCell *cell = getcell(screen, row, col);
684 int row, col;
702 for(col = rect.start_col; col < rect.end_col; col++) {
703 ScreenCell *cell = getcell(screen, row, col);
745 ScreenCell *intcell = getcell(screen, pos.row, pos.col);
770 if(pos.col < (screen->cols - 1) &&
771 getcell(screen, pos.row, pos.col + 1)->chars[0] == (uint32_t)-1)
783 ScreenCell *intcell = getcell(screen, pos.row, pos.col);
807 getcell(screen, pos.row, pos.col + 1)->chars[0] = (uint32_t)-1;
815 for(; pos.col < screen->cols; pos.col++) {
816 ScreenCell *cell = getcell(screen, pos.row, pos.col);
902 ScreenCell *target = getcell(screen, pos.row, pos.col);
904 int col;
915 for(col = pos.col - 1; col >= extent->start_col; col--)
916 if(attrs_differ(attrs, target, getcell(screen, pos.row, col)))
918 extent->start_col = col + 1;
920 for(col = pos.col + 1; col < extent->end_col; col++)
921 if(attrs_differ(attrs, target, getcell(screen, pos.row, col)))
923 extent->end_col = col - 1;