Home
last modified time | relevance | path

Searched refs:max_off (Results 1 – 5 of 5) sorted by relevance

/vim-8.2.3635/src/proto/
H A Dmbyte.pro21 int latin_off2cells(unsigned off, unsigned max_off);
22 int dbcs_off2cells(unsigned off, unsigned max_off);
23 int utf_off2cells(unsigned off, unsigned max_off);
/vim-8.2.3635/src/
H A Dscreen.c756 unsigned max_off = LineOffset[row] + screen_Columns; in screen_line() local
760 prev_cells = (*mb_off2cells)(off, max_off); in screen_line()
1504 unsigned max_off; in screen_puts_len() local
1548 max_off = LineOffset[row] + screen_Columns; in screen_puts_len()
1666 && (*mb_off2cells)(off, max_off) == 1 in screen_puts_len()
1667 && (*mb_off2cells)(off + 1, max_off) > 1))) in screen_puts_len()
1675 && (*mb_off2cells)(off, max_off) == 1 in screen_puts_len()
1676 && (*mb_off2cells)(off + 1, max_off) > 1))) in screen_puts_len()
2265 int max_off; in screen_draw_rectangle() local
2276 max_off = off + screen_Columns; in screen_draw_rectangle()
[all …]
H A Dmove.c2261 int max_off; in cursor_correct() local
2278 max_off = curwin->w_height / 2; in cursor_correct()
2279 if (below_wanted > max_off) in cursor_correct()
2280 below_wanted = max_off; in cursor_correct()
2287 max_off = (curwin->w_height - 1) / 2; in cursor_correct()
2288 if (above_wanted > max_off) in cursor_correct()
2289 above_wanted = max_off; in cursor_correct()
H A Dmbyte.c1733 latin_off2cells(unsigned off UNUSED, unsigned max_off UNUSED) in latin_off2cells()
1739 dbcs_off2cells(unsigned off, unsigned max_off) in dbcs_off2cells() argument
1742 if (off >= max_off) in dbcs_off2cells()
1753 utf_off2cells(unsigned off, unsigned max_off) in utf_off2cells() argument
1755 return (off + 1 < max_off && ScreenLines[off + 1] == 0) ? 2 : 1; in utf_off2cells()
H A Dglobals.h1048 EXTERN int (*mb_off2cells)(unsigned off, unsigned max_off) INIT(= latin_off2cells);