Lines Matching refs:tp
837 char *tp; in sync_cursor() local
873 tp = screenbegin; in sync_cursor()
875 if (tp == beg_cur) in sync_cursor()
877 tp = next_line(tp); in sync_cursor()
883 if (*tp == '\n') //vda || *tp == '\0') in sync_cursor()
885 co = next_column(*tp, co) - 1; in sync_cursor()
887 if (cmd_mode && tp == d - 1 && *d == '\t') { in sync_cursor()
891 } while (tp++ < d && ++co); in sync_cursor()
991 char *tp, *sp; // pointer into text[] and screen[] in refresh() local
1007 tp = screenbegin; // index into text[] of top line in refresh()
1014 out_buf = format_line(tp /*, li*/); in refresh()
1017 if (tp < end) { in refresh()
1018 char *t = memchr(tp, '\n', end - tp); in refresh()
1020 tp = t + 1; in refresh()