Lines Matching refs:width
57 char width; member
1699 attr->width = cell->width; in cell2cellattr()
1832 int width; in update_snapshot() local
1837 for (pos.col = 0; pos.col < len; pos.col += width) in update_snapshot()
1841 width = 1; in update_snapshot()
1849 width = cell.width; in update_snapshot()
1852 if (width == 2) in update_snapshot()
3245 for (col = 0; col < len; col += cells[col].width) in handle_pushline()
3610 cell.width = mb_ptr2cells(mb); in term_line2screenline()
3625 if (cell.width == 2) in term_line2screenline()
4033 term->tl_default_color.width = 1; in init_default_colors()
4871 if (same_chars && cell.width == prev_cell.width && same_attr in f_term_dumpwrite()
4903 if (cell.width != prev_cell.width || !same_attr) in f_term_dumpwrite()
4905 if (cell.width == 2) in f_term_dumpwrite()
4937 if (cell.width == 2) in f_term_dumpwrite()
5077 cell.width = c == '+' ? 1 : 2; in read_dump_file()
5172 if (cell.width == 2) in read_dump_file()
5229 int width = MAX(text_width, curwin->w_width); in get_separator() local
5236 textline = alloc(width + (int)STRLEN(fname) + 1); in get_separator()
5241 if (fname_size < width - 8) in get_separator()
5244 width = MAX(text_width, fname_size + 8); in get_separator()
5246 else if (fname_size > width - 8) in get_separator()
5253 while (fname_size > width - 8) in get_separator()
5259 for (i = 0; i < (width - fname_size) / 2 - 1; ++i) in get_separator()
5266 for (i = 1; i < (width - fname_size) / 2; ++i) in get_separator()
5362 int width; in term_load_dump() local
5372 width = read_dump_file(fd1, &cursor_pos1); in term_load_dump()
5390 textline = get_separator(width, fname1); in term_load_dump()
5397 textline = get_separator(width, fname2); in term_load_dump()
5402 textline[width] = NUL; in term_load_dump()
5406 if (width2 > width) in term_load_dump()
5412 width = width2; in term_load_dump()
5413 textline[width] = NUL; in term_load_dump()
5422 for (i = 0; i < width; ++i) in term_load_dump()
5445 for (col = 0; col < width && *p1 != NUL && *p2 != NUL; ++col) in term_load_dump()
5468 if ((cellattr1 + col)->width in term_load_dump()
5469 != (cellattr2 + col)->width) in term_load_dump()
5486 while (col < width) in term_load_dump()
5514 for (i = 0; i < width; ++i) in term_load_dump()
5523 term->tl_cols = width; in term_load_dump()
6099 int width; in f_term_scrape() local
6116 width = cellattr->width; in f_term_scrape()
6138 width = cell.width; in f_term_scrape()
6159 dict_add_number(dcell, "width", width); in f_term_scrape()
6162 if (width == 2) in f_term_scrape()