Searched refs:boff (Results 1 – 4 of 4) sorted by relevance
1959 lineoff_T boff; in scroll_cursor_bot() local2033 boff.lnum = cln; in scroll_cursor_bot()2037 boff.fill = 0; in scroll_cursor_bot()2092 extra += boff.height; in scroll_cursor_bot()2104 && boff.fill == 0 in scroll_cursor_bot()2130 i += boff.height; in scroll_cursor_bot()2175 lineoff_T boff; in scroll_cursor_halfway() local2191 boff.fill = 0; in scroll_cursor_halfway()2202 botline_forw(&boff); in scroll_cursor_halfway()2203 used += boff.height; in scroll_cursor_halfway()[all …]
5918 long boff = cnt; in goto_byte() local5923 if (boff) in goto_byte()5924 --boff; in goto_byte()5925 lnum = ml_find_line_or_offset(curbuf, (linenr_T)0, &boff); in goto_byte()5935 curwin->w_cursor.col = (colnr_T)boff; in goto_byte()
2762 long boff = 0; in f_byte2line()2767 boff = tv_get_number(&argvars[0]) - 1; // boff gets -1 on type error in f_byte2line()2768 if (boff < 0) in f_byte2line()2772 (linenr_T)0, &boff); in f_byte2line()
29139 Solution: Free pointer when allocation fails. Change "boff" to "loff".