Lines Matching refs:count_lines
746 static int count_lines(char *start, char *stop) in count_lines() function
845 cnt = count_lines(beg_cur, screenbegin); in sync_cursor()
860 cnt = count_lines(end_scr, beg_cur); in sync_cursor()
1263 cur = count_lines(text, dot); in format_edit_status()
1269 tot = cur + count_lines(dot, end - 1) - 1; in format_edit_status()
2473 addr = count_lines(text, dot); // default to current line in get_one_address()
2488 addr = count_lines(text, end - 1); in get_one_address()
2506 addr = count_lines(text, q); in get_one_address()
2539 addr = count_lines(text, q); in get_one_address()
2591 *e = count_lines(text, end-1); in get_address()
2802 count_lines(text, end - 1), cnt in colon()
2859 li = count_lines(text, end - 1); in colon()
2941 e = count_lines(text, dot); in colon()
2983 li = count_lines(text, end - 1); in colon()
3105 num = count_lines(text, q); in colon()
3116 li = count_lines(q, q + size - 1); in colon()
3224 b = e = count_lines(text, q); // cur line number in colon()
3369 li = count_lines(q, q + l - 1); in colon()
3401 li = count_lines(q, r); in colon()
4100 cnt = count_lines(text, dot); // remember what line we are on
4103 i = count_lines(p, q); // # of lines we are shifting